# 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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.0, NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 5.22% (percentile 93, 2026-11-26)
- **CWE:** CWE-121
- **Published:** 2018-07-24T15:00:00.000Z
- **Modified:** 2026-06-17T01:17:45.953Z

## Who should check

- Anyone running 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

## 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 and fixed versions

- 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 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2017-3223. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2017-3223.md
Affected: 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
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Dahua IP Camera: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2017-3223 being exploited?

There is no confirmed exploitation: CVE-2017-3223 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 5.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2017-3223?

Critical: CVSS 9.8 (v3.0, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2017-3223?

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.

### Is there a fix for CVE-2017-3223?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2017-3223?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2017-3223>

HTML: <https://flawdb.com/CVE-2017-3223> · JSON: <https://flawdb.com/api/v1/entries/CVE-2017-3223>
