G/PGP Encryption Plugin for SquirrelMail gpg_hook_functions.php command execution

squirrelmail-gpgp-hook-command-execution (35363) The risk level is classified as MediumMedium Risk

Description:

The G/PGP Encryption Plugin for SquirrelMail could allow a remote attacker to execute arbitrary commands on the system, caused by improper validation of user-supplied input by the gpg_hook_functions.php script's exec function. By persuading a victim to open a specially-crafted email, a remote attacker could exploit this vulnerability to execute arbitrary commands on the system with the privileges of the Web server.

Platforms Affected:

  • SquirrelMail, G/PGP Encryption Plugin for SquirrelMail 2.0

Remedy:

Upgrade to the latest version of G/PGP Encryption Plugin for SquirrelMail (2.1 or later), available from the G/PGP Encryption Plugin for SquirrelMail Web site. See References.

Consequences:

Gain Access

References:

  • G/PGP Encryption Plugin for SquirrelMail Web site, SquirrelMail - Webmail for Nuts! at http://www.squirrelmail.org/plugin_view.php?id=153.
  • iDefense Labs PUBLIC ADVISORY: 07.11.07, SquirrelMail G/PGP Plugin gpg_check_sign_pgp_mime() Command Injection Vulnerability at http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=330.
  • BID-24874: SquirrelMail G/PGP Encryption Plug-in Multiple Remote Command Execution Vulnerabilities
  • CVE-2007-3778: The G/PGP (GPG) Plugin 2.0, and 2.1dev before 20060912, for Squirrelmail allows remote attackers to execute arbitrary commands via shell metacharacters in the messageSignedText parameter to the gpg_check_sign_pgp_mime function in gpg_hook_functions.php. NOTE: a parameter value can be set in the contents of an e-mail message.
  • SA26035: SquirrelMail G/PGP Encryption Plugin Multiple Vulnerabilities
  • VUPEN/ADV-2007-2513: SquirrelMail G/PGP Encryption Plugin Multiple Command Execution Vulnerabilities

Reported:

Jul 11, 2007

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