Dahua Security Cameras Buffer Copy without Checking Size of Input (CVE-2019-9677)

critical Tenable OT Security Plugin ID 502346

Synopsis

The remote OT asset is affected by a vulnerability.

Description

The specific fields of CGI interface of some Dahua products are not strictly verified, an attacker can cause a buffer overflow by constructing malicious packets. Affected products include: IPC- HDW1X2X,IPC-HFW1X2X,IPC-HDW2X2X,IPC-HFW2X2X,IPC-HDW4X2X,IPC- HFW4X2X,IPC-HDBW4X2X,IPC-HDW5X2X,IPC-HFW5X2X for versions which Build time is before August 18, 2019.

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

Solution

Refer to the vendor advisory.

See Also

https://www.dahuasecurity.com/aboutUs/trustedCenter/details/532

Plugin Details

Severity: Critical

ID: 502346

Version: 1.2

Type: remote

Family: Tenable.ot

Published: 7/29/2024

Updated: 7/30/2024

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2019-9677

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:dahuasecurity:ipc-hdw2x2x_firmware, cpe:/o:dahuasecurity:ipc-hdbw4x2x_firmware, cpe:/o:dahuasecurity:ipc-hfw2x2x_firmware, cpe:/o:dahuasecurity:ipc-hfw5x2x_firmware, cpe:/o:dahuasecurity:ipc-hdw1x2x_firmware, cpe:/o:dahuasecurity:ipc-hfw1x2x_firmware, cpe:/o:dahuasecurity:ipc-hfw4x2x_firmware, cpe:/o:dahuasecurity:ipc-hdw4x2x_firmware, cpe:/o:dahuasecurity:ipc-hdw5x2x_firmware

Required KB Items: Tenable.ot/DahuaSecurity

Exploit Ease: No known exploits are available

Patch Publication Date: 9/18/2019

Vulnerability Publication Date: 9/18/2019

Reference Information

CVE: CVE-2019-9677

CWE: 120