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.
Security readout for executives and security teams
Plain-English summary
This flaw can let an unauthenticated attacker take over a vulnerable D-Link DIR-605L router by abusing CAPTCHA handling on the login form. Successful exploitation could run code as root on the device. The source bundle names public exploit references, but does not show KEV listing or confirmed active exploitation.
Executive priority
Treat as urgent for any reachable DIR-605L device. Public exploit references and root-level impact make exposed devices high business risk, even without confirmed active exploitation.
Technical view
CVE-2012-10021 is a stack-based buffer overflow in getAuthCode() caused by unsafe sprintf() handling of user-supplied FILECODE data in /goform/formLogin. The CVSS 4.0 score is 9.3. The description names firmware 1.12 and 1.13, while the structured affected entry lists 1.12 only.
Likely exposure
Exposure is most likely on D-Link DIR-605L Wireless N300 Cloud Routers running the affected firmware, especially where the web login interface is reachable from untrusted networks. Validate firmware locally because the bundle has inconsistent version detail.
Exploitation context
The bundle includes Metasploit, Exploit-DB, and a technical write-up references, indicating public exploit knowledge. KEV is false in the provided data, so active exploitation is not established from these sources.
Researcher notes
Avoid assuming only one firmware is affected: the narrative says 1.12 and 1.13, but the structured affected list names 1.12. The source bundle does not provide a named patch, fixed version, or vendor remediation statement.
Mitigation direction
Identify DIR-605L devices and confirm firmware versions.
Check D-Link guidance for fixed or replacement firmware.
Remove web administration access from untrusted networks.
Restrict router management to trusted internal hosts only.
Replace devices if no supported vendor fix is available.
Validation and detection
Inventory network edge devices for D-Link DIR-605L models.
Record firmware versions and compare against cited affected versions.
Verify management interfaces are not internet-exposed.
Review logs for unusual unauthenticated login-form activity.
Track vendor and CVE updates for corrected affected-version data.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-121: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-121 · source CWE mapping
Stack-based Buffer Overflow
Stack-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.