search menu icon-carat-right cmu-wordmark

CERT Coordination Center

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

Vulnerability Note VU#707100

Original Release Date: 2003-12-10 | Last Revised: 2003-12-10

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.

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.

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.

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.

Vendor Information

707100
 

Excite Affected

Updated:  December 10, 2003

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

It is reported that Excite has fixed the bug.

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

Outblaze Affected

Updated:  November 14, 2003

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

It is reported that Outblaze has fixed the bug for Mail.com

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

Yahoo! Inc. Affected

Updated:  November 14, 2003

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

It is reported that Yahoo! Inc has limited the impact of this vulnerability to a subset of HTML tags.

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

Lycos Inc. Not Affected

Updated:  November 14, 2003

Status

Not Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

It is reported that Lycos Mail is not affected by this issue.

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

Microsoft Corporation Not Affected

Updated:  November 14, 2003

Status

Not Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

It is reported that Hotmail.com is not affected by this issue.

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


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

Thanks to Finjan Software for reporting this vulnerability.

This document was written by Jason A Rafail.

Other Information

CVE IDs: None
Severity Metric: 3.96
Date Public: 2003-12-10
Date First Published: 2003-12-10
Date Last Updated: 2003-12-10 22:11 UTC
Document Revision: 13

Sponsored by CISA.