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. NOTE: this issue might also involve the realpath function.
References
Link Resource
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
Configurations

Configuration 1 (hide)

cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2007-06-04 17:30

Updated : 2025-04-09 00:30


NVD link : CVE-2007-3007

Mitre link : CVE-2007-3007

CVE.ORG link : CVE-2007-3007


JSON object : View

Products Affected

php

  • php
CWE
CWE-264

Permissions, Privileges, and Access Controls