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#502328

SquirrelMail vulnerable to command injection because of flawed input checking in S/MIME plug-in

Overview

SquirrelMail contains a flaw in its S/MIME plug-in certificate handling routines which may allow arbitrary code to be remotely executed.

I. Description

From the SquirrelMail web page:

    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's input handling contains a flaw that may allow remote attackers to execute arbitrary code with elevated privileges. The S/MIME plug-in fails to check the $cert variable, which contains user-supplied data, before using the variable in a call to exec().

II. Impact

A remote attacker may be able to supply arbitrary code to be executed in the call to exec() with the privileges of the web server.

III. Solution

Apply an update

SquirrelMail has released an updated version of the S/MIME plug-in that is not affected by this flaw. Version 0.6 (or later) does not contain this flaw and can be obtained from the SquirrelMail S/MIME plug-in page.

Systems Affected

VendorStatusDate NotifiedDate Updated
SquirrelMail Project TeamVulnerable9-Feb-2005

References


http://www.squirrelmail.org/plugin_view.php?id=54
http://www.idefense.com/application/poi/display?id=191&type=vulnerabilities

Credit

Thanks to iDefense for reporting this vulnerability, who in turn credit Karol Wiesek with the discovery of the flaw.

This document was written by Ken MacInnis based primarily on information from iDefense Inc.

Other Information

Date Public:2005-02-07
Date First Published:2005-02-09
Date Last Updated:2005-02-10
CERT Advisory: 
CVE-ID(s):CAN-2005-0239
NVD-ID(s):CAN-2005-0239
US-CERT Technical Alerts: 
Metric:4.91
Document Revision:14

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

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