| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in PHP 4.4.0. Affected by this vulnerability is an unknown functionality of the component PCRE Library. The manipulation as part of Regular Expression results in memory corruption. This vulnerability was named CVE-2005-3054. The attack may be performed from remote. In addition, an exploit is available. Upgrading the affected component is advised.
Details
A vulnerability, which was classified as critical, was found in PHP 4.4.0 (Programming Language Software). Affected is an unknown function of the component PCRE Library. The manipulation as part of a Regular Expression leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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 10/31/2005 by Stefan Esser with Hardened-PHP Project (Website). The advisory is shared for download at hardened-php.net. This vulnerability is traded as CVE-2005-3054 since 09/26/2005. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are unknown but an exploit is available.
After even before and not, there has been an exploit disclosed. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 40 days. During that time the estimated underground price was around $25k-$100k. 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).
Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at php.net. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (20624), SecurityFocus (BID 14957†), OSVDB (19712†), Secunia (SA17557†) and Vulnerability Center (SBV-9426†). See VDB-1773, VDB-1846, VDB-1844 and VDB-1850 for similar entries. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: php.net
Timeline
08/17/2005 🔍09/26/2005 🔍
09/26/2005 🔍
09/27/2005 🔍
09/27/2005 🔍
09/27/2005 🔍
10/31/2005 🔍
11/01/2005 🔍
11/13/2005 🔍
01/15/2006 🔍
06/29/2025 🔍
Sources
Product: php.orgAdvisory: hardened-php.net
Researcher: Stefan Esser
Organization: Hardened-PHP Project
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2005-3054 (🔍)
GCVE (CVE): GCVE-0-2005-3054
GCVE (VulDB): GCVE-100-1848
SecurityFocus: 14957 - PHP Open_BaseDir Security Restriction Bypass Vulnerability
Secunia: 17557 - Mandriva update for php, Moderately Critical
OSVDB: 19712 - PHP Trailing Slash open_basedir Arbitrary Directory Access
Vulnerability Center: 9426
Vupen: ADV-2005-2254
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 11/01/2005 10:25Updated: 06/29/2025 10:07
Changes: 11/01/2005 10:25 (91), 07/05/2019 08:30 (1), 07/12/2024 06:05 (17), 06/29/2025 10:07 (4)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.