CVEvulnerability

CVE-2007-3007

5.0 MEDIUM Published 2007-06-04 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2007-06-04
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
Weaknesses
CWE-264

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 configurations

• php php (>= 5.0.0 < 5.2.3)

Related

Weakness · not in database (1)

References