[<prev] [next>] [day] [month] [year] [list]
Message-ID: <00ba01c4b294$c636a370$8802a8c0@Finjan.co.il>
Date: Fri, 15 Oct 2004 10:55:52 +0200
From: "Rafel Ivgi" <rivgi@...jan.com>
To: <bugs@...uritytracker.com>, <Bugtraq@...urityfocus.com>,
<full-disclosure@...ts.netsys.com>,
<ntbugtraq@...tserv.ntbugtraq.com>, <vulnwatch@...nwatch.org>
Subject: Yahoo! Mail Cross-Site Scripting Vulnerability
Finjan Security Advisory
=================
Yahoo! Mail Cross-Site Scripting Vulnerability
Introduction
------------
Finjan has discovered a script injection vulnerability in Yahoo!
Mail that allows a remote attacker to execute malicious scripts
when the victim is reading his/her mail.
Technical Description
---------------------
Yahoo’s mobile code filtering mechanism is based on an
active content filter whose purpose is to block the
injection of any active content into Yahoo! messages.
Yahoo’s filter identifies any instance of the inline
use of the javascript protocol (e.g. “javascript:”)
and upon identification adds an underscore before the “j”,
thus creating an invalid protocol request.
The above filtering algorithm can be bypassed by inserting
encoded tab characters (	) into the “javascript”
string.
For example:
------------
<div style="background: url(j	a	v	a	
s	c	r	i	p	t:alert());"></div>
Any tag that supports the style property can be used to call a javascript
file.
The injected javascript code could lead to:
• Automatic launching of malicious code
• Stealing the victim’s password by using a spoofed re-login window
• Reading the victim’s inbox and contacts
• Sending an email message without any user authorization
The Code (Proof of Concept)
----------------------cut here-----------------------
<div style="backgr
ound:ur
l(ja		v	a	
sc	r	i	p	
t:alert());"></div>
----------------------cut here-----------------------
Vulnerability Status
--------------------
Vendor was notified on Sep 8th, 2004.
The bug is now fixed.
Credit
------
Rafel Ivgi, Malicious Code Research Center (MCRC), Finjan Software Ltd.
-----------------------------------------------
This message was scanned for malicious content and viruses by Finjan Internet Vital Security 1Box(tm)
Powered by blists - more mailing lists