Description
Stack-based buffer overflow in doexec.c in Netcat for Windows 1.1, when running with the -e option, allows remote attackers to execute arbitrary code via a long DNS command.
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.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Metasploit 1 module
-
Netcat v1.10 NT Stack Buffer Overflow
exploit/windows/misc/netcat110_nt
Exploit-DB 2
- Netcat 1.10 - NT Stack Buffer Overflow (Metasploit) EDB-16436 · remote · Jun 22, 2010 · verified
- Netcat 1.1 - '-e' Switch Remote Buffer Overflow EDB-726 · remote · Dec 26, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20041228 Re: [HAT-SQUAD] NetCat Remote Critical Vulnerability, Poc included mailing-list
- netcat-doexec-bo(18681) vdb-entry
- 20041228 Netcat v1.11 For Windows , New fixed version mailing-list
- 20041227 [HAT-SQUAD] NetCat Remote Critical Vulnerability, Poc included mailing-list
- http://www.hat-squad.com/en/000142.html