CVE-2012-10021

Severity CVSS v4.0:
CRITICAL
Type:
CWE-121 Stack-based Buffer Overflow
Publication date:
31/07/2025
Last modified:
23/09/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:dlink:dir-605l_firmware:*:*:*:*:*:*:*:* 1.12 (including) 1.13 (including)
cpe:2.3:h:dlink:dir-605l:-:*:*:*:*:*:*:*