CVE-2007-4652 php php: Link Following
php php: no CVSS score yet. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-59 Improper Link Resolution Before File Access (Link Following)
- OWASP Top 10
- A01:2025 Broken Access Control
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Patch: http://secunia.com/advisories/26642
- Vendor advisory: http://secunia.com/advisories/26642
- Vendor advisory: http://secunia.com/advisories/26822
- Vendor advisory: http://secunia.com/advisories/26838
Ask an AI about this CVE
Show the prompt
Explain CVE-2007-4652 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-4652?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-4652?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-4652 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| php:php | through 5.2.3 |
| php:php | 1.0 |
| php:php | 2.0 |
| php:php | 2.0b10 |
| php:php | 3.0 |
| php:php | 3.0.1 |
| php:php | 3.0.2 |
| php:php | 3.0.3 |
| php:php | 3.0.4 |
| php:php | 3.0.5 |
| php:php | 3.0.6 |
| php:php | 3.0.7 |
| php:php | 3.0.8 |
| php:php | 3.0.9 |
| php:php | 3.0.10 |
| php:php | 3.0.11 |
| php:php | 3.0.12 |
| php:php | 3.0.13 |
| php:php | 3.0.14 |
| php:php | 3.0.15 |
| php:php | 3.0.16 |
| php:php | 3.0.17 |
| php:php | 3.0.18 |
| php:php | 4.0:beta_4_patch1 |
| php:php | 4.0:beta1 |
| php:php | 4.0:beta2 |
| php:php | 4.0:beta3 |
| php:php | 4.0:beta4 |
| php:php | 4.0.0 |
| php:php | 4.0.1 |
| php:php | 4.0.2 |
| php:php | 4.0.3 |
| php:php | 4.0.4 |
| php:php | 4.0.5 |
| php:php | 4.0.6 |
| php:php | 4.0.7 |
| php:php | 4.1.0 |
| php:php | 4.1.1 |
| php:php | 4.1.2 |
| php:php | 4.2.0 |
| php:php | 4.2.1 |
| php:php | 4.2.2 |
| php:php | 4.2.3 |
| php:php | 4.3.0 |
| php:php | 4.3.1 |
| php:php | 4.3.2 |
| php:php | 4.3.3 |
| php:php | 4.3.4 |
| php:php | 4.3.5 |
| php:php | 4.3.6 |
| php:php | 4.3.7 |
| php:php | 4.3.8 |
| php:php | 4.3.9 |
| php:php | 4.3.10 |
| php:php | 4.3.11 |
| php:php | 4.4.0 |
| php:php | 4.4.1 |
| php:php | 4.4.2 |
| php:php | 4.4.3 |
| php:php | 4.4.4 |
| php:php | 4.4.5 |
| php:php | 4.4.6 |
| php:php | 4.4.7 |
| php:php | 4.4.8 |
| php:php | 4.4.9 |
| php:php | 5.0.0 |
| php:php | 5.0.0:beta1 |
| php:php | 5.0.0:beta2 |
| php:php | 5.0.0:beta3 |
| php:php | 5.0.0:beta4 |
| php:php | 5.0.0:rc1 |
| php:php | 5.0.0:rc2 |
| php:php | 5.0.0:rc3 |
| php:php | 5.0.1 |
| php:php | 5.0.2 |
| php:php | 5.0.3 |
| php:php | 5.0.4 |
| php:php | 5.0.5 |
| php:php | 5.1.0 |
| php:php | 5.1.1 |
| php:php | 5.1.2 |
| php:php | 5.1.3 |
| php:php | 5.1.4 |
| php:php | 5.1.5 |
| php:php | 5.1.6 |
| php:php | 5.2.0 |
| php:php | 5.2.1 |
| php:php | 5.2.2 |
Red Hat
We do not consider these to be security issues. For more details see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and https://www.php.net/security-note.php
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2007-4652.
Public exploits
Attack patterns (CAPEC)
- CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
- CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
- CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
- CAPEC-132 Symlink Attack Likelihood: Low · Severity: High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://secunia.com/advisories/26642
- http://secunia.com/advisories/26822
- http://secunia.com/advisories/26838
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/27377
- http://www.vupen.com/english/advisories/2007/3023
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.php.net/ChangeLog-5.php#5.2.4
- http://www.php.net/releases/5_2_4.php
- http://www.trustix.org/errata/2007/0026/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36387
- https://issues.rpath.com/browse/RPL-1693
- https://issues.rpath.com/browse/RPL-1702