CVE-2007-4652 json
The session extension in PHP before 5.2.4 might allow local users to bypass open_basedir restrictions via a session file that is a symlink.
published 2007-09-04 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-4634
- cvss
- 4.4
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 1
- Exploit-DB
Summary
The session extension in PHP before 5.2.4 might allow local users to bypass open_basedir restrictions via a session file that is a symlink.
Patch / fix
- secunia.com/advisories/26642 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-4652 updated
php open_basedir bypass in session extension with symlink
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (EDB-10557)
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-10557 PHP 5.2.12/5.3.1 - 'symlink()' open_basedir Bypass local, 2009-12-19
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
- Technology feeds
References
-
secunia.com
/advisories/26642
third-party-advisory, patch, vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200710-02.xml
vendor-advisory
-
trustix.org
/errata/2007/0026/
vendor-advisory
-
secunia.com
/advisories/26822
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/26838
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27377
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27102
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2007/3023
vdb-entry, vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/36387
vdb-entry
- php.net /ChangeLog-5.php#5.2.4
- issues.rpath.com /browse/RPL-1693
- issues.rpath.com /browse/RPL-1702
- php.net /releases/5_2_4.php
Sources
- CVE List CVE-2007-4652
- NVD CVE-2007-4652
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.