PHP prior 5.1.0 parse_date.c function null pointer dereference
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
4.8 | $0-$5k | 0.00 |
A vulnerability was found in PHP (Programming Language Software). It has been classified as critical. This affects an unknown code block in the library ext/date/lib/parse_date.c. The manipulation of the argument function
with an unknown input leads to a null pointer dereference vulnerability. CWE is classifying the issue as CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. This is going to have an impact on availability. The summary by CVE is:
PHP before 5.3.7 does not properly check the return values of the malloc, calloc, and realloc library functions, which allows context-dependent attackers to cause a denial of service (NULL pointer dereference and application crash) or trigger a buffer overflow by leveraging the ability to provide an arbitrary value for a function argument, related to (1) ext/curl/interface.c, (2) ext/date/lib/parse_date.c, (3) ext/date/lib/parse_iso_intervals.c, (4) ext/date/lib/parse_tz.c, (5) ext/date/lib/timelib.c, (6) ext/pdo_odbc/pdo_odbc.c, (7) ext/reflection/php_reflection.c, (8) ext/soap/php_sdl.c, (9) ext/xmlrpc/libxmlrpc/base64.c, (10) TSRM/tsrm_win32.c, and (11) the strtotime function.
The weakness was released 08/25/2011 by Maksymilian Arciemowicz (Website). It is possible to read the advisory at xforce.iss.net. This vulnerability is uniquely identified as CVE-2011-3182. The exploitability is told to be easy. 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 securityfocus.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 69566 (Amazon Linux AMI : php (ALAS-2011-07)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350740 (Amazon Linux Security Advisory for php: ALAS-2011-007).
Upgrading to version 5.1.0 eliminates this vulnerability.
The vulnerability is also documented in the databases at X-Force (69430) and Tenable (69566). Entries connected to this vulnerability are available at 56856, 59364, 58367 and 57736.
Product
Type
Name
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
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: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 69566
Nessus Name: Amazon Linux AMI : php (ALAS-2011-07)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 71135
OpenVAS Name: Debian Security Advisory DSA 2408-1 (php5)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 5.1.0
Timeline
08/18/2011 🔍08/19/2011 🔍
08/19/2011 🔍
08/25/2011 🔍
08/25/2011 🔍
09/05/2011 🔍
03/23/2015 🔍
11/18/2021 🔍
Sources
Product: php.orgAdvisory: xforce.iss.net
Researcher: Maksymilian Arciemowicz
Status: Not defined
Confirmation: 🔍
CVE: CVE-2011-3182 (🔍)
OVAL: 🔍
IAVM: 🔍
X-Force: 69430
Vulnerability Center: 32954 - PHP before 5.3.7 Remote Denial of Service or Buffer Overflow Vulnerability, Medium
SecurityFocus: 49249 - PHP Prior to 5.3.7 Multiple NULL Pointer Dereference Denial Of Service Vulnerabilities
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/23/2015 16:50Updated: 11/18/2021 09:36
Changes: 03/23/2015 16:50 (63), 03/31/2017 11:56 (14), 11/18/2021 09:35 (4), 11/18/2021 09:36 (1)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.