Buffer overflow in Dahua Ip Camera

CVE-2017-3223

Dahua IP camera products using firmware versions prior to V2.400.0000.14.R.20170713 include a version of the Sonia web interface that may be vulnerable to a stack buffer overflow. Dahua IP camera products include an application known as Sonia (/usr/bin/sonia) that provides the web interface and other services for controlling the IP camera remotely. Versions of Sonia included in firmware versions prior to DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621 do not validate input data length for the 'password' field of the web interface. A remote, unauthenticated attacker may submit a crafted POST request to the IP camera's Sonia web interface that may lead to out-of-bounds memory operations and loss of availability or remote code execution. The issue was originally identified by the researcher in firmware version DH_IPC-HX1X2X-Themis_EngSpnFrn_N_V2.400.0000.30.R.20160803.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.052 (92.2th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 92.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2017-3223: held from 0.053 to 0.052.

EPSS over last 30 days · oldest: 0.053 · newest: 0.052 · change: -0.001

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2017-3223?
CVE-2017-3223 is a critical-severity vulnerability in Dahua Ip Camera, classified under Stack-based Buffer Overflow. CVSS score: 9.8/10. Published 2018-07-24.
How severe is CVE-2017-3223?
Critical severity. CVSS v3 base score is 9.8 out of 10.