CVE-2017-3223 Memory corruption in IP Camera
Remote unauthenticated attackers can trigger a stack buffer overflow in the Sonia web interface via a crafted POST request, leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-3223?
CVE-2017-3223 is a critical memory corruption vulnerability in Dahua IP Camera, published on 24 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2017-3223?
It affects 1 product.
Products include Dahuasecurity Ip Camera Firmware.
How do I fix CVE-2017-3223?
No fix has been published for CVE-2017-3223 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2017-3223 being exploited?
There is no known exploitation of CVE-2017-3223 in the wild and no public exploit code.
Other vulnerabilities in Dahua IP Camera
Sources
Also known as GHSA-4vg2-f4g9-pc4r.