Hikvision Cameras Password in Configuration File (CVE-2017-7923)

critical Tenable OT Security Plugin ID 502309

Synopsis

The remote OT asset is affected by a vulnerability.

Description

While processing a specified request code, the user privilege-escalating vulnerability may occur for select Hikvision IP cameras with particular firmware version.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

The following text was originally created by the Cybersecurity and Infrastructure Security Agency (CISA). The original can be found at CISA.gov.

Hikvision has released updates to mitigate the improper authentication vulnerability in cameras sold through authorized distributers. Hikvision has not mitigated the password in configuration file vulnerability.

However, Hikvision is aware of so-called “grey market” cameras which are sold via unauthorized channels. These cameras often use unauthorized firmware created by sources outside of Hikvision. In the case of these “grey market” devices, updating the firmware may result in converting the camera’s interface back to its original state. Users of “grey market” cameras who cannot update due to this unauthorized firmware will still be susceptible to these vulnerabilities.

In the Hikvision Unauthorized Distributors Notice, Hikvision encourages users to use devices sold by authorized distributers rather than so-called “grey market” devices. Hikvision’s Unauthorized Distributors Notice can be found at the following location:

http://www.hikvision.com/us/about.aspx?stat=1&c_kind=293&c_kind2=10631

North American models of Hikvision cameras which can be fixed and their updated firmware versions are listed below:

- DS-2CD2xx2F-I Series
- V5.4.5 build 170123 and later
- DS-2CD2xx0F-I Series
- V5.4.5 Build 170123 and later
- DS-2CD2xx2FWD Series
- V5.4.5 Build 170124 and later
- DS- 2CD4x2xFWD Series
- V5.4.5 Build 170228 and later
- DS-2CD4xx5 Series
- V5.4.5 Build 170302 and later
- DS-2DFx Series
- V5.4.9 Build 170123 and later
- DS-2CD63xx Series
- V5.4.5 Build 170206 and later

These updates are available for download at the following location:

http://www.hikvision.com/us/about_10805.html

More information can be found by visiting Hikvision’s Vulnerability Notice:

http://www.hikvision.com/us/about_10807.html

For Chinese-language domestic cameras, Hikvision also provides on-site tours or remote support in addition to the updated firmware listed above.

Hikvision also states that device models and firmware upgrade procedures may differ between regions. These policies will be communicated to users through Hikvision.

See Also

http://www.nessus.org/u?afe30f8b

http://www.hikvision.com/us/about_10805.html

http://www.securityfocus.com/bid/98313

https://ghostbin.com/paste/q2vq2

https://ics-cert.us-cert.gov/advisories/ICSA-17-124-01

Plugin Details

Severity: Critical

ID: 502309

Version: 1.2

Type: remote

Family: Tenable.ot

Published: 7/22/2024

Updated: 7/22/2024

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2017-7923

CVSS v3

Risk Factor: Critical

Base Score: 10

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Vulnerability Information

CPE: cpe:/o:hikvision:ds-2dfx_series_firmware, cpe:/o:hikvision:ds-2cd2x0_series_firmware, cpe:/o:hikvision:ds-2cd4x5_series_firmware, cpe:/o:hikvision:ds-2cd2x2fwd_series_firmware, cpe:/o:hikvision:ds-2cd2x2f-i_series_firmware, cpe:/o:hikvision:ds-2dex_series_firmware, cpe:/o:hikvision:ds-2cd4x2xfwd_series_firmware

Required KB Items: Tenable.ot/Hikvision

Exploit Ease: No known exploits are available

Patch Publication Date: 5/6/2017

Vulnerability Publication Date: 5/6/2017

Reference Information

CVE: CVE-2017-7923

CWE: 287