PHP 4.4.7/5.2.3 LOCAL INFILE security check

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.7$0-$5k0.00

A vulnerability was found in PHP 4.4.7/5.2.3 (Programming Language Software). It has been rated as problematic. Affected by this issue is an unknown functionality of the component LOCAL INFILE Handler. The manipulation with an unknown input leads to a security check vulnerability. Using CWE to declare the problem leads to CWE-358. The product does not implement or incorrectly implements one or more security-relevant checks as specified by the design of a standardized algorithm, protocol, or technique. Impacted is confidentiality, and integrity. CVE summarizes:

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 released 01/03/2008 by Gerhard Wagner (Website). The advisory is shared for download at php.net. This vulnerability is handled as CVE-2007-3378 since 06/25/2007. The attack may be launched remotely. No form of authentication is required for exploitation. There are neither technical details nor an exploit publicly available. The MITRE ATT&CK project declares the attack technique as T1211.

It is declared as proof-of-concept. As 0-day the estimated underground price was around $25k-$100k. 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†). Entries connected to this vulnerability are available at VDB-3203, VDB-3284, VDB-3285 and VDB-3453. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.5
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Security check
CWE: CWE-358
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍
Patch: php.net

Timelineinfo

06/25/2007 🔍
06/27/2007 +2 days 🔍
06/29/2007 +2 days 🔍
08/31/2007 +63 days 🔍
01/03/2008 +124 days 🔍
01/03/2008 +0 days 🔍
01/21/2008 +18 days 🔍
03/16/2021 +4803 days 🔍

Sourcesinfo

Product: php.org

Advisory: php.net
Researcher: Gerhard Wagner
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-3378 (🔍)
GCVE (CVE): GCVE-0-2007-3378
GCVE (VulDB): GCVE-100-3536

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
Vupen: ADV-2007-3023

See also: 🔍

Entryinfo

Created: 01/21/2008 03:07 PM
Updated: 03/16/2021 10:32 AM
Changes: 01/21/2008 03:07 PM (77), 06/07/2017 04:04 PM (3), 03/16/2021 10:26 AM (7), 03/16/2021 10:32 AM (1)
Complete: 🔍
Cache ID: 18:08E:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!