Vulnerability Description
A stack-based buffer overflow vulnerability exists in D-Link DIR-605L Wireless N300 Cloud Router firmware versions 1.12 and 1.13 via the getAuthCode() function. The flaw arises from unsafe usage of sprintf() when processing user-supplied CAPTCHA data via the FILECODE parameter in /goform/formLogin. A remote unauthenticated attacker can exploit this to execute arbitrary code with root privileges on the device.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Dlink | Dir-605L Firmware | >= 1.12, <= 1.13 |
| Dlink | Dir-605L | - |
Related Weaknesses (CWE)
References
- https://forums.dlink.com/index.php?topic=51923.0Issue Tracking
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/expExploit
- https://web.archive.org/web/20121012062554/http://www.devttys0.com/2012/10/exploExploitThird Party Advisory
- https://www.exploit-db.com/exploits/29127Exploit
- https://www.vulncheck.com/advisories/dlink-dir605l-captcha-handling-stack-based-Third Party Advisory
FAQ
What is CVE-2012-10021?
CVE-2012-10021 is a vulnerability with a CVSS score of 9.8 (CRITICAL). A stack-based buffer overflow vulnerability exists in D-Link DIR-605L Wireless N300 Cloud Router firmware versions 1.12 and 1.13 via the getAuthCode() function. The flaw arises from unsafe usage of sp...
How severe is CVE-2012-10021?
CVE-2012-10021 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2012-10021?
Check the references section above for vendor advisories and patch information. Affected products include: Dlink Dir-605L Firmware, Dlink Dir-605L.