PHP 5.3.8 zend_builtin_functions.c define 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.
5.0$0-$5k0.00

Summaryinfo

A vulnerability was found in PHP 5.3.8. It has been rated as problematic. This affects the function define of the file zend_builtin_functions.c. This manipulation causes input validation. This vulnerability is handled as CVE-2011-4153. Additionally, an exploit exists.

Detailsinfo

A vulnerability classified as problematic was found in PHP 5.3.8 (Programming Language Software). Affected by this vulnerability is the function define of the file zend_builtin_functions.c. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect availability. The summary by CVE is:

PHP 5.3.8 does not always check the return value of the zend_strndup function, which might allow remote attackers to cause a denial of service (NULL pointer dereference and application crash) via crafted input to an application that performs strndup operations on untrusted string data, as demonstrated by the define function in zend_builtin_functions.c, and unspecified functions in ext/soap/php_sdl.c, ext/standard/syslog.c, ext/standard/browscap.c, ext/oci8/oci8.c, ext/com_dotnet/com_typeinfo.c, and main/php_open_temporary_file.c.

The weakness was released 01/18/2012 by Maksymilian Arciemowicz (Website). The advisory is shared at exploit-db.com. This vulnerability is known as CVE-2011-4153 since 10/21/2011. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.

A public exploit has been developed by Maksymilian Arciemowicz and been published even before and not after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 4 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 68569 (Oracle Linux 5 : php (ELSA-2012-1045)), 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 185005 (HP-UX Apache Web Server Running PHP Denial of Service Vulenrability (HPSBUX02791)).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at X-Force (72396), Exploit-DB (18370), Tenable (68569), SecurityFocus (BID 51417†) and OSVDB (78570†). Entries connected to this vulnerability are available at VDB-4600, VDB-5319, VDB-5701 and VDB-9012. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

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: 5.0

VulDB Base Score: 5.3
VulDB Temp Score: 5.0
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
Author: Maksymilian Arciemowicz
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 68569
Nessus Name: Oracle Linux 5 : php (ELSA-2012-1045)
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: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

10/21/2011 🔍
01/14/2012 +85 days 🔍
01/14/2012 +0 days 🔍
01/14/2012 +0 days 🔍
01/14/2012 +0 days 🔍
01/18/2012 +4 days 🔍
01/18/2012 +0 days 🔍
04/03/2012 +76 days 🔍
07/12/2013 +465 days 🔍
03/23/2015 +619 days 🔍
10/19/2024 +3498 days 🔍

Sourcesinfo

Product: php.org

Advisory: RHSA-2012:0546
Researcher: Maksymilian Arciemowicz
Status: Confirmed

CVE: CVE-2011-4153 (🔍)
GCVE (CVE): GCVE-0-2011-4153
GCVE (VulDB): GCVE-100-59941

OVAL: 🔍

X-Force: 72396
SecurityFocus: 51417 - PHP 'zend_strndup()' Multiple NULL Pointer Dereference Denial Of Service Vulnerabilities
Secunia: 48668
OSVDB: 78570
Vulnerability Center: 34801 - PHP 5.3.8 \x27zend_strndup\x27 Function Flaw Allows Remote DoS via Crafted Input, Medium

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

Entryinfo

Created: 03/23/2015 16:50
Updated: 10/19/2024 03:10
Changes: 03/23/2015 16:50 (64), 04/10/2017 18:04 (19), 11/28/2021 23:05 (4), 10/19/2024 03:10 (14)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!