PHP up to 4.4.0/5.0.5 opendir_basedir information disclosure

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.8$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in PHP up to 4.4.0/5.0.5. This affects the function opendir_basedir. Performing a manipulation with the input / results in information disclosure. This vulnerability was named CVE-2005-3054. The attack may be initiated remotely. In addition, an exploit is available. It is suggested to use restrictive firewalling.

Detailsinfo

A vulnerability classified as critical has been found in PHP up to 4.4.0/5.0.5 (Programming Language Software). This affects the function opendir_basedir. The manipulation with the input value / leads to a information disclosure vulnerability. CWE is classifying the issue as CWE-200. The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. This is going to have an impact on confidentiality. The summary by CVE is:

fopen_wrappers.c in PHP 4.4.0, and possibly other versions, does not properly restrict access to other directories when the open_basedir directive includes a trailing slash, which allows PHP scripts in one directory to access files in other directories whose names are substrings of the original directory.

The bug was discovered 09/27/2005. The weakness was presented 08/17/2005 by Thorben (Website). The advisory is shared at bugs.debian.org. This vulnerability is uniquely identified as CVE-2005-3054 since 09/26/2005. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a exploit are known. MITRE ATT&CK project uses the attack technique T1592 for this issue.

After immediately, there has been an exploit disclosed. The exploit is shared for download at bugs.debian.org. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 20624 (Ubuntu 4.10 / 5.04 : php4 vulnerability (USN-207-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12201 (PHP Safedir Restriction Bypass Vulnerabilities).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at php.net.It is possible to mitigate the weakness by firewalling . The best possible mitigation is suggested to be applying a restrictive firewalling. A possible mitigation has been published 3 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (20624), SecurityFocus (BID 14957†), OSVDB (19712†), Secunia (SA16971†) and Vulnerability Center (SBV-9426†). See VDB-1848 and VDB-1849 for similar entries. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.8

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Information disclosure
CWE: CWE-200 / CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 20624
Nessus Name: Ubuntu 4.10 / 5.04 : php4 vulnerability (USN-207-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 55857
OpenVAS Name: Gentoo Security Advisory GLSA 200511-08 (PHP)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Firewall
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Patch: php.net

Timelineinfo

08/17/2005 🔍
08/17/2005 +0 days 🔍
09/26/2005 +40 days 🔍
09/26/2005 +0 days 🔍
09/27/2005 +1 days 🔍
09/27/2005 +0 days 🔍
09/27/2005 +0 days 🔍
10/04/2005 +6 days 🔍
10/17/2005 +13 days 🔍
01/15/2006 +90 days 🔍
06/29/2025 +7105 days 🔍

Sourcesinfo

Product: php.org

Advisory: bugs.debian.org
Researcher: Thorben
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2005-3054 (🔍)
GCVE (CVE): GCVE-0-2005-3054
GCVE (VulDB): GCVE-100-1773
SecurityFocus: 14957 - PHP Open_BaseDir Security Restriction Bypass Vulnerability
Secunia: 16971 - PHP Trailing Slash "open_basedir" Security Bypass, Not Critical
OSVDB: 19712 - PHP Trailing Slash open_basedir Arbitrary Directory Access
Vulnerability Center: 9426
Vupen: ADV-2005-1862

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 10/04/2005 10:59
Updated: 06/29/2025 10:07
Changes: 10/04/2005 10:59 (87), 07/04/2019 15:57 (4), 07/12/2024 05:17 (19), 06/29/2025 10:07 (6)
Complete: 🔍
Cache ID: 216:74D:103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!