CVE-2007-3007 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 th...
MediumCVSS 5.0
EPSS 2.7%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | >= 5.0.0, < 5.2.3 | 5.2.3 |
References
- bugs.php.net vendor-advisory
- SUSE-SA:2007:044 mailing-list third-party-advisory vendor-advisory
- 36084 broken-link vdb-entry
- 25456 third-party-advisory vendor-advisory
- 26048 third-party-advisory vendor-advisory
- 26231 third-party-advisory vendor-advisory
- 27102 third-party-advisory vendor-advisory
- 27110 third-party-advisory vendor-advisory
- GLSA-200710-02 third-party-advisory vendor-advisory
- www.php.net vendor-advisory
- 24259 third-party-advisory vdb-entry
- 2007-0023 broken-link vendor-advisory
- FEDORA-2007-2215 third-party-advisory vendor-advisory