PHP up to 5.3.10 magic_quotes_gpc input validation

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

A vulnerability, which was classified as critical, was found in PHP up to 5.3.10 (Programming Language Software). This affects some unknown functionality of the component magic_quotes_gpc. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

PHP before 5.3.10 does not properly perform a temporary change to the magic_quotes_gpc directive during the importing of environment variables, which makes it easier for remote attackers to conduct SQL injection attacks via a crafted request, related to main/php_variables.c, sapi/cgi/cgi_main.c, and sapi/fpm/fpm/fpm_main.c.

The weakness was shared 02/09/2012 with PHP as HT5501 as confirmed advisory (Website). The advisory is shared at support.apple.com. This vulnerability is uniquely identified as CVE-2012-0831 since 01/19/2012. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Neither technical details nor an exploit are publicly available.

The vulnerability scanner Nessus provides a plugin with the ID 58938 (FreeBSD : php -- multiple vulnerabilities (2cde1892-913e-11e1-b44c-001fd0af1a4c)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 156689 (Oracle Enterprise Linux Security Update for php53 (ELSA-2013-1307)).

Upgrading to version 5.3.11 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (73125), Tenable (58938), SecurityFocus (BID 51954†), OSVDB (79017†) and Secunia (SA47878†). The entries VDB-62395, VDB-62393 and VDB-62388 are related to this item.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 8.5

VulDB Base Score: 9.8
VulDB Temp Score: 8.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 58938
Nessus Name: FreeBSD : php -- multiple vulnerabilities (2cde1892-913e-11e1-b44c-001fd0af1a4c)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 71135
OpenVAS Name: Debian Security Advisory DSA 2408-1 (php5)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: PHP 5.3.11

Timelineinfo

01/19/2012 🔍
02/09/2012 +21 days 🔍
02/10/2012 +1 days 🔍
02/10/2012 +0 days 🔍
02/10/2012 +0 days 🔍
02/24/2012 +14 days 🔍
03/21/2012 +26 days 🔍
05/01/2012 +41 days 🔍
05/08/2012 +7 days 🔍
03/20/2021 +3238 days 🔍

Sourcesinfo

Product: php.org

Advisory: HT5501
Organization: PHP
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-0831 (🔍)
OVAL: 🔍

X-Force: 73125 - PHP magic_quotes_gpc security bypass, Medium Risk
SecurityFocus: 51954 - PHP CVE-2012-0831 'magic_quotes_gpc' Directive Security Bypass Weakness
Secunia: 47878 - Ubuntu update for php5, Highly Critical
OSVDB: 79017
Vulnerability Center: 35013 - PHP Before 5.3.10 d Bypass Allows Remote SQL Injections via a Crafted Request, Medium

See also: 🔍

Entryinfo

Created: 02/24/2012 01:00 AM
Updated: 03/20/2021 06:32 PM
Changes: 02/24/2012 01:00 AM (79), 04/11/2017 11:17 AM (9), 03/20/2021 06:32 PM (3)
Complete: 🔍
Cache ID: 18:EA5: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!