Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102943 - open_basedir bypass vulnerability in PHP 4.4.0
Summary: open_basedir bypass vulnerability in PHP 4.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PHP Bugs
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 00:54 UTC by thorben
Modified: 2011-10-30 22:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thorben 2005-08-18 00:54:46 UTC
same like in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323585
the bug is reportet for php5 in http://bugs.php.net/bug.php?id=32937

yes i used the tailing "/" when setting open basedir ;-)


Reproducible: Always
Steps to Reproduce:
if somebody has a directory structure like this:
/srv/user1
/srv/user2
.
.
.
/srv/user10
/srv/user11


Actual Results:  
user1   can  access  the  files  of  user10 and user12 vi PHP although
open_basedir is set


Expected Results:  
user1 should not have access to these directories
Comment 1 Stefan Cornelius (RETIRED) gentoo-dev 2005-08-18 01:14:37 UTC
Reassigning to php, we usually don't accept safe_mode bugs. see
http://www.php.net/security-note.php for details. Thanks for reporting, though.
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2005-11-03 08:43:50 UTC
Fixed in CVS with the latest revisions of all PHP packages.

For new-style PHP:
dev-lang/php-4.3.11-r3
dev-lang/php-4.4.0-r3
dev-lang/php-4.4.1
dev-lang/php-5.0.4-r3
dev-lang/php-5.0.5-r3

For old-style PHP:
dev-php/php-4.3.11-r3
dev-php/php-4.4.0-r3
dev-php/php-cgi-4.3.11-r4
dev-php/php-cgi-4.4.0-r4
dev-php/mod_php-4.3.11-r3 (old-style Apache config layout)
dev-php/mod_php-4.4.0-r6 (old-style Apache config layout)
dev-php/mod_php-4.4.0-r7 (new-style Apache config layout)

Best regards, CHTEKK.