Rapid7 Vulnerability & Exploit Database

RHSA-2009:0010: squirrelmail security update

Back to Search

RHSA-2009:0010: squirrelmail security update



SquirrelMail is an easy-to-configure, standards-based, webmail packagewritten in PHP. It includes built-in PHP support for the IMAP and SMTPprotocols, and pure HTML 4.0 page-rendering (with no JavaScript required)for maximum browser-compatibility, strong MIME support, address books, andfolder manipulation.Ivan Markovic discovered a cross-site scripting (XSS) flaw in SquirrelMailcaused by insufficient HTML mail sanitization. A remote attacker could senda specially-crafted HTML mail or attachment that could cause a user's Webbrowser to execute a malicious script in the context of the SquirrelMailsession when that email or attachment was opened by the user.(CVE-2008-2379)It was discovered that SquirrelMail allowed cookies over insecureconnections (ie did not restrict cookies to HTTPS connections). An attackerwho controlled the communication channel between a user and theSquirrelMail server, or who was able to sniff the user's networkcommunication, could use this flaw to obtain the user's session cookie, ifa user made an HTTP request to the server. (CVE-2008-3663)Note: After applying this update, all session cookies set for SquirrelMailsessions started over HTTPS connections will have the "secure" flag set.That is, browsers will only send such cookies over an HTTPS connection. Ifneeded, you can revert to the previous behavior by setting theconfiguration option "$only_secure_cookies" to "false" in SquirrelMail's/etc/squirrelmail/config.php configuration file.Users of squirrelmail should upgrade to this updated package, whichcontains backported patches to correct these issues.


  • redhat-upgrade-squirrelmail

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center