PHP .htaccess denial of service

php-htaccess-dos (22844) The risk level is classified as LowLow Risk

Description:

PHP is vulnerable to a denial of service. If safe_mode is enabled and a .htaccess file is in the web root directory containing a php_value session.save_path statement, a denial of service condition will occur caused by a vulnerability in the apache2handler SAPI and the sapi_apache2.c file.

Platforms Affected:

  • Apple, Mac OS X 10.3.9
  • Apple, Mac OS X 10.4.5
  • Apple, Mac OS X Server 10.3.9
  • Apple, Mac OS X Server 10.4.5
  • Canonical, Ubuntu 4.10
  • Canonical, Ubuntu 5.04
  • Canonical, Ubuntu 5.10
  • Gentoo, Linux
  • MandrakeSoft, Mandrake Linux 10.1 X86_64
  • MandrakeSoft, Mandrake Linux 10.1
  • MandrakeSoft, Mandrake Linux 2006 X86_64
  • MandrakeSoft, Mandrake Linux 2006
  • MandrakeSoft, Mandrake Linux LE2005 X86_64
  • MandrakeSoft, Mandrake Linux LE2005
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Multi Network Firewall 2.0
  • PHP, PHP 4.0 RC1
  • PHP, PHP 4.0 Beta4
  • PHP, PHP 4.0
  • PHP, PHP 4.0 Beta2
  • PHP, PHP 4.0 Beta1
  • PHP, PHP 4.0 Beta 4 Patch1
  • PHP, PHP 4.0 RC2
  • PHP, PHP 4.0 Beta3
  • PHP, PHP 4.0.1
  • PHP, PHP 4.0.2
  • PHP, PHP 4.0.3
  • PHP, PHP 4.0.4
  • PHP, PHP 4.0.5
  • PHP, PHP 4.0.6
  • PHP, PHP 4.0.7
  • PHP, PHP 4.1.0
  • PHP, PHP 4.1.1
  • PHP, PHP 4.1.2
  • PHP, PHP 4.1.3
  • PHP, PHP 4.2.0
  • PHP, PHP 4.2.1
  • PHP, PHP 4.2.2
  • PHP, PHP 4.2.3
  • PHP, PHP 4.2.4
  • PHP, PHP 4.3.0
  • PHP, PHP 4.3.1
  • PHP, PHP 4.3.10
  • PHP, PHP 4.3.11
  • PHP, PHP 4.3.2
  • PHP, PHP 4.3.3
  • PHP, PHP 4.3.4
  • PHP, PHP 4.3.5
  • PHP, PHP 4.3.6
  • PHP, PHP 4.3.7
  • PHP, PHP 4.3.8
  • PHP, PHP 4.3.9
  • PHP, PHP 4.4.0

Remedy:

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

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-11-08 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux:
Refer to USN-232-1 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Denial of Service

References:

Reported:

Oct 24, 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