发新话题
打印

[转载]Yahoo! Mail跨站脚本执行漏洞以及测试方法

[转载]Yahoo! Mail跨站脚本执行漏洞以及测试方法

信息来源:rivgi_at_finjan.com

Yahoo! Mail Cross-Site Scripting Vulnerability
Next message: Thomas C. Greene: "*nix data wipe tools"
Previous message: Rafel Ivgi: "Hotmail Cross Site Scripting Vulnerability #2"
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]

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

To: <bugs@securitytracker.com>, <Bugtraq@securityfocus.com>, <full-disclosure@lists.netsys.com>, <ntbugtraq@listserv.ntbugtraq.com>, <vulnwatch@vulnwatch.org>
Date: Fri, 15 Oct 2004 10:55:52 +0200


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抯 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抯 filter identifies any instance of the inline
use of the javascript protocol (e.g. 搄avascript:?
and upon identification adds an underscore before the 搄?
thus creating an invalid protocol request.
The above filtering algorithm can be bypassed by inserting
encoded tab characters (        ) into the 搄avascript?
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抯 password by using a spoofed re-login window
?Reading the victim抯 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)
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

发新话题