cve.bz

CVE-2007-4652 php php: Link Following

no score yetExploitEPSS 0.6%Fix available

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

Ask an AI about this CVE

Show the promptExplain 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.

ProductAffected
php:phpthrough 5.2.3
php:php1.0
php:php2.0
php:php2.0b10
php:php3.0
php:php3.0.1
php:php3.0.2
php:php3.0.3
php:php3.0.4
php:php3.0.5
php:php3.0.6
php:php3.0.7
php:php3.0.8
php:php3.0.9
php:php3.0.10
php:php3.0.11
php:php3.0.12
php:php3.0.13
php:php3.0.14
php:php3.0.15
php:php3.0.16
php:php3.0.17
php:php3.0.18
php:php4.0:beta_4_patch1
php:php4.0:beta1
php:php4.0:beta2
php:php4.0:beta3
php:php4.0:beta4
php:php4.0.0
php:php4.0.1
php:php4.0.2
php:php4.0.3
php:php4.0.4
php:php4.0.5
php:php4.0.6
php:php4.0.7
php:php4.1.0
php:php4.1.1
php:php4.1.2
php:php4.2.0
php:php4.2.1
php:php4.2.2
php:php4.2.3
php:php4.3.0
php:php4.3.1
php:php4.3.2
php:php4.3.3
php:php4.3.4
php:php4.3.5
php:php4.3.6
php:php4.3.7
php:php4.3.8
php:php4.3.9
php:php4.3.10
php:php4.3.11
php:php4.4.0
php:php4.4.1
php:php4.4.2
php:php4.4.3
php:php4.4.4
php:php4.4.5
php:php4.4.6
php:php4.4.7
php:php4.4.8
php:php4.4.9
php:php5.0.0
php:php5.0.0:beta1
php:php5.0.0:beta2
php:php5.0.0:beta3
php:php5.0.0:beta4
php:php5.0.0:rc1
php:php5.0.0:rc2
php:php5.0.0:rc3
php:php5.0.1
php:php5.0.2
php:php5.0.3
php:php5.0.4
php:php5.0.5
php:php5.1.0
php:php5.1.1
php:php5.1.2
php:php5.1.3
php:php5.1.4
php:php5.1.5
php:php5.1.6
php:php5.2.0
php:php5.2.1
php:php5.2.2

Red Hat

Red Hat's statement

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

Check your stackJSON