Dahua IP Camera Authentication Bypass
CVE-2021-33045 is a critical-severity improper authentication vulnerability in Some Dahua IP Camera, Video Intercom, NVR, XVR devices, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. CISA added it to the Known Exploited Vulnerabilities catalogue on August 21, 2024, which means attacks have been observed in the wild.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Update Ipc-hum7xxx Firmware to 2.820.0000000.5.r.210705 or a later version.
- Update Ipc-hx3xxx Firmware to 2.800.0000000.29.r.210630 or a later version.
- Update Ipc-hx5xxx Firmware to 2.820.0000000.5.r.210705 or a later version.
- CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Read the advisory on dahuasecurity.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Some Dahua IP Camera, Video Intercom, NVR, XVR devices | Some Dahua IP Camera, Video Intercom, NVR, XVR devices | Not specified in the record | Not stated |
| Dahuasecurity | Ipc-hum7xxx Firmware | before 2.820.0000000.5.r.210705 | 2.820.0000000.5.r.210705 |
| Dahuasecurity | Ipc-hx3xxx Firmware | before 2.800.0000000.29.r.210630 | 2.800.0000000.29.r.210630 |
| Dahuasecurity | Ipc-hx5xxx Firmware | before 2.820.0000000.5.r.210705 | 2.820.0000000.5.r.210705 |
| Dahuasecurity | Nvr-1xxx Firmware | before 4.001.0000005.1.r.210709 | 4.001.0000005.1.r.210709 |
| Dahuasecurity | Nvr-2xxx Firmware | before 4.001.0000000.1.r.210710 | 4.001.0000000.1.r.210710 |
| Dahuasecurity | Nvr-4xxx Firmware | before 4.001.0000005.1.r.210713 | 4.001.0000005.1.r.210713 |
| Dahuasecurity | Nvr-5xxx Firmware | before 4.001.0000000.0.r.210710 | 4.001.0000000.0.r.210710 |
| Dahuasecurity | Nvr-6xx Firmware | before 4.001.0000001.1.r.210716 | 4.001.0000001.1.r.210716 |
| Dahuasecurity | Vth-542xh Firmware | before 4.500.0000002.0.r.210715 | 4.500.0000002.0.r.210715 |
| Dahuasecurity | Vto-65xxx Firmware | before 4.300.0000004.0.r.210715 | 4.300.0000004.0.r.210715 |
| Dahuasecurity | Vto-75x95x Firmware | before 4.300.0000003.0.r.210714 | 4.300.0000003.0.r.210714 |
| Dahuasecurity | Xvr-4x04 Firmware | before 4.001.0000001.1.r.210709 | 4.001.0000001.1.r.210709 |
| Dahuasecurity | Xvr-4x08 Firmware | before 4.001.0000001.1.r.210709 | 4.001.0000001.1.r.210709 |
| Dahuasecurity | Xvr-5x04 Firmware | before 4.001.0000003.1.r.210710 | 4.001.0000003.1.r.210710 |
| Dahuasecurity | Xvr-5x08 Firmware | before 4.001.0000003.1.r.210710 | 4.001.0000003.1.r.210710 |
| Dahuasecurity | Xvr-5x16 Firmware | before 4.001.0000003.1.r.210710 | 4.001.0000003.1.r.210710 |
| Dahuasecurity | Xvr-7x16 Firmware | before 4.001.0000003.1.r.210710 | 4.001.0000003.1.r.210710 |
| Dahuasecurity | Xvr-7x32 Firmware | before 4.001.0000003.1.r.210710 | 4.001.0000003.1.r.210710 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 9.8 | Critical | NVD |
| CVSS 3.1 | 9.8 | Critical | CISA (ADP) |
| CVSS 2.0 | 10.0 | High | NVD |
Official description
The identity authentication bypass vulnerability found in some Dahua products during the login process. Attackers can bypass device identity authentication by constructing malicious data packets.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
How developers prevent this class of flaw
- Use an authentication framework or library such as the OWASP ESAPI Authentication feature.
Timeline
- CVE record published.
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- CISA published its SSVC assessment (exploitation: active, automatable: yes, technical impact: total).
- Deadline for US federal agencies to remediate, set by CISA.
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-33045US Government Resource
Technical write-ups (may include proof of concept)
- packetstormsecurity.com/files/164423/Dahua-Authentication-Bypass.htmlExploit, Third Party Advisory, VDB Entry
- seclists.org/fulldisclosure/2021/Oct/13Exploit, Mailing List, Third Party Advisory
Recent Improper Authentication vulnerabilities
- 9.8 Critical severity
Dahua IP Camera Authentication Bypass Exploited
- 9.1 Critical severity
October CMS Improper Authentication Exploited
- 9.8 Critical severity
ASUS Routers Improper Authentication Exploited
- 4.3 Medium severity
- 6.5 Medium severity
- 9.8 Critical severity
IBM Data Risk Manager Security Bypass Exploited
Spotted an error? Tell us.