.. / CVE-2023-43261

Exploit for Milesight Routers - Information Disclosure (CVE-2023-43261)

Description:

A critical security vulnerability has been identified in Milesight Industrial Cellular Routers, compromising the security of sensitive credentials and permitting unauthorized access. This vulnerability stems from a misconfiguration that results in directory listing being enabled on the router systems, rendering log files publicly accessible. These log files, while containing sensitive information such as admin and other user passwords (encrypted as a security measure), can be exploited by attackers via the router’s web interface. The presence of a hardcoded AES secret key and initialization vector (IV) in the JavaScript code further exacerbates the situation, facilitating the decryption of these passwords. This chain of vulnerabilities allows malicious actors to gain unauthorized access to the router.

Nuclei Template

View the template here CVE-2023-43261.yaml

Validate with Nuclei

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

References:

https://nvd.nist.gov/vuln/detail/CVE-2023-43261
https://github.com/win3zz/CVE-2023-43261
https://medium.com/@win3zz/inside-the-router-how-i-accessed-industrial-routers-and-reported-the-flaws-29c34213dfdf
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-43261
http://milesight.com
http://ur5x.com