PHP 4.4.7/5.2.3 session_save_path/error_log privileges management
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.2 | $0-$5k | 0.00 |
Summary
A vulnerability identified as problematic has been detected in PHP 4.4.7/5.2.3. The affected element is the function session_save_path/error_log. Performing a manipulation results in privileges management.
This vulnerability is reported as CVE-2007-3378. The attack is possible to be carried out remotely. No exploit exists.
You should upgrade the affected component.
Details
A vulnerability classified as problematic has been found in PHP 4.4.7/5.2.3 (Programming Language Software). This affects the function session_save_path/error_log. The manipulation 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, and integrity. The summary by CVE is:
The (1) session_save_path, (2) ini_set, and (3) error_log functions in PHP 4.4.7 and earlier, and PHP 5 5.2.3 and earlier, when invoked from a .htaccess file, allow remote attackers to bypass safe_mode and open_basedir restrictions and possibly execute arbitrary commands, as demonstrated using (a) php_value, (b) php_flag, and (c) directives in .htaccess.
The weakness was disclosed 01/03/2008 by Gerhard Wagner (Website). The advisory is shared at php.net. This vulnerability is uniquely identified as CVE-2007-3378 since 06/25/2007. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1068 for this issue.
It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 29833 (PHP < 4.4.8 Multiple Vulnerabilities), 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 12261 (PHP Update 4.4.8 Not Installed).
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.
The vulnerability is also documented in the databases at X-Force (35102), Tenable (29833), SecurityFocus (BID 24661†), OSVDB (36869†) and Secunia (SA28318†). The entries VDB-3203, VDB-3284, VDB-3285 and VDB-3453 are pretty similar. Several companies clearly confirm that VulDB is the primary source for best 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: 4.8VulDB Meta Temp Score: 4.2
VulDB Base Score: 4.8
VulDB Temp Score: 4.2
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: 🔍
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: 29833
Nessus Name: PHP < 4.4.8 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 60386
OpenVAS Name: Slackware Advisory SSA:2008-045-03 php
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Patch: php.net
Timeline
06/25/2007 🔍06/27/2007 🔍
06/29/2007 🔍
06/29/2007 🔍
08/31/2007 🔍
09/10/2007 🔍
01/03/2008 🔍
01/03/2008 🔍
01/03/2008 🔍
01/21/2008 🔍
03/16/2021 🔍
Sources
Product: php.orgAdvisory: php.net
Researcher: Gerhard Wagner
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2007-3378 (🔍)
GCVE (CVE): GCVE-0-2007-3378
GCVE (VulDB): GCVE-100-3537
OVAL: 🔍
X-Force: 35102 - PHP .htaccess security bypass, Medium Risk
SecurityFocus: 24661 - PHP .Htaccess Safe_Mode and Open_Basedir Restriction-Bypass Vulnerability
Secunia: 28318 - PHP Multiple Vulnerabilities, Moderately Critical
OSVDB: 36869 - PHP Multiple Function .htaccess php_value Directive Arbitrary Command Execution
Vulnerability Center: 16012 - PHP Vulnerabilities Allows Remote Attacker to Bypass Restrictions and Execute Arbitrary Commands, Medium
Vupen: ADV-2007-3023
See also: 🔍
Entry
Created: 01/21/2008 15:07Updated: 03/16/2021 10:35
Changes: 01/21/2008 15:07 (83), 06/07/2017 16:04 (10), 03/16/2021 10:35 (2)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.