CVE-2012-10021: D-Link DIR-605L Captcha Handling Buffer Overflow
Vulnerability summary
CVE-2012-10021 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in d-link dir-605l_firmware. EPSS estimates a 19.62% chance of exploitation in the next 30 days, higher than 97.4% of scored vulnerabilities. 4 public exploits are recorded.
Weaponized exploit (Metasploit, 08-10-2012)
Source freshness unavailable
How is this decided?Timeline
- 31-07-2025PublishedVulnerability first disclosed.
- 14-05-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 2 sources · 2 versions- NVDNIST9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
19.62%
Chance of exploitation in the next 30 days
Percentile
97%
Versus all other CVEs
30-day change
Increase +14.48 pp
From 5.14% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
4 foundExploit Reference (raw.githubusercontent.com)
Maturity: unknown
Exploit Reference (web.archive.org)
Maturity: unknown
D-Link DIR-605L - 'getAuthCode()' Unauthenticated Captcha Handling Buffer Overflow (Metasploit)
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
D-link1 product
- dir-605l_firmware≥ 1.12, ≤ 1.13
Dlink1 product
- dir-605l_firmware≥ 1.12, ≤ 1.13
2 vendors · 2 products
References
5 links- web.archive.org/web/20121012062554/http://www.devttys0.com/2012/10/exploiting-a-mips-stack-overflow/Technical DescriptionExploitThird Party Advisory
- forums.dlink.com/index.php?topic=51923.0Issue Tracking