CVE-2012-10021: d-link dir-605l_firmware Stack-based 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 4.44% chance of exploitation in the next 30 days, higher than 91.3% of scored vulnerabilities. 4 public exploits are recorded.
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
4.44%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
+1.36 pp
From 3.09% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
4 foundD-Link DIR-605L - Captcha Handling Buffer Overflow (Metasploit)
Maturity: poc
Exploit Reference (raw.githubusercontent.com)
Maturity: unknown
Exploit Reference (web.archive.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
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