CVE-2021-33045: Loopback Authentication Bypass in Dahua Devices
- Vendor
- Dahua Security
CVE-2021-33045 is a remote authentication-bypass vulnerability affecting certain Dahua cameras, video recorders, and intercom devices. During the DHIP global.login sequence, vulnerable firmware trusts client-supplied source-address and login-type parameters rather than establishing the request's origin from the underlying network connection. A specially crafted request impersonating a local loopback login bypasses normal authentication and returns a valid administrative session without a valid password. Tested affected device categories include IPC, VTH, VTO, NVR, and DVR products; the original research identified vulnerable firmware predating early or mid-2020.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unauthenticated attacker can obtain administrative access to an affected device, compromising surveillance confidentiality and device configuration integrity. Administrative access can enable viewing video streams, capturing images, changing settings, and creating unauthorized accounts through management interfaces. Subsequent account creation can provide persistent access independent of the original administrator password. Persistence across factory resets and recovery-code abuse involve additional device behaviors and are not intrinsic consequences of this authentication bypass.
Mitigation
If you can’t patch tonight, do this now.
Restrict device management access to trusted networks and authorized administrators, using a VPN and firewall allowlists. Block unnecessary external access to the Dahua management service, commonly exposed on TCP port 37777. Disable unnecessary Easy4IP/P2P cloud access and restrict its outbound connectivity, because cloud relays can provide access even without inbound port forwarding. Segment surveillance devices from sensitive systems. Monitor for unexpected loopback-style login requests, unauthorized accounts, and configuration changes. Strong passwords alone do not prevent this bypass.
Remediation
Patch, then assume compromise.
Install the model-specific firmware identified in Dahua advisory SA-2021-0130, or a newer supported release that includes the fix. Use corresponding manufacturer firmware for affected OEM-rebranded products, and manually verify available releases rather than relying solely on automatic-update status. If compromise is suspected, review and remove unauthorized device and linked cloud accounts and rotate affected camera and recorder credentials after patching. Password changes or factory resets alone do not correct the authentication-bypass vulnerability. Discontinue use of affected devices if no vendor remediation is available.
Exploits
6 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-33045 exploited in the wild?
- Yes. As of Oct 27, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Aug 21, 2024.
- Is there a public exploit for CVE-2021-33045?
- Yes. Mallory tracks 6 public exploits or proofs of concept for CVE-2021-33045, the earliest disclosed Oct 11, 2021.
- Is there a patch for CVE-2021-33045?
- Install the model-specific firmware identified in Dahua advisory SA-2021-0130, or a newer supported release that includes the fix. Use corresponding manufacturer firmware for affected OEM-rebranded products, and manually verify available releases rather than relying solely on automatic-update status.
- What products are affected by CVE-2021-33045?
- Dahua Security Ipc-Hum7xxx Firmware, Dahua Security Ipc-Hx3xxx Firmware, Dahua Security Ipc-Hx5xxx Firmware, Dahua Security Nvr-1xxx Firmware, Dahua Security Nvr-2xxx Firmware, and 13 more.
- How severe is CVE-2021-33045?
- CVE-2021-33045 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.6% (100th percentile) as of Oct 27, 2026.
Recent activity
36 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.