PHP up to 7.0.1 ext/standard/exec.c php_escape_shell_cmd/php_escape_shell_arg numeric error

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.
7.1$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Numeric error
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PHP 7.0.2
Patch: github.com

Timelineinfo

01/07/2016 🔍
01/14/2016 +7 days 🔍
01/15/2016 +1 days 🔍
01/19/2016 +4 days 🔍
01/19/2016 +0 days 🔍
01/19/2016 +0 days 🔍
01/20/2016 +1 days 🔍
01/26/2016 +6 days 🔍
02/10/2016 +15 days 🔍
07/03/2022 +2335 days 🔍

Sourcesinfo

Product: php.org

Advisory: 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: 🔍

Entryinfo

Created: 01/20/2016 10:08
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!