Re: Windows Command Processor CMD.EXE Buffer Overflow

Dan Yefimov <[email protected]> Sun, 22 Oct 2006 17:01:19 +0400
Newsgroups gmane.comp.security.vulnerabilities
Message-ID <[email protected]>
gregory_panakkal wrote:
> Hi,
> 
> I had tested on couple of winxp sp2 fully patched systems, DEP came into
> the picture.
> On Win2k - the cmd.exe immediately terminates; on vista - no issues - it
> throws up a proper error.
> 
This is not true. On completely patched Win2K cmd.exe doesn't terminate or crash:

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\>%comspec% /k "dir \\?\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
The filename or extension is too long.

C:\>