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.
Does this matter?
Lower severity and a low EPSS score (2.70%). Track it; it rarely justifies an emergency change on its own.
Description
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.
- CVSS 2.0
- 5.0 MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
- EPSS
- 2.70% probability · 85th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-264
- Affected
- php/php
- Source
- cve@mitre.org
References
- http://bugs.php.net/bug.php?id=41492Vendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.htmlMailing List, Third Party Advisory
- http://osvdb.org/36084Broken Link
- http://secunia.com/advisories/25456Vendor Advisory
- http://secunia.com/advisories/26048Vendor Advisory
- http://secunia.com/advisories/26231Vendor Advisory
- http://secunia.com/advisories/27102Vendor Advisory
- http://secunia.com/advisories/27110Vendor Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xmlThird Party Advisory
- http://www.php.net/releases/5_2_3.phpVendor Advisory
- http://www.securityfocus.com/bid/24259Third Party Advisory, VDB Entry
- http://www.trustix.org/errata/2007/0023/Broken Link
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.htmlThird Party Advisory
- http://bugs.php.net/bug.php?id=41492Vendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.htmlMailing List, Third Party Advisory
- http://osvdb.org/36084Broken Link
- http://secunia.com/advisories/25456Vendor Advisory
- http://secunia.com/advisories/26048Vendor Advisory
- http://secunia.com/advisories/26231Vendor Advisory
- http://secunia.com/advisories/27102Vendor Advisory
- http://secunia.com/advisories/27110Vendor Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xmlThird Party Advisory
- http://www.php.net/releases/5_2_3.phpVendor Advisory
- http://www.securityfocus.com/bid/24259Third Party Advisory, VDB Entry
- http://www.trustix.org/errata/2007/0023/Broken Link
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.htmlThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.