Description
A stack-based buffer overflow vulnerability in the my_cgi.cgi component of certain D-Link devices, including the DSP-W215 version 1.02, can be exploited via a specially crafted HTTP POST request to the /common/info.cgi endpoint. This flaw enables an unauthenticated attacker to achieve remote code execution with system-level privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| D-Link | DSP-W215 | 1.02 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
D-Link info.cgi POST Request Buffer Overflow
exploit/linux/http/dlink_dspw215_info_cgi_bof
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_dspw215_info_cgi_bof.rb exploit
- https://www.exploit-db.com/exploits/34063 exploit
- https://web.archive.org/web/20140525215526/http://www.devttys0.com/2014/05/hacking-the-dspw215-again/ technical-description exploit
- https://www.fortiguard.com/encyclopedia/ips/38932/d-link-info-cgi-post-request-buffer-overflow third-party-advisory
- https://www.vulncheck.com/advisories/dlink-stack-based-buffer-overflow-rce third-party-advisory