PHP 4.4.7/5.2.3 mysqli access control

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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability was found in PHP 4.4.7/5.2.3. It has been declared as critical. This affects an unknown function of the component mysqli. Such manipulation leads to access control. This vulnerability is listed as CVE-2007-3997. The attack may be performed from remote. In addition, an exploit is available. It is recommended to upgrade the affected component. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Detailsinfo

A vulnerability was found in PHP 4.4.7/5.2.3 (Programming Language Software). It has been rated as critical. Affected by this issue is some unknown processing of the component mysqli. The manipulation with an unknown input leads to a access control vulnerability. Using CWE to declare the problem leads to CWE-264. Impacted is confidentiality, integrity, and availability. CVE summarizes:

The (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE.

The bug was discovered 08/30/2007. The weakness was presented 09/04/2007 by Maksymilian Arciemowicz (shinnai) (Website). The advisory is available at secunia.com. This vulnerability is handled as CVE-2007-3997 since 07/25/2007. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are unknown but a public exploit is available. This vulnerability is assigned to T1068 by the MITRE ATT&CK project.

The exploit is available at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 5 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 26038 (FreeBSD : php -- multiple vulnerabilities (71d903fc-602d-11dc-898c-001921ab2fa4)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l.

Upgrading to version 5.2.3 eliminates this vulnerability. A possible mitigation has been published 1 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (36384), Exploit-DB (4392), Tenable (26038), SecurityFocus (BID 25498†) and OSVDB (36867†). See VDB-3203, VDB-3288, VDB-3284 and VDB-3285 for similar entries. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 26038
Nessus Name: FreeBSD : php -- multiple vulnerabilities (71d903fc-602d-11dc-898c-001921ab2fa4)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 58803
OpenVAS Name: FreeBSD Ports: php5
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: PHP 5.2.3

Timelineinfo

07/25/2007 🔍
08/30/2007 +36 days 🔍
08/31/2007 +1 days 🔍
08/31/2007 +0 days 🔍
09/04/2007 +4 days 🔍
09/04/2007 +0 days 🔍
09/04/2007 +0 days 🔍
09/11/2007 +7 days 🔍
09/14/2007 +3 days 🔍
09/18/2007 +4 days 🔍
03/16/2015 +2736 days 🔍
10/07/2024 +3492 days 🔍

Sourcesinfo

Product: php.org

Advisory: secunia.com
Researcher: Maksymilian Arciemowicz (shinnai)
Status: Not defined
Confirmation: 🔍

CVE: CVE-2007-3997 (🔍)
GCVE (CVE): GCVE-0-2007-3997
GCVE (VulDB): GCVE-100-38618
X-Force: 36384
SecurityFocus: 25498 - PHP 5.2.3 and Prior Versions Multiple Vulnerabilities
Secunia: 26642
OSVDB: 36867 - PHP LOCAL INFILE security bypass
Vulnerability Center: 16072 - PHP MySQL and MySQLi Extensions Remote Bypass of safe_mode and open_basedir Restrictions, High
Vupen: ADV-2007-3023

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/16/2015 12:18 PM
Updated: 10/07/2024 12:04 AM
Changes: 03/16/2015 12:18 PM (74), 07/25/2019 08:11 PM (14), 10/07/2024 12:04 AM (17)
Complete: 🔍
Cache ID: 244:09B:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!