CVE-2012-10021

D-Link DIR-605L Captcha Handling Buffer Overflow

9.3 critical EPSS 19.6%

Published 31 Jul 2025 Updated 14 May 2026 CNA: VulnCheck

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.

Severity (CVSS)

9.3 critical CVSS 4.0 from VulnCheck (CNA)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Attack requirements
none: an attack works without special conditions on the target
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Impact on the vulnerable system
confidentiality high, integrity high, availability high: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it

Exploitation

EPSS 19.6%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.9% of all scored CVEs. Scores of 27 Nov 2026.

The assessment of CISA (SSVC, 31 Jul 2025):

Exploitation
poc: a proof of concept is public
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-121 Stack-based Buffer Overflow

Affected products

As the CNA lists them.

ProductVersions
DIR-605L
affected from 1.12 up to and including 1.13
Other versions: unknown

Is my server affected?

This CVE is in DIR-605L of D-Link, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Exploits and proof of concept

Other references

Source: the record CVE-2012-10021 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.