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.
Published: 2007-06-04
Score: 5.0 Medium
EPSS: 1.2% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2007-2999 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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-07T13:57:54.929Z

Reserved: 2007-06-04T00:00:00.000Z

Link: CVE-2007-3007

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2007-06-04T17:30:00.000

Modified: 2026-04-23T00:35:47.467

Link: CVE-2007-3007

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses