fopen_wrappers.c in PHP 4.4.0, and possibly other versions, does not properly restrict access to other directories when the open_basedir directive includes a trailing slash, which allows PHP scripts in one directory to access files in other directories whose names are substrings of the original directory.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Php | Php | 4.4.0 (including) | 4.4.0 (including) |
Php4 | Ubuntu | dapper | * |
Php4 | Ubuntu | edgy | * |
Php5 | Ubuntu | dapper | * |
Php5 | Ubuntu | devel | * |
Php5 | Ubuntu | edgy | * |
Php5 | Ubuntu | feisty | * |