Vulnerability in PHP

CVE-2007-3007

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.

Published · last modified .

CVSS v2 metric

CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.027 (85.3th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 85.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2007-3007: held from 0.027 to 0.027.

EPSS over last 30 days · oldest: 0.027 · newest: 0.027 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2007-3007?
CVE-2007-3007 is a vulnerability in PHP, classified under CWE-264. Published 2007-06-04.
Is CVE-2007-3007 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.