// For flags

CVE-2015-8865

file: Buffer over-write in finfo_open with malformed magic file

Severity Score

7.3
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

The file_check_mem function in funcs.c in file before 5.23, as used in the Fileinfo component in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5, mishandles continuation-level jumps, which allows context-dependent attackers to cause a denial of service (buffer overflow and application crash) or possibly execute arbitrary code via a crafted magic file.

La función file_check_mem en funcs.c en file en versiones anteriores a 5.23, cómo se utiliza en el componente Fileinfo en PHP en versiones anteriores a 5.5.34, 5.6.x en versiones anteriores a 5.6.20, y 7.x en versiones anteriores a 7.0.5, no maneja correctamente saltos de continuación de nivel, lo que permite a atacantes dependientes del contexto causar una denegación de servicio (desbordamiento de buffer y caída de aplicación) o posiblemente ejecutar código arbitrario a través de un archivo mágico manipulado.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack Vector
Network
Attack Complexity
High
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2016-04-23 CVE Reserved
  • 2016-04-28 CVE Published
  • 2024-01-06 EPSS Updated
  • 2024-08-06 CVE Updated
  • 2024-08-06 First Exploit
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
CAPEC
References (22)
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.5.33
Search vendor "Php" for product "Php" and version " <= 5.5.33"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.0
Search vendor "Php" for product "Php" and version "5.6.0"
alpha1
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.0
Search vendor "Php" for product "Php" and version "5.6.0"
alpha2
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.0
Search vendor "Php" for product "Php" and version "5.6.0"
alpha3
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.0
Search vendor "Php" for product "Php" and version "5.6.0"
alpha4
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.0
Search vendor "Php" for product "Php" and version "5.6.0"
alpha5
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.0
Search vendor "Php" for product "Php" and version "5.6.0"
beta1
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.0
Search vendor "Php" for product "Php" and version "5.6.0"
beta2
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.0
Search vendor "Php" for product "Php" and version "5.6.0"
beta3
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.0
Search vendor "Php" for product "Php" and version "5.6.0"
beta4
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.1
Search vendor "Php" for product "Php" and version "5.6.1"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.2
Search vendor "Php" for product "Php" and version "5.6.2"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.3
Search vendor "Php" for product "Php" and version "5.6.3"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.4
Search vendor "Php" for product "Php" and version "5.6.4"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.5
Search vendor "Php" for product "Php" and version "5.6.5"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.6
Search vendor "Php" for product "Php" and version "5.6.6"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.7
Search vendor "Php" for product "Php" and version "5.6.7"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.8
Search vendor "Php" for product "Php" and version "5.6.8"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.9
Search vendor "Php" for product "Php" and version "5.6.9"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.10
Search vendor "Php" for product "Php" and version "5.6.10"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.11
Search vendor "Php" for product "Php" and version "5.6.11"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.12
Search vendor "Php" for product "Php" and version "5.6.12"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.13
Search vendor "Php" for product "Php" and version "5.6.13"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.14
Search vendor "Php" for product "Php" and version "5.6.14"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.15
Search vendor "Php" for product "Php" and version "5.6.15"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.16
Search vendor "Php" for product "Php" and version "5.6.16"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.17
Search vendor "Php" for product "Php" and version "5.6.17"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.18
Search vendor "Php" for product "Php" and version "5.6.18"
-
Affected
Php
Search vendor "Php"
Php
Search vendor "Php" for product "Php"
5.6.19
Search vendor "Php" for product "Php" and version "5.6.19"
-
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
Apple
Search vendor "Apple"
Mac Os X
Search vendor "Apple" for product "Mac Os X"
<= 10.11.4
Search vendor "Apple" for product "Mac Os X" and version " <= 10.11.4"
-
Affected