Critical severity · published Jul 31, 2025
CVE-2012-10021
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
9.8
CVSS
4.8%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)4.8% · higher than 92% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DF
Dir-605l Firmware · Dlink
1.12 through 1.13 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-10021
CVE.org
https://www.cve.org/CVERecord?id=CVE-2012-10021
Issue Tracking
https://forums.dlink.com/index.php?topic=51923.0
Exploit
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_dir605l_captcha_bof.rb
Exploit
https://web.archive.org/web/20121012062554/http://www.devttys0.com/2012/10/exploiting-a-mips-stack-overflow/
Exploit
https://www.exploit-db.com/exploits/29127
Third Party Advisory
https://www.vulncheck.com/advisories/dlink-dir605l-captcha-handling-stack-based-buffer-overflow
More from Dir-605l Firmware
9.8
CVE-2014-8361
Realtek SDK Improper Input Validation Vulnerability
7.5
CVE-2021-40655
D-Link DIR-605 Router Information Disclosure Vulnerability
9.8
CVE-2025-4445
A vulnerability classified as critical has been found in D-Link DIR-605L 2.13B01
9.8
CVE-2025-4443
A vulnerability was found in D-Link DIR-605L 2.13B01
9.8
CVE-2025-4442
A vulnerability was found in D-Link DIR-605L 2.13B01
