cbcvebase.
CVE-2012-10021
published 2025-07-31

CVE-2012-10021: 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()…

PriorityP178critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
3.09%
86.2th percentile
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.

Affected

2 ranges
VendorProductVersion rangeFixed in
d-linkdir-605l1.12 – 1.13
dlinkdir-605l_firmware1.12 – 1.13

Detection & IOCsextracted from sources · hover to see the quote

path/goform/formLogin
otherFILECODE
versionD-Link DIR-605L firmware 1.12
versionD-Link DIR-605L firmware 1.13
  • Monitor HTTP POST requests to /goform/formLogin containing an oversized or anomalous FILECODE parameter, which is the attack vector for the stack-based buffer overflow via getAuthCode().
  • Flag unauthenticated remote requests targeting /goform/formLogin on D-Link DIR-605L devices running firmware 1.12 or 1.13, as exploitation requires no credentials.
  • A public Metasploit module exists for this vulnerability (exploits/linux/http/dlink_dir605l_captcha_bof), meaning exploitation attempts may carry Metasploit-characteristic payloads or staging patterns.
  • ·Exploitation has only been confirmed on firmware versions 1.12 and 1.13; applicability to other firmware versions is unverified.
  • ·The Metasploit module was validated against an emulated environment for firmware 1.13; real-hardware behavior may differ slightly from emulation.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv4.09.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
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.