| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.8 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in PHP 5.0.2 and classified as problematic. Affected by this issue is some unknown functionality of the file php_variables.c. This manipulation causes privileges management. This vulnerability is registered as CVE-2004-0958. Furthermore, an exploit is available. The affected component should be upgraded.
Details
A vulnerability classified as problematic was found in PHP 5.0.2 (Programming Language Software). Affected by this vulnerability is an unknown part of the file php_variables.c. The manipulation with an unknown input leads to a privileges management vulnerability. The CWE definition for the vulnerability is CWE-269. The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. As an impact it is known to affect confidentiality. The summary by CVE is:
php_variables.c in PHP before 5.0.2 allows remote attackers to read sensitive memory contents via (1) GET, (2) POST, or (3) COOKIE GPC variables that end in an open bracket character, which causes PHP to calculate an incorrect string length.
The bug was discovered 09/15/2004. The weakness was published 11/03/2004 by Stefano Di Paola with isec (Website). It is possible to read the advisory at xforce.iss.net. This vulnerability is known as CVE-2004-0958 since 10/13/2004. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.
It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 49 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 16041 (RHEL 3 : php (RHSA-2004:687)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Red Hat Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12187 (PHP Memory Leak and Arbitrary File Location Upload Vulnerabilities).
Upgrading to version 5.0.2 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (17393), Exploit-DB (24656), Tenable (16041), SecurityFocus (BID 11334†) and OSVDB (12601†). Similar entry is available at VDB-22376. Be aware that VulDB is the high quality source for vulnerability data.
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: 5.3VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
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: Privileges managementCWE: CWE-269 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 16041
Nessus Name: RHEL 3 : php (RHSA-2004:687)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 52359
OpenVAS Name: php -- php_variables memory disclosure
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: PHP 5.0.2
Timeline
09/15/2004 🔍09/15/2004 🔍
09/15/2004 🔍
09/15/2004 🔍
10/13/2004 🔍
11/03/2004 🔍
11/03/2004 🔍
12/21/2004 🔍
12/23/2004 🔍
01/26/2005 🔍
04/14/2015 🔍
02/01/2025 🔍
Sources
Product: php.orgAdvisory: xforce.iss.net
Researcher: Stefano Di Paola
Organization: isec
Status: Confirmed
CVE: CVE-2004-0958 (🔍)
GCVE (CVE): GCVE-0-2004-0958
GCVE (VulDB): GCVE-100-22375
OVAL: 🔍
X-Force: 17393
SecurityFocus: 11334 - PHP PHP_Variables Remote Memory Disclosure Vulnerability
Secunia: 12560
OSVDB: 12601 - CVE-2004-0958 - PHP - Information Disclosure Issue
SecurityTracker: 1011279
Vulnerability Center: 6919 - PHP Arbitrary Memory Read via PHP_Variables with Open Bracket Character, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 04/14/2015 13:22Updated: 02/01/2025 22:51
Changes: 04/14/2015 13:22 (75), 05/29/2019 16:10 (14), 02/01/2025 22:51 (25)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.