in

ASP.NET Weblogs

Phil Scott's WebLog

Quite exciting this computer magic

Make your own IE Patch

Via slashdot, some enterprising individuals released a “patch” for IE's url spoofing vulnerability.  The problem is that it has some pretty nasty buffer overflow vulnerabilities itself.  While you have to respect the “if MS isn't going to do it, I'll do it myself!” attitude, you know some conversation happened like this:

User 1: St0pid M$!  Can't fix their own bugs, we'll do it ourselfs!
User 2: Right on!  M$ can't write secure code anyways, lol!!!!!!!!11oneone111!!.  We'll do it for them.
User 1: Ok, we'll take two strings of length 256 and store them into another URL of 256 characters.  What could go wrong? 
User 2: M$ sux0rs!  We r0x0r the b0x0rs.  M$ and Bill$$$$$ will pay us big bucks for our fix

Here's the offending code btw: (snipped up a bit):

char surl[256];
strcpy(surl,"http://www.openwares.org/cgi-bin/expl oit.cgi?");
char sFake[256];
char sTrue[256];

// Phil: I got rid of a big if statement
strcat(surl,sFake);
strcat(surl,"&"); strcat(surl,sTrue);

Wow. 

Comments

 

Frans Bouma said:

hahah :)

They said they're working on a fix for their buffer overflows. I wonder how they'll going to solve it (I bet 5$ on a bigger number than 256)
December 19, 2003 3:59 PM
 

Shannon J Hager said:

well... it's still better than MS's response ("merry christmas! no security patches this month!").

Now if the guys that did that patch would fix the "scroll 2 pages" bug in IE that MS gave us with their last update.
December 19, 2003 5:09 PM
 

dinkum said:

Huh huh. Those slashdot guys are idiots. Huh huh.
December 19, 2003 5:33 PM
 

Phil Scott said:

I have to point out it wasn't Slashdotter's who wrote the app, it was some "security" group. The Slashdotters are the guys who picked apart the source code looking for the nasties.

As for the scroll 2 pages bug being fixed, that would be awesome.
December 19, 2003 7:35 PM
 

Sriram said:

The discussion now in Slashdot is whether this bug was left on purpose...this patch seems to be malicious in other ways too...
December 20, 2003 4:26 AM