SquirrelMail may allow execution of arbitrary code

2005-02-09T00:00:00
ID VU:203214
Type cert
Reporter CERT
Modified 2005-02-09T00:00:00

Description

Overview

SquirrelMail 1.2.6 may allow remote execution of arbitrary code via URL manipulation.

Description

From the SquirrelMail webpage:

SquirrelMail is a standards-based webmail package written in PHP4. It includes built-in pure PHP support for the IMAP and SMTP protocols, and all pages render in pure HTML 4.0 (with no JavaScript required) for maximum compatibility across browsers. It has very few requirements and is very easy to configure and install. SquirrelMail has all the functionality you would want from an email client, including strong MIME support, address books, and folder manipulation.

SquirrelMail 1.2.6 contains an input-handling flaw that may allow remote attackers to execute arbitrary code with elevated privileges.


Impact

Remote attackers could execute arbitrary code with elevated privileges as the SquirrelMail CGI user, typically www-data or similar.


Solution

Apply an update
Information for obtaining updates may be found in the "Vendor" section of this note. Users may also visit the SquirrelMail web site for additional information concerning updates.

Note: SquirrelMail 1.2.6 is the only version affected and is from the previous stable release series. The current 1.4.x branch is not affected.


Systems Affected

Vendor| Status| Date Notified| Date Updated
---|---|---|---
Debian| | 01 Feb 2005| 09 Feb 2005
SquirrelMail Project Team| | 01 Feb 2005| 09 Feb 2005
If you are a vendor and your product is affected, let us know.

CVSS Metrics

Group | Score | Vector
---|---|---
Base | N/A | N/A
Temporal | N/A | N/A
Environmental | N/A | N/A

References

  • <http://www.debian.org/security/2005/dsa-662>
  • <http://secunia.com/advisories/14096>

Credit

Thanks to the Debian Project for reporting this vulnerability, who in turn credit Grant Hollingworth with its discovery.

This document was written by Ken MacInnis based primarily on information provided by the Debian Project and the SquirrelMail team.

Other Information

  • CVE IDs: CAN-2005-0152
  • Date Public: 01 Feb 2005
  • Date First Published: 09 Feb 2005
  • Date Last Updated: 09 Feb 2005
  • Severity Metric: 7.80
  • Document Revision: 6