PHP up to 5.6.30/7.0.20/7.1.6 Zend/zend_ini_parser.c zend_ini_do_op memory corruption

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

Summaryinfo

A vulnerability categorized as critical has been discovered in PHP up to 5.6.30/7.0.20/7.1.6. This issue affects the function zend_ini_do_op of the file Zend/zend_ini_parser.c. Such manipulation leads to memory corruption. This vulnerability is traded as CVE-2017-11628. The attack may be launched remotely. There is no exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in PHP up to 5.6.30/7.0.20/7.1.6 (Programming Language Software) and classified as critical. Affected by this issue is the function zend_ini_do_op of the file Zend/zend_ini_parser.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. CVE summarizes:

In PHP before 5.6.31, 7.x before 7.0.21, and 7.1.x before 7.1.7, a stack-based buffer overflow in the zend_ini_do_op() function in Zend/zend_ini_parser.c could cause a denial of service or potentially allow executing code. NOTE: this is only relevant for PHP applications that accept untrusted input (instead of the system's php.ini file) for the parse_ini_string or parse_ini_file function, e.g., a web application for syntax validation of php.ini directives.

The bug was discovered 07/26/2017. The weakness was shared 07/25/2017 with Nanyang Technological University (Website). The advisory is shared for download at git.php.net. This vulnerability is handled as CVE-2017-11628 since 07/25/2017. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 102786 (Debian DLA-1066-1 : php5 security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196874 (Ubuntu Security Notification for Php5, Php7.0 Vulnerabilities (USN-3382-1)).

Upgrading to version 5.6.31, 7.0.21 or 7.1.7 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (102786) and SecurityFocus (BID 99489†). The entries VDB-95169, VDB-95170, VDB-95195 and VDB-97454 are related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 102786
Nessus Name: Debian DLA-1066-1 : php5 security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 103043
OpenVAS Name: PHP Multiple Vulnerabilities - Jul17 (Windows)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: PHP 5.6.31/7.0.21/7.1.7
Patch: 05255749139b3686c8a6a58ee01131ac0047465e

Timelineinfo

07/10/2017 🔍
07/25/2017 +15 days 🔍
07/25/2017 +0 days 🔍
07/25/2017 +0 days 🔍
07/26/2017 +1 days 🔍
07/26/2017 +0 days 🔍
08/26/2017 +31 days 🔍
08/28/2017 +2 days 🔍
12/14/2022 +1934 days 🔍

Sourcesinfo

Product: php.org

Advisory: RHSA-2018:1296
Researcher: Wei Lei, Liu Yang
Organization: Nanyang Technological University
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-11628 (🔍)
GCVE (CVE): GCVE-0-2017-11628
GCVE (VulDB): GCVE-100-104504

OVAL: 🔍

SecurityFocus: 99489 - PHP 'zend_ini_do_op()' Function Stack Buffer Overflow Vulnerability

See also: 🔍

Entryinfo

Created: 07/26/2017 18:13
Updated: 12/14/2022 08:26
Changes: 07/26/2017 18:13 (77), 11/01/2019 11:03 (6), 01/06/2021 13:07 (2), 12/14/2022 08:26 (5)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!