CVE-2007-3007Php
Medium 5.0 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≥ 5.0.0 < 5.2.3 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.php.net Vendor Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- osvdb.org Broken Link
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- www.gentoo.org Third Party Advisory
- www.php.net Vendor Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.trustix.org Broken Link
- www.redhat.com Third Party Advisory