Bugtraq mailing list archives

Test your windows OS


From: "Berend-Jan Wever" <skylined () edup tudelft nl>
Date: Tue, 5 Oct 2004 01:09:58 +0200

Hi all,

Wanna do a quick test to see if the programmers that wrote your windows operating system have any clue as to what there 
doing ? Run these commands from cmd.exe in the system32 directory:

for %i in (*.exe) do start %i %n%n%n%n%n%n%n%n%n%n%n%n%n%n%n%n%n%n%n%n
for %i in (*.exe) do start %i AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.... (type as much "A"-s as cmd.exe allows on 
one line.)

Each command will execute every program in your system32 directory, most of them will either ignore the parameter or 
report an error because the parameter doesn't make sence... But on my win2k system I found 6 programs vulnerable to 
these very simple formatsting and BoF tests.... grpconv even gives EIP 0x00410041, can it be any easier?

These are not vulnerabilities in itself: you cannot gain access or elevate priviledges but I just wanted to let you 
know that these programmers did a sloppy job.

Cheers,
SkyLined


Current thread: