CVE-2012-10021
criticalpriority · attend · 51EPSS 0.048 · 92 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
affected products (3)
Products and version ranges known to be affected.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- http://www.devttys0.com/2012/10/exploiting-a-mips-stack-overflow/cnnvd
- https://forums.dlink.com/index.php?topic=51923.0cnnvd
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/cnnvd
- https://web.archive.org/web/20121012062554/cnnvd
- https://www.exploit-db.com/exploits/29127cnnvd
- https://www.vulncheck.com/advisories/dlink-dir605l-captcha-handling-stack-based-buffer-overflowcnnvd
- https://forums.dlink.com/index.php?topic=51923.0enisa_euvd
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_dir605l_captcha_bof.rbenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan