Servers and applications
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 the readfile function returns a string. NOTE: this issue might also involve the realpath function.
- Severity
- Medium 5.0
- Published
- 4 Jun 2007
- Last changed
- 16 Jun 2026
- Added to UpHeron
- 14 Oct 2026
- Fixed in
- 5.2.3
- Exploit chance
- 2.7% in the next 30 daysHigher than 86% of CVEs. EPSS by FIRST, 12 Nov 2026
- Weakness
- CWE-264
- Attack
- Over the network · No login needed
- Attacker can
- Read some data
- CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N- Sources
- NVD
Affected software
| Software | Affected versions |
|---|---|
PHPServers and applications · cpe:a:php:php |
|