Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [VulnWatch] Re: [HAT-SQUAD] NetCat Remote Critical Vulnerability, Poc inside. |
|---|---|
| Date: | Mon, 27 Dec 2004 20:36:22 -0500 (EST) |
Application: Netcat for Windows 1.1
Platform: Windows NT/2000/XP/2003
Severity: Remote code execution
Status: Fixed, new version available
Date: 12/27/2004
Summary
Netcat for Windows 1.1 has a buffer overflow vulnerability that allows
remote execution of code. It is exposed when netcat is run using the -e
option which execs a process and pipes the listening socket io to the
stdio of the exec'd process.
Note that this issue does not exist in netcat for the unix platform.
Details
doexec.c (line 445) was missing a check to see if BufferCnt had
incremented past the end of the recieve buffer. With the check in place
the buffer is flushed before it overwrites the end. The following new
line adds the check.
if (RecvBuffer[0] == '\n' || RecvBuffer[0] == '\r' ||
BufferCnt > BUFFER_SIZE-1) {
Update
A fixed version, Netcat for Windows 1.11, is available at:
http://www.vulnwatch.org/netcat/
Credit
Hat Squad discovered this vulnerabiltiy. Hat Squad's advisory is
available at http://www.hat-squad.com/en/000142.html
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [VulnWatch] Re: YET AGAIN Automatic remote compromise of Internet Explorer Service Pack 2 XP SP2, Michael Evanchik |
|---|---|
| Next by Date: | [Full-Disclosure] Suggested filters against PHP Attacking Worms, Paul Laudanski |
| Previous by Thread: | [VulnWatch] [HAT-SQUAD] NetCat Remote Critical Vulnerability, Poc inside., class 101 |
| Next by Thread: | [Full-Disclosure] Suggested filters against PHP Attacking Worms, Paul Laudanski |
| Indexes: | [Date] [Thread] [Top] [All Lists] |