CVE-2025-31702
Public exploit available. Not confirmed exploited in the wild yet. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
Steps
Written by AI from the record- Check whether you use any of these Dahua IP camera models: dh-ipc-hfw1230s1-a-s5, dh-ipc-hdw1230t1-a-s5, dh-ipc-hfw1239s1-a-led-s5, dh-ipc-hdw1239t1-a-led-s5, dh-ipc-hfw1230s-a-s5, dh-ipc-hfw1239s1-led-s5, dh-ipc-hdw1230t-a-s5, dh-ipc-hfw1230tl2-s5, dh-ipc-hdw1230t2-s5, dh-ipc-hfw1439tl1-pv.
- Verify the camera’s current firmware/software version from the device admin UI and compare it to the vendor’s Trusted Center guidance for CVE-2025-31702.
- Upgrade the device firmware to the version(s) specified in Dahua’s Trusted Center advisory (see the vendor remediation link in the advisory).
- If you cannot update immediately, restrict network access so these cameras are not reachable from the public internet (use firewall rules/VPN-only access) and reduce exposure of the affected service ports.
- Review authentication and admin-password change activity around the time of any suspicious login attempts, and rotate admin passwords after patching.
What it is
From the CVE record
A vulnerability exists in certain Dahua embedded products. Third-party malicious attacker with obtained normal user credentials could exploit the vulnerability to access certain data which are restricted to admin privileges, such as system-sensitive files through specific HTTP request. This may cause tampering with admin password, leading to privilege escalation. Systems with only admin account are not affected.
In plain language
Written by AI from the recordSome Dahua IP cameras can be tricked over the network by an attacker who already has a normal (non-admin) login to grab admin-only data and change the admin password—this is an active, real-world risk for exposed devices.
CVE-2025-31702 is an authorization bypass (CWE-732) in certain Dahua embedded products that allows an attacker with valid normal user credentials to send specific HTTP requests to read admin-restricted data and modify the admin password, leading to full device control; network access is involved and default reachability is reported as possible.
If you're affected
- Full camera/device takeover
- Admin password compromise
- Unauthorized access to footage
- Ongoing remote control risk
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
0.5% chance of exploitation activity in the next 30 days, which ranks it in the 37th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 141 days before any public exploit.
- Public exploit / PoCsource: github-poc
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 164 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Scored 6.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Privilege EscalationT1068Exploitation for Privilege Escalationmedium confidence
Sources
References in the record
- dahuasecurity.com/aboutUs/trustedCenter/details/777
- dahuasecurity.com/aboutUs/trustedCenter/details/777&
- github.com/purpleghosts/CVE-2025-31702&
And 1 more reference. See all after sign-in
In the news
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for DH-IPC-HFW1230S1-A-S5, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI