Re: XSS bug in hotmail login page

From: Berend-Jan Wever (
Date: 10/08/02

From: "Berend-Jan Wever" <>
To: <>
Date: Tue, 8 Oct 2002 23:53:39 +0200

If you can't get spaces in, escape them:
You can encode any character you want this way.

I have some papers on XSS bugs and their implications and some tips, tricks
and tools online at my website. Might be interresting for all you wannabe
XSS-hackers and anybody who has a website or webbase application to secure
from XSS.

Impact for the hotmail XSS: I wrote a hotmail virus a few months back. It's
written in javascript and it abuses XSS bugs to spread itself to all people
in your addressbook & inbox. It works like a charm on IE and Netscape
(probably Mozilla too). It infects yahoo too (using another, yet
undisclosed, XSS bug in yahoo). I was working on a port to but got
Combine this mass-mailer worm with the recent "download and execute any
file" bugs for IE by Jelmer and friends and you've got another mass-mailin',
backdoorin', script-kiddie virus. Only this time it's not just for Outlook
but for any javascript capable browser(!)

So, Amongst the known security problems XSS poses, you can now add that XSS
bugs can lead to infection with a virus and/or a backdoor. (I hope you're
not reading this with webbased hotmail or yahoo ;)

Berend-Jan Wever

0x0dd31337 - you know who you are ;)

----- Original Message -----
From: "Muhammad Faisal Rauf Danka" <>
To: <>
Sent: Tuesday, October 08, 2002 14:11
Subject: Re: XSS bug in hotmail login page

> A lot can happen for sure, but i tried one myself, to redirect the request
to some other webpage.
> One can make a fake hotmail page asking for password storing it locally in
a text file and then again redirect to the original hotmail page.
> Usint this method one could steal passwords of hotmail/MSN users.
> We have all see previously people making hotmail looking page, asking you
to first login through it, or asking you to send your login/pass along with
the login name with the person you want to get hacked (all nasty scams like
> Now if it is not fixed they will have an easy way to trick them by asking
them to visit hotmail new policy at :
> And then have a fake setup to trick them entering their passwords at:
> Regards
> --------
> Muhammad Faisal Rauf Danka
> Head of GemSEC / Chief Technology Officer
> Gem Internet Services (Pvt) Ltd.
> web:
> Key Id: 0x784B0202
> Key Fingerprint: 6F8C EDCF 6C6E 06A5 48D7 6A20 C592 484B
> 784B 0202
> _____________________________________________________________
> ---------------------------
> ---------------------------
> _____________________________________________________________
> Select your own custom email address for FREE! Get w/No
Ads, 6MB, POP & more!