| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.7 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in PHP up to 4.3.10/5.0.3. Impacted is the function shmop_write. The manipulation leads to privileges management.
This vulnerability is documented as CVE-2004-1018. The attack can be initiated remotely. Additionally, an exploit exists.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in PHP up to 4.3.10/5.0.3 (Programming Language Software). It has been rated as critical. This issue affects the function shmop_write. The manipulation with an unknown input leads to a privileges management vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Multiple integer handling errors in PHP before 4.3.10 allow attackers to bypass safe mode restrictions, cause a denial of service, or execute arbitrary code via (1) a negative offset value to the shmop_write function, (2) an "integer overflow/underflow" in the pack function, or (3) an "integer overflow/underflow" in the unpack function. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.
The weakness was released 12/16/2004 by Stefano Di Paola with PHP Team (Website). The advisory is shared at php.net. The identification of this vulnerability is CVE-2004-1018 since 11/04/2004. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. MITRE ATT&CK project uses the attack technique T1068 for this issue.
The exploit is available at securityfocus.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 18091 (Mandrake Linux Security Advisory : php (MDKSA-2005:072)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12144 (PHP Multiple Remote 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 5 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (18515), Exploit-DB (24854), Tenable (18091), SecurityFocus (BID 12045†) and OSVDB (12411†). hardened-php.net is providing further details. Entries connected to this vulnerability are available at VDB-1060, VDB-1059, VDB-1056 and VDB-1055. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
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: 8.6VulDB Meta Temp Score: 7.7
VulDB Base Score: 8.6
VulDB Temp Score: 7.7
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: 18091
Nessus Name: Mandrake Linux Security Advisory : php (MDKSA-2005:072)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: php.net
Timeline
11/04/2004 🔍12/16/2004 🔍
12/16/2004 🔍
12/16/2004 🔍
12/20/2004 🔍
01/03/2005 🔍
01/10/2005 🔍
04/18/2005 🔍
04/19/2005 🔍
01/31/2025 🔍
Sources
Product: php.orgAdvisory: php.net
Researcher: Stefano Di Paola
Organization: PHP Team
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2004-1018 (🔍)
GCVE (CVE): GCVE-0-2004-1018
GCVE (VulDB): GCVE-100-1061
OVAL: 🔍
X-Force: 18515
SecurityFocus: 12045 - PHP Shared Memory Module Offset Memory Corruption Vulnerability
Secunia: 13481 - PHP Multiple Vulnerabilities, Highly Critical
OSVDB: 12411 - PHP unpack() Function Heap Information Leak
scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
See also: 🔍
Entry
Created: 01/03/2005 10:23Updated: 01/31/2025 03:11
Changes: 01/03/2005 10:23 (87), 06/30/2019 16:30 (3), 01/31/2025 03:11 (18)
Complete: 🔍
Cache ID: 216:EAF:103
No comments yet. Languages: en.
Please log in to comment.