Skip to content

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

CriticalCVSS 9.8 EPSS 5.2%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
dahuasecurity ip camera firmware < dh_ipc-ack-themis_eng_p_v2.400.0000.14.r.20170713.bin dh_ipc-ack-themis_eng_p_v2.400.0000.14.r.20170713.bin
dahuasecurity ip camera firmware < 2.400.0000.14.r.20170713 2.400.0000.14.r.20170713
Dahua IP Camera >= DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621, < DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621 DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621

References

  • 99620 third-party-advisory vdb-entry
  • VU#547255 third-party-advisory us-government-resource