Description
PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases, which allows context-dependent attackers to determine the existence of arbitrary files by checking if the readfile function returns a string. NOTE: this issue might also involve the realpath function.
References
- 26231 third-party-advisory
- 27110 third-party-advisory
- 26048 third-party-advisory
- GLSA-200710-02 vendor-advisory
- FEDORA-2007-2215 vendor-advisory
- 25456 third-party-advisory
- 2007-0023 vendor-advisory
- http://www.php.net/releases/5_2_3.php
- 24259 vdb-entry
- 27102 third-party-advisory
- 36084 vdb-entry
- http://bugs.php.net/bug.php?id=41492
- SUSE-SA:2007:044 vendor-advisory