BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2007-3007

MEDIUM 5.0 CVSS 2.0
Published
June 4, 2007
Last modified
June 16, 2026
NVD status
Modified
Reported by
cve@mitre.org
Weakness
CWE-264
CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N

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 products and versions

  • PHP — From 5.0.0 (including) to 5.2.3 (excluding)

References

  • bugs.php.net http://bugs.php.net/bug.php?id=41492 Vendor Advisory
  • lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html Mailing List, Third Party Advisory
  • osvdb.org http://osvdb.org/36084 Broken Link
  • secunia.com http://secunia.com/advisories/25456 Vendor Advisory
  • secunia.com http://secunia.com/advisories/26048 Vendor Advisory
  • secunia.com http://secunia.com/advisories/26231 Vendor Advisory
  • secunia.com http://secunia.com/advisories/27102 Vendor Advisory
  • secunia.com http://secunia.com/advisories/27110 Vendor Advisory
  • www.gentoo.org http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml Third Party Advisory
  • www.php.net http://www.php.net/releases/5_2_3.php Vendor Advisory
  • www.securityfocus.com http://www.securityfocus.com/bid/24259 Third Party Advisory, VDB Entry
  • www.trustix.org http://www.trustix.org/errata/2007/0023/ Broken Link
  • www.redhat.com https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html Third Party Advisory
  • nvd.nist.gov Official NVD record