CVE-2007-3007

PHP 5.0.0-5.2.2 - Unauthenticated Arbitrary File Existence Disclosure via readfile Function

Title source: llm
STIX 2.1

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.

References (13)

Core 13
Core References
Broken Link vdb-entry x_refsource_osvdb
http://osvdb.org/36084
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26231
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27110
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26048
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
Third Party Advisory vendor-advisory x_refsource_fedora
https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/25456
Broken Link vendor-advisory x_refsource_trustix
http://www.trustix.org/errata/2007/0023/
Vendor Advisory x_refsource_confirm
http://www.php.net/releases/5_2_3.php
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/24259
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27102
Vendor Advisory x_refsource_confirm
http://bugs.php.net/bug.php?id=41492
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html

Scores

EPSS 0.0116
EPSS Percentile 78.8%

Details

CWE
CWE-264
Status published
Products (1)
php/php 5.0.0 - 5.2.3
Published Jun 04, 2007
Tracked Since Feb 18, 2026