Live threats

All CVEs / Php

CVE-2007-3007Php

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
2.7%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Jun 4, 2007
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≥ 5.0.0 < 5.2.3

Official sources

References

Links published by the sources. Open them with care.