CVE-2007-3007
Summary
| CVE | CVE-2007-3007 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2007-06-04 17:30:00 UTC |
| Updated | 2026-04-23 00:35:47 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
NoneAvailability
NoneAV:N/AC:L/Au:N/C:P/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| PHP Integer Overflow Vulnerability and Security Bypass - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| www.trustix.org/errata/2007/0023 | af854a3a-2127-422b-91ae-364da2661108 | www.trustix.org | Broken Link |
| [SECURITY] Fedora 7 Update: php-5.2.4-1.fc7 | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | Third Party Advisory |
| PHP Realpath() Safe_Mode and Open_Basedir Restriction Bypass Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | Third Party Advisory, VDB Entry |
| PHP: PHP 5.2.3 Release Announcement | af854a3a-2127-422b-91ae-364da2661108 | www.php.net | Vendor Advisory |
| [security-announce] SUSE Security Announcement: php4,php5 (SUSE-SA:2007: | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | Mailing List, Third Party Advisory |
| Trustix Update for Multiple Packages - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| PHP Bugs: #41492: open_basedir bypass via readfile() | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | Vendor Advisory |
| Gentoo Linux Documentation -- PHP: Multiple vulnerabilities | af854a3a-2127-422b-91ae-364da2661108 | www.gentoo.org | Third Party Advisory |
| SUSE update for php4 and php5 - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| Gentoo update for php - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| osvdb.org/36084 | af854a3a-2127-422b-91ae-364da2661108 | osvdb.org | Broken Link |
| Fedora update for php - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
| Organization | Published | Contributor | Statement |
|---|---|---|---|
| Red Hat | 2007-06-07 | Mark J Cox | We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php |
There are currently no legacy QID mappings associated with this CVE.