Vulnerabilities · 2012 · Dlink
CVE-2012-10021
Dlink Dir-605l Firmware vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Dir-605l Firmware. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Dlink Dir-605l Firmware runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- web.archive.org/web/20121012062554/http://www.devttys0.com/2012/10/exploiting-a-mips-stack · Exploit
- www.vulncheck.com/advisories/dlink-dir605l-captcha-handling-stack-based-buffer-overflow · Third Party Advisory
- raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/d · Exploit
- www.exploit-db.com/exploits/29127 · Exploit
- forums.dlink.com/index.php?topic=51923.0
- nvd.nist.gov/vuln/detail/CVE-2012-10021
- cve.org/CVERecord?id=CVE-2012-10021
More vulnerabilities in Dlink products
CVE-2026-23755CVE-2026-23754CVE-2026-2227CVE-2026-2143CVE-2026-2142CVE-2026-2084CVE-2026-2082CVE-2026-2081All 1,512
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.