PHP 4.3/4.3.1/4.3.2 Wrapper fopen_wrappers.c php_check_safe_mode_include_dir privileges management
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in PHP 4.3/4.3.1/4.3.2. The affected element is the function php_check_safe_mode_include_dir of the file fopen_wrappers.c of the component Wrapper. The manipulation of the argument safe_mode_include_dir results in privileges management.
This vulnerability is cataloged as CVE-2003-0863. Furthermore, there is an exploit available.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in PHP 4.3/4.3.1/4.3.2 (Programming Language Software). It has been classified as critical. Affected is the function php_check_safe_mode_include_dir of the file fopen_wrappers.c of the component Wrapper. The manipulation of the argument safe_mode_include_dir with an unknown input leads to a privileges management vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
The php_check_safe_mode_include_dir function in fopen_wrappers.c of PHP 4.3.x returns a success value (0) when the safe_mode_include_dir variable is not specified in configuration, which differs from the previous failure value and may allow remote attackers to exploit file include vulnerabilities in PHP applications.
The weakness was shared 11/17/2003 as not defined posting (Bugtraq). The advisory is available at marc.theaimsgroup.com. This vulnerability is traded as CVE-2003-0863 since 10/13/2003. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known. This vulnerability is assigned to T1068 by the MITRE ATT&CK project.
The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 11807 (PHP < 4.3.3 php_check_safe_mode_include_dir Function Safemode Bypass), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 11423 (PHP4 Multiple Vulnerabilities).
Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (12714), Exploit-DB (22911), Tenable (11807), SecurityFocus (BID 8201†) and Vulnerability Center (SBV-1879†). The entries VDB-20991 and VDB-20992 are related to this item. If you want to get best quality of vulnerability data, you may have to visit 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: 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: 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: 11807
Nessus Name: PHP < 4.3.3 php_check_safe_mode_include_dir Function Safemode Bypass
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
01/01/2003 🔍07/16/2003 🔍
07/25/2003 🔍
08/25/2003 🔍
09/02/2003 🔍
10/13/2003 🔍
11/17/2003 🔍
11/17/2003 🔍
08/15/2014 🔍
12/26/2024 🔍
Sources
Product: php.orgAdvisory: marc.theaimsgroup.com
Status: Confirmed
CVE: CVE-2003-0863 (🔍)
GCVE (CVE): GCVE-0-2003-0863
GCVE (VulDB): GCVE-100-20994
X-Force: 12714
SecurityFocus: 8201 - PHP Undefined Safe_Mode_Include_Dir Safemode Bypass Vulnerability
Vulnerability Center: 1879 - PHP 4.3.0-4.3.2 Bypassing of Safe Mode Enables Unauthorized File Access, Low
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 08/15/2014 16:41Updated: 12/26/2024 23:57
Changes: 08/15/2014 16:41 (68), 05/12/2019 09:55 (5), 12/26/2024 23:57 (27)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.