PHP .htaccess security bypass

php-htaccess-security-bypass (35102) The risk level is classified as MediumMedium Risk

Description:

PHP could allow a remote attacker to bypass security restrictions, caused by an error in the session_save_path() and ini_set() functions. A remote attacker could exploit this vulnerability by using directives in the .htaccess file to bypass open_basedir or safe_mode restrictions to gain unauthorized access and modify configuration settings.

Platforms Affected:

  • Apple, Mac OS X 10.4.11
  • Apple, Mac OS X Server 10.4.11
  • Apple, Mac OS X Server 10.5.2
  • Gentoo, Linux
  • HP, HP-UX B.11.11
  • HP, HP-UX B.11.23
  • HP, HP-UX B.11.31
  • PHP, PHP 4.4.7 and prior
  • PHP, PHP 5.2.3 and prior

Remedy:

Upgrade to the latest version of PHP (5.2.4 or later), available from the PHP Web site. See References.

For Mac OS X:
Apply Security Update 2008-002, available from the Apple Web site. See References.

For other distributions:
Apply the appropriate update for your system. See References.

Consequences:

Bypass Security

References:

Reported:

Jun 27, 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 (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.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page