{"id":"CVE-2012-10021","aliases":["EUVD-2012-6567","GHSA-g2h4-mw8p-v523"],"status":"published","title":"D-Link DIR-605L Captcha Handling Buffer Overflow","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":{"version":"4.0","score":9.3,"vector":"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","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-07","score":0.05138,"percentile":0.92454,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-121"],"published":"2025-07-31T14:54:19Z","modified":"2026-06-16T23:38:41Z","exploits":[{"source":"metasploit","id":"exploit/linux/http/dlink_dir605l_captcha_bof","title":"D-Link DIR-605L Captcha Handling Buffer Overflow","type":"exploit","platform":"Linux","date":"2012-10-08","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/http/dlink_dir605l_captcha_bof"}],"products":[{"vendor":"d-link","product":"dir-605l"},{"vendor":"dlink","product":"dir-605l_firmware"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_dir605l_captcha_bof.rb","tags":["exploit","Exploit"]},{"url":"https://web.archive.org/web/20121012062554/http://www.devttys0.com/2012/10/exploiting-a-mips-stack-overflow/","tags":["technical-description","exploit","Exploit","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/29127","tags":["exploit","Exploit"]},{"url":"https://forums.dlink.com/index.php?topic=51923.0","tags":["Issue Tracking"]},{"url":"https://www.vulncheck.com/advisories/dlink-dir605l-captcha-handling-stack-based-buffer-overflow","tags":["third-party-advisory","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-10021"},{"url":"https://web.archive.org/web/20121012062554/http://www.devttys0.com/2012/10/exploiting-a-mips-stack-overflow"},{"url":"https://github.com/advisories/GHSA-g2h4-mw8p-v523"}],"sources":{"cve":[{"id":"CVE-2012-10021","title":"D-Link DIR-605L Captcha Handling Buffer Overflow","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.","status":"published","published":"2025-07-31T14:54:19.755Z","modified":"2026-05-14T02:06:05.524Z","cvss":[{"version":"4.0","score":9.3,"vector":"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","level":"critical","assessor":"cna"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T14:34:49.937255Z"}],"euvd":[{"id":"EUVD-2012-6567","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.","status":"published","published":"2025-07-31T14:54:19Z","modified":"2026-05-14T02:06:05Z","cvss":[{"version":"4.0","score":9.3,"vector":"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","level":"critical"}],"updated_at":"2026-11-02T19:04:32.516693Z"}],"ghsa":[{"id":"GHSA-g2h4-mw8p-v523","title":"A stack-based buffer overflow vulnerability exists in D-Link DIR-605L Wireless N300 Cloud Router...","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.","status":"published","published":"2025-07-31T15:35:49Z","modified":"2025-09-23T18:31:24Z","cvss":[{"version":"4.0","score":9.3,"vector":"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/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","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T15:03:44.216026Z"}],"nvd":[{"id":"CVE-2012-10021","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.","status":"published","published":"2025-07-31T15:15:32.597Z","modified":"2026-06-16T23:38:41.203Z","cvss":[{"version":"4.0","score":9.3,"vector":"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/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","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T14:02:18.043773Z"}]}}
