CVE-2012-10021

CRITICAL

D-Link DIR-605L Wireless N300 Cloud Router <1.13 - Buffer Overflow

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2012-10021. PoCs published by Metasploit, Craig Heffner, juan vazquez, including Metasploit module exploits/linux/http/dlink_dir605l_captcha_bof.

AI-analyzed exploit summary This Metasploit module exploits a buffer overflow in D-Link DIR-605L routers via insecure handling of captcha data, achieving remote code execution through a ROP chain. It targets MIPS-based firmware and has been tested in a QEMU environment.

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.

Exploits (2)

exploitdb WORKING POC
by Metasploit · rubyremotehardware
https://www.exploit-db.com/exploits/29127

This Metasploit module exploits a buffer overflow in D-Link DIR-605L routers via insecure handling of captcha data, achieving remote code execution through a ROP chain. It targets MIPS-based firmware and has been tested in a QEMU environment.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: D-Link DIR-605L Firmware 1.13
No auth needed
Prerequisites: Network access to the vulnerable router · Boa/0.94.14rc21 web server running on the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC MANUAL
by Craig Heffner, juan vazquez · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/dlink_dir605l_captcha_bof.rb

This Metasploit module exploits a buffer overflow vulnerability in D-Link DIR-605L routers via insecure handling of captcha information, leading to remote code execution. It uses ROP techniques to bypass DEP and execute shellcode on MIPS-based systems.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: D-Link DIR-605L firmware 1.12 and 1.13
No auth needed
Prerequisites: Network access to the vulnerable router · Boa web server running on the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 9.8
EPSS 0.7125
EPSS Percentile 98.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-121
Status published
Products (2)
D-Link/DIR-605L 1.12 - 1.13
dlink/dir-605l_firmware 1.12 - 1.13
Published Jul 31, 2025
Tracked Since Feb 18, 2026