Vulnerabilities · 2007 · Php
CVE-2007-3007
Php vulnerability
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.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=41492 · Vendor Advisory
- secunia.com/advisories/25456 · Vendor Advisory
- secunia.com/advisories/26048 · Vendor Advisory
- secunia.com/advisories/26231 · Vendor Advisory
- secunia.com/advisories/27102 · Vendor Advisory
- secunia.com/advisories/27110 · Vendor Advisory
- www.php.net/releases/5_2_3.php · Vendor Advisory
- lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2007-3007
- cve.org/CVERecord?id=CVE-2007-3007
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.