SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#707100

Multiple web-based email services fail to filter malicious characters when the message contains cascading style sheet character escaping

Overview

An attacker can send a specially crafted email message to a victim containing malicious scripting (JavaScript, VBScript, JScript, etc.), active content, or potentially HTML. When a victim views the message with scripting enabled, the victim's browser will then interpret this javascript which can lead to several impacts.

I. Description

Malicious code provided by one client for another client

Sites that provide email service with web interfaces have guarded against a vulnerability where one client embeds malicious HTML tags in a message intended for another client with in the body of a message. For example, an attacker might send an email message like

    From: attacker@example.com
    To: victim@example.com
    Subject: Hello

    Hello Victim,

    This is a message.
    <SCRIPT>malicious code</SCRIPT>
    This is the end of my message.

When a victim with scripts enabled in their browser reads this message, the malicious code may be executed unexpectedly. Scripting tags that can be embedded in this way include <SCRIPT>, <OBJECT>, <APPLET>, and <EMBED>.

With client-to-client sites, developers explicitly recognize that data input is untrustworthy when it is presented to other users. Most email services either will not accept such input or will encode/filter it before sending anything to other readers.

It has recently been discovered that some sites that provide email services with web interfaces are failing to check for tags that have been encoded in the message body. The following message would be an example of this:
    From: attacker@example.com
    To: victim@example.com
    Subject: Hello

    Hello Victim,

    This is a message.
    <\73CRIP\T>malicious code<\/\73CRIP\T>
    This is the end of my message.

Note that the email message does not need to originate from the same domain. This vulnerability is closely related to Cross-Site Scripting. For more information on Cross-Site Scripting, see http://www.cert.org/advisories/CA-2000-02.html. Yahoo!, Excite, and Outblaze (Mail.com) are all services that have been reported vulnerable to this attack. Hotmail and Lycos Mail are reported to be not vulnerable.

II. Impact

Malicious scripting, HTML and Active Content can be executed in the victim's browser. This attack could be used to gain sensitive data such as passwords, credit card numbers, address book entries and any arbitrary information the user inputs. This may also lead to the theft of credentials.

III. Solution

Please review the Systems Affected section to determine if your vendor is vulnerable, and whether they have taken any action to remedy this vulnerability.

Do not open messages that you feel may contain untrustworthy content. Even if the message originates from a known person. Also, you can set your browser's security settings to disable scripting and active content. This will limit, but not mitigate the attack vectors for this vulnerability, but will also decrease the functionality of your service.

Systems Affected

VendorStatusDate Updated
ExciteVulnerable10-Dec-2003
Lycos Inc.Not Vulnerable14-Nov-2003
Microsoft CorporationNot Vulnerable14-Nov-2003
OutblazeVulnerable14-Nov-2003
Yahoo! Inc.Vulnerable14-Nov-2003

References

http://www.kb.cert.org/vuls/id/361600
http://www.finjan.com/news/press_show.cfm?press_release_id=124

Credit

Thanks to Finjan Software for reporting this vulnerability.

This document was written by Jason A Rafail.

Other Information

Date Public12/10/2003
Date First Published12/10/2003 09:32:31 AM
Date Last Updated12/10/2003
CERT Advisory 
CVE Name 
US-CERT Technical Alerts 
Metric3.96
Document Revision13

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2003 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader