PHP up to 5.3.10 header 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.
4.8$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in PHP up to 5.3.10. The affected element is the function header. Performing a manipulation results in input validation. This vulnerability is reported as CVE-2011-1398. The attack is possible to be carried out remotely. Moreover, an exploit is present. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical has been found in PHP up to 5.3.10 (Programming Language Software). This affects the function header. 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 integrity. The summary by CVE is:

The sapi_header_op function in main/SAPI.c in PHP before 5.3.11 and 5.4.x before 5.4.0RC2 does not check for %0D sequences (aka carriage return characters), which allows remote attackers to bypass an HTTP response-splitting protection mechanism via a crafted URL, related to improper interaction between the PHP header function and certain browsers, as demonstrated by Internet Explorer and Google Chrome.

The weakness was disclosed 08/30/2012 (Website). It is possible to read the advisory at bugs.php.net. This vulnerability is uniquely identified as CVE-2011-1398 since 03/10/2011. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known.

The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 68751 (Oracle Linux 6 : php (ELSA-2013-0514)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 156748 (Oracle Enterprise Linux Security Update for PHP (ELSA-2013-1814)).

Upgrading to version 5.3.10 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (78278), Exploit-DB (37688), Tenable (68751), SecurityFocus (BID 54638†) and Secunia (SA55078†). The entries VDB-5794, VDB-7894 and VDB-62177 are pretty similar. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.8

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
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: 🔍

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: 68751
Nessus Name: Oracle Linux 6 : php (ELSA-2013-0514)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

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

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 5.3.10

Timelineinfo

03/10/2011 🔍
11/06/2011 +241 days 🔍
07/23/2012 +260 days 🔍
08/30/2012 +38 days 🔍
08/30/2012 +0 days 🔍
08/31/2012 +1 days 🔍
11/12/2012 +73 days 🔍
07/12/2013 +242 days 🔍
10/01/2013 +81 days 🔍
03/23/2015 +538 days 🔍
11/27/2024 +3536 days 🔍

Sourcesinfo

Product: php.org

Advisory: RHSA-2013:0514
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2011-1398 (🔍)
GCVE (CVE): GCVE-0-2011-1398
GCVE (VulDB): GCVE-100-61947

OVAL: 🔍

X-Force: 78278
SecurityFocus: 54638 - PHP '_php_stream_scandir()' Buffer Overflow Vulnerability
Secunia: 55078 - Red Hat update for php53, Less Critical
SecurityTracker: 1027463 - PHP HTTP Response Splitting Header Injection Protection Can Be Bypassed Using Carriage Return Characters
Vulnerability Center: 37149 - PHP Security Bypass Vulnerability Related to Improper Interaction Between PHP Header and Browsers, Medium

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

Entryinfo

Created: 03/23/2015 16:50
Updated: 11/27/2024 00:37
Changes: 03/23/2015 16:50 (72), 04/20/2017 22:14 (11), 12/12/2021 19:04 (3), 12/12/2021 19:12 (1), 12/12/2021 19:20 (2), 11/27/2024 00:37 (23)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!