PHP 5.3.8 zend_builtin_functions.c define input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.0 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.0
VulDB Base Score: 5.3
VulDB Temp Score: 5.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Input validationCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
10/21/2011 🔍01/14/2012 🔍
01/14/2012 🔍
01/14/2012 🔍
01/14/2012 🔍
01/18/2012 🔍
01/18/2012 🔍
04/03/2012 🔍
07/12/2013 🔍
03/23/2015 🔍
10/19/2024 🔍
Sources
Product: php.orgAdvisory: 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: 🔍
Entry
Created: 03/23/2015 16:50Updated: 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.
No comments yet. Languages: en.
Please log in to comment.