PHP cURL library curl_init() safe mode bypass

php-curl-safemode-bypass (26764) The risk level is classified as MediumMedium Risk

Description:

The PHP cURL library (libcurl) could allow a remote attacker to bypass safe mode restrictions, caused by improper validation of user-supplied input by the curl_init() function. A remote attacker could exploit this vulnerability using a file:// request containing a NULL character to bypass security restrictions and gain unauthorized access to arbitrary files on Web servers that are running an affected version of PHP.

Platforms Affected:

  • MandrakeSoft, Mandrake Linux 2006
  • MandrakeSoft, Mandrake Linux 2006 X86_64
  • MandrakeSoft, Mandrake Linux LE2005
  • MandrakeSoft, Mandrake Linux LE2005 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft, Mandrake Multi Network Firewall 2.0
  • Novell, Linux POS 9
  • Novell, Open Enterprise Server
  • Novell, Open Enterprise Server
  • Novell, UnitedLinux 1.0
  • PHP, PHP 4.4.2
  • PHP, PHP 5.1.4
  • SuSE, Linux Enterprise Server 8
  • SuSE, SLE SDK 10
  • SuSE, SuSE Linux 10.0
  • SuSE, SuSE Linux 10.1
  • SuSE, SuSE Linux 9.2
  • SuSE, SuSE Linux 9.3
  • SuSE, SuSE Linux OpenExchange Server 4
  • SuSE, SuSE Linux Retail Solution 8
  • SuSE, SuSE Linux School Server
  • SuSE, SuSE Linux Standard Server 8
  • SuSE, SuSE SLES 10
  • SuSE, SuSE SLES 9

Remedy:

Upgrade to the latest CVS version of the cURL library, available from the PHP CVS Repository. See References.

For SUSE Linux:
Refer to SUSE-SA:2006:052 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Bypass Security

References:

Reported:

May 26, 2006

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