CVE-2007-3007 json
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…
published 2007-06-04 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-2999
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php php 5.2.3
Exploit prediction
2.70% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
- Technology feeds
References
-
gentoo.org
/security/en/glsa/glsa-200710-02.xml
vendor-advisory, third-party-advisory
-
redhat.com
/archives/fedora-package-announce/2007-September/msg00397.html
vendor-advisory, third-party-advisory
-
trustix.org
/errata/2007/0023/
vendor-advisory, broken-link
-
lists.opensuse.org
/opensuse-security-announce/2007-07/msg00006.html
vendor-advisory, mailing-list, third-party-advisory
-
secunia.com
/advisories/26231
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27110
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/26048
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/25456
third-party-advisory, vendor-advisory
-
php.net
/releases/5_2_3.php
vendor-advisory
-
secunia.com
/advisories/27102
third-party-advisory, vendor-advisory
-
bugs.php.net
/bug.php?id=41492
vendor-advisory
-
securityfocus.com
/bid/24259
vdb-entry, third-party-advisory
-
osvdb.org
/36084
vdb-entry, broken-link
Sources
- CVE List CVE-2007-3007
- NVD CVE-2007-3007
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.