search menu icon-carat-right cmu-wordmark

CERT Coordination Center

SquirrelMail compose.php script does not adequately validate input thereby allowing arbitrary user to send messages

Vulnerability Note VU#153043

Original Release Date: 2002-05-30 | Last Revised: 2007-05-10


Some versions of SquirrelMail do not properly validate input. Attackers can spoof email addresses through this vulnerability.


SquirrelMail is a collection of PHP4 scripts that provides webmail services. Prior to version 1.24, SquirrelMail does not properly validate Universal Resource Identifiers (URI's) and JavaScript code embedded in HTML tags within an email message. These tags are sent by SquirrelMail to the user's web browser, which could make the browser request the embedded URI's or execute the JavaScript code.


An attacker could craft an email message to a SquirrelMail user which, when read by the user, could automatically send email from the user's account to any address of the attacker's choice. This vulnerability could also be used in a cross-site scripting attack to hijack an authenticated user's session.


Upgrade SquirrelMail to version 1.2.4 or later, available from:

Vendor Information


SquirrelMail Project Team Affected

Notified:  January 28, 2002 Updated: May 30, 2002



Vendor Statement

"SquirrelMail 1.2.4 is the release that fixed the problem."

Vendor Information

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


Upgrade SquirrelMail to version 1.2.4 or later, available from

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

CVSS Metrics

Group Score Vector



Thanks to Tom McAdam for reporting this vulnerability.

This document was written by Shawn Van Ittersum.

Other Information

CVE IDs: CVE-2002-1648
Severity Metric: 1.07
Date Public: 2002-01-24
Date First Published: 2002-05-30
Date Last Updated: 2007-05-10 17:06 UTC
Document Revision: 12

Sponsored by CISA.