Description
The cURL extension files (1) ext/curl/interface.c and (2) ext/curl/streams.c in PHP before 5.1.5 permit the CURLOPT_FOLLOWLOCATION option when open_basedir or safe_mode is enabled, which allows attackers to perform unauthorized actions, possibly related to the realpath cache.
References
- 1016984 vdb-entry
- http://www.php.net/release_5_1_5.php
- 22039 third-party-advisory
- http://cvs.php.net/viewcvs.cgi/php-src/ext/curl/interface.c?r1=1.62.2.14.2.6&r2=1.62.2.14.2.7
- http://cvs.php.net/viewcvs.cgi/php-src/ext/curl/interface.c?view=log
- 19582 vdb-entry
- 20080527 rPSA-2008-0178-1 php php-mysql php-pgsql mailing-list
- 30411 third-party-advisory
- 21546 third-party-advisory
- ADV-2006-3318 vdb-entry
- http://cvs.php.net/viewvc.cgi/php-src/ext/curl/streams.c?r1=1.14.2.2.2.3&r2=1.14.2.2.2.4
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0178
- http://www.php.net/ChangeLog-5.php#5.1.5
- SUSE-SA:2006:052 vendor-advisory