SquirrelMail viewcert.php S/MIME plugin command execution

squirrelmail-smime-command-execution (19242) The risk level is classified as HighHigh Risk

Description:

SquirrelMail could allow a remote attacker to execute arbitrary commands on the system, caused by improper filtering of user-supplied input in the viewcert.php script. By supplying a specially-crafted $cert variable, a remote authenticated attacker could execute arbitrary commands on the system with Web server privileges.


Consequences:

Gain Access

Remedy:

Upgrade to the latest version of SquirrelMail S/MIME plugin (0.6 or later), available from the SquirrelMail Web site. See References.

References:

  • iDEFENSE Security Advisory 02/07/05: SquirrelMail S/MIME Plugin Command Injection Vulnerability.
  • SquirrelMail Web site: Plugins - S/MIME verification.
  • BID-12467: SquirrelMail S/MIME Plug-in Remote Command Execution Vulnerability
  • CVE-2005-0239: viewcert.php in the S/MIME plugin 0.4 and 0.5 for Squirrelmail allows remote attackers to execute arbitrary commands via shell metacharacters in the cert parameter.
  • SUSE-SR:2005:008: SUSE Security Summary Report
  • US-CERT VU#502328: SquirrelMail vulnerable to command injection because of flawed input checking in S/MIME plug-in

Platforms Affected:

  • SquirrelMail SquirrelMail S/MIME plugin prior to 0.6

Reported:

Feb 07, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page