PHP up to 7.0.1 ext/standard/exec.c php_escape_shell_cmd/php_escape_shell_arg numeric error
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.1 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in PHP up to 7.0.1. The impacted element is the function php_escape_shell_cmd/php_escape_shell_arg of the file ext/standard/exec.c. This manipulation causes numeric error.
The identification of this vulnerability is CVE-2016-1904. It is possible to initiate the attack remotely. There is no exploit available.
It is suggested to upgrade the affected component.
Details
A vulnerability has been found in PHP up to 7.0.1 (Programming Language Software) and classified as critical. Affected by this vulnerability is the function php_escape_shell_cmd/php_escape_shell_arg of the file ext/standard/exec.c. The manipulation with an unknown input leads to a numeric error vulnerability. The CWE definition for the vulnerability is CWE-189. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
Multiple integer overflows in ext/standard/exec.c in PHP 7.x before 7.0.2 allow remote attackers to cause a denial of service or possibly have unspecified other impact via a long string to the (1) php_escape_shell_cmd or (2) php_escape_shell_arg function, leading to a heap-based buffer overflow.
The weakness was shared 01/19/2016 (Website). The advisory is shared at github.com. This vulnerability is known as CVE-2016-1904 since 01/14/2016. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.
We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 88680 (PHP 7.x < 7.0.2 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r.
Upgrading to version 7.0.2 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (88680), SecurityFocus (BID 81296†) and Vulnerability Center (SBV-56171†). The entries VDB-91502, VDB-91503 and VDB-95041 are related to this item. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
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: 7.3VulDB Meta Temp Score: 7.1
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.3
NVD Vector: 🔍
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: Numeric errorCWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 88680
Nessus Name: PHP 7.x < 7.0.2 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 103043
OpenVAS Name: PHP Multiple Integer Overflow Vulnerabilities - Mar16 (Windows)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 7.0.2
Patch: github.com
Timeline
01/07/2016 🔍01/14/2016 🔍
01/15/2016 🔍
01/19/2016 🔍
01/19/2016 🔍
01/19/2016 🔍
01/20/2016 🔍
01/26/2016 🔍
02/10/2016 🔍
07/03/2022 🔍
Sources
Product: php.orgAdvisory: 71270
Status: Not defined
Confirmation: 🔍
CVE: CVE-2016-1904 (🔍)
GCVE (CVE): GCVE-0-2016-1904
GCVE (VulDB): GCVE-100-80329
SecurityFocus: 81296 - PHP CVE-2016-1904 Multiple Heap Overflow Vulnerabilities
SecurityTracker: 1034608
Vulnerability Center: 56171 - PHP Remote DoS or Unspecified Vulnerability in php_escape_shell, High
See also: 🔍
Entry
Created: 01/20/2016 10:08Updated: 07/03/2022 16:45
Changes: 01/20/2016 10:08 (68), 07/05/2018 08:51 (15), 07/03/2022 16:45 (6)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.