.. / CVE-2021-23241

Exploit for MERCUSYS Mercury X18G 1.0.5 Router - Local File Inclusion (CVE-2021-23241)

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.

Nuclei Template

View the template here CVE-2021-23241.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2021/CVE-2021-23241.yaml
Copy

References:

https://www.mercurycom.com.cn/product-521-1.html
https://github.com/BATTZION/MY_REQUEST/blob/master/Mercury%20Router%20Web%20Server%20Directory%20Traversal.md
https://nvd.nist.gov/vuln/detail/CVE-2021-23241
https://github.com/ARPSyndicate/kenzer-templates
https://www.mercusys.com/en/