// For flags

CVE-2017-11628

php: Stack based 1-byte buffer over-write in zend_ini_do_op() function Zend/zend_ini_parser.c

Severity Score

7.8
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

En PHP, en versiones anteriores a la 5.6.31, versiones 7.x anteriores a la 7.0.21 y versiones 7.1.x anteriores a la 7.1.7, un desbordamiento de búfer basado en pila en la función zend_ini_do_op() en Zend/zend_ini_parser.c podría provocar una denegación de servicio (DoS) o, posiblemente, permitir la ejecución de código. NOTA: esto solo es relevante en aplicaciones PHP que aceptan entradas no fiables (en lugar del archivo php.ini del sistema) para las funciones parse_ini_string o parse_ini_file. Por ejemplo, una aplicación web para la validación sintáctica de directivas php.ini.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2017-07-25 CVE Reserved
  • 2017-07-25 CVE Published
  • 2023-03-07 EPSS Updated
  • 2024-08-05 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-20: Improper Input Validation
  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
<= 5.6.30
Search vendor "Php" for product "Php" and version " <= 5.6.30"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.0
Search vendor "Php" for product "Php" and version "7.0.0"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.1
Search vendor "Php" for product "Php" and version "7.0.1"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.2
Search vendor "Php" for product "Php" and version "7.0.2"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.3
Search vendor "Php" for product "Php" and version "7.0.3"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.4
Search vendor "Php" for product "Php" and version "7.0.4"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.5
Search vendor "Php" for product "Php" and version "7.0.5"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.6
Search vendor "Php" for product "Php" and version "7.0.6"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.7
Search vendor "Php" for product "Php" and version "7.0.7"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.8
Search vendor "Php" for product "Php" and version "7.0.8"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.9
Search vendor "Php" for product "Php" and version "7.0.9"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.10
Search vendor "Php" for product "Php" and version "7.0.10"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.11
Search vendor "Php" for product "Php" and version "7.0.11"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.12
Search vendor "Php" for product "Php" and version "7.0.12"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.13
Search vendor "Php" for product "Php" and version "7.0.13"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.14
Search vendor "Php" for product "Php" and version "7.0.14"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.15
Search vendor "Php" for product "Php" and version "7.0.15"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.16
Search vendor "Php" for product "Php" and version "7.0.16"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.17
Search vendor "Php" for product "Php" and version "7.0.17"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.18
Search vendor "Php" for product "Php" and version "7.0.18"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.19
Search vendor "Php" for product "Php" and version "7.0.19"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.0.20
Search vendor "Php" for product "Php" and version "7.0.20"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.1.0
Search vendor "Php" for product "Php" and version "7.1.0"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.1.1
Search vendor "Php" for product "Php" and version "7.1.1"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.1.2
Search vendor "Php" for product "Php" and version "7.1.2"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.1.3
Search vendor "Php" for product "Php" and version "7.1.3"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.1.4
Search vendor "Php" for product "Php" and version "7.1.4"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.1.5
Search vendor "Php" for product "Php" and version "7.1.5"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
7.1.6
Search vendor "Php" for product "Php" and version "7.1.6"
-
Affected