CVEvulnerability
CVE-2007-3007
5.0 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2007-06-04
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-264
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.
Affected configurations
• php php (>= 5.0.0 < 5.2.3)
Related
Weakness · not in database (1)
References
- http://bugs.php.net/bug.php?id=41492 Vendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html Mailing List, Third Party Advisory
- http://osvdb.org/36084 Broken Link
- http://secunia.com/advisories/25456 Vendor Advisory
- http://secunia.com/advisories/26048 Vendor Advisory
- http://secunia.com/advisories/26231 Vendor Advisory
- http://secunia.com/advisories/27102 Vendor Advisory
- http://secunia.com/advisories/27110 Vendor Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml Third Party Advisory
- http://www.php.net/releases/5_2_3.php Vendor Advisory
- http://www.securityfocus.com/bid/24259 Third Party Advisory, VDB Entry
- http://www.trustix.org/errata/2007/0023/ Broken Link
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html Third Party Advisory
- http://bugs.php.net/bug.php?id=41492 Vendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html Mailing List, Third Party Advisory
- http://osvdb.org/36084 Broken Link
- http://secunia.com/advisories/25456 Vendor Advisory
- http://secunia.com/advisories/26048 Vendor Advisory
- http://secunia.com/advisories/26231 Vendor Advisory
- http://secunia.com/advisories/27102 Vendor Advisory
- http://secunia.com/advisories/27110 Vendor Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml Third Party Advisory
- http://www.php.net/releases/5_2_3.php Vendor Advisory
- http://www.securityfocus.com/bid/24259 Third Party Advisory, VDB Entry
- http://www.trustix.org/errata/2007/0023/ Broken Link
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html Third Party Advisory