SquirrelMail "load_prefs.php" allows remote attacker to execute code

squirrelmail-loadprefs-execute-code (6775) The risk level is classified as HighHigh Risk

Description:

SquirrelMail could allow a remote attacker to execute arbitrary code on the system. A remote attacker can supply the '$chosen_theme' variable used by the require function in the 'load_prefs.php' script to execute arbitrary code on the system.


Consequences:

Gain Access

Remedy:

Upgrade to the latest version of SquirrelMail (1.0.5 or later) available at: http://www.squirrelmail.org/download.php

References:

  • Secure Reality Pty Ltd. Security Advisory #10 (SRADV00010): Remote command execution vulnerabilities in SquirrelMail.
  • SquirrelMail Web site: Version 1.0.5 -- April 17, 2001.
  • SquirrelMail Web site: Download Distribution.
  • BID-2968: SquirrelMail Remote Command Execution Vulnerability
  • CVE-2001-1159: load_prefs.php and supporting include files in SquirrelMail 1.0.4 and earlier do not properly initialize certain PHP variables, which allows remote attackers to (1) view sensitive files via the config_php and data_dir options, and (2) execute arbitrary code by using options_order.php to upload a message that could be interpreted as PHP.
  • OSVDB ID: 11627: SquirrelMail load_prefs.php Arbitrary File Access
  • OSVDB ID: 11628: SquirrelMail options_order.php Arbitrary Command Execution

Platforms Affected:

  • SquirrelMail SquirrelMail 1.0.4 and prior

Reported:

Feb 07, 2001

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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page