Vulnerability Name:

CVE-2015-8865 (CCN-113955)

Assigned:2016-05-20
Published:2016-05-20
Updated:2018-06-30
Summary: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.
CVSS v3 Severity:7.3 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H)
6.4 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-119
Vulnerability Consequences:Gain Access
References:Source: CONFIRM
Type: UNKNOWN
http://bugs.gw.com/view.php?id=522

Source: MITRE
Type: CNA
CVE-2015-8865

Source: CONFIRM
Type: UNKNOWN
http://git.php.net/?p=php-src.git;a=commit;h=fe13566c93f118a15a96320a546c7878fd0cfc5e

Source: APPLE
Type: UNKNOWN
APPLE-SA-2016-05-16-4

Source: SUSE
Type: UNKNOWN
openSUSE-SU-2016:1167

Source: CCN
Type: RHSA-2016-2750
Moderate: rh-php56 security, bug fix, and enhancement update

Source: REDHAT
Type: UNKNOWN
RHSA-2016:2750

Source: DEBIAN
Type: UNKNOWN
DSA-3560

Source: CCN
Type: IBM Security Bulletin 1983416 (Tealeaf Customer Experience)
Multiple security issues in IBM Tealeaf Customer Experience on Cloud Network Capture Add-On

Source: CCN
Type: IBM Security Bulletin 1988257 (Tealeaf Customer Experience)
Multiple vulnerabilities in PHP and memcached libraries affect IBM Tealeaf Customer Experience

Source: MLIST
Type: UNKNOWN
[oss-security] 20160423 Re: CVE request: PHP issues fixed in 7.0.5, 5.6.20 and 5.5.34 releases

Source: CCN
Type: PHP Web site
PHP: Hypertext Preprocessor

Source: CONFIRM
Type: UNKNOWN
http://www.php.net/ChangeLog-5.php

Source: CONFIRM
Type: UNKNOWN
http://www.php.net/ChangeLog-7.php

Source: BID
Type: UNKNOWN
85802

Source: CCN
Type: BID-85802
PHP 'finfo_open()' Function Denial of Service Vulnerability

Source: UBUNTU
Type: UNKNOWN
USN-2952-1

Source: UBUNTU
Type: UNKNOWN
USN-2952-2

Source: CONFIRM
Type: Exploit
https://bugs.php.net/bug.php?id=71527

Source: XF
Type: UNKNOWN
php-cve20158865-code-exec(113955)

Source: CONFIRM
Type: UNKNOWN
https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36

Source: CONFIRM
Type: UNKNOWN
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731

Source: GENTOO
Type: UNKNOWN
GLSA-201611-22

Source: GENTOO
Type: UNKNOWN
GLSA-201701-42

Source: CONFIRM
Type: UNKNOWN
https://support.apple.com/HT206567

Source: UBUNTU
Type: UNKNOWN
USN-3686-1

Source: UBUNTU
Type: UNKNOWN
USN-3686-2

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2015-8865

Vulnerable Configuration:Configuration 1:
  • cpe:/a:php:php:*:*:*:*:*:*:*:* (Version <= 5.5.33)
  • OR cpe:/a:php:php:5.6.0:alpha1:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.0:alpha2:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.0:alpha3:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.0:alpha4:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.0:alpha5:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.0:beta1:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.0:beta2:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.0:beta3:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.0:beta4:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.1:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.2:*:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.3:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.4:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.5:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.6:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.7:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.8:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.9:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.10:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.11:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.12:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.13:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.14:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.15:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.16:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.17:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.18:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:5.6.19:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.0:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.1:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.2:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.3:-:*:*:*:*:*:*
  • OR cpe:/a:php:php:7.0.4:-:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:apple:mac_os_x:*:*:*:*:*:*:*:* (Version <= 10.11.4)

  • Configuration CCN 1:
  • cpe:/a:php:php:7.0.0:-:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:tealeaf_customer_experience:16.1.01:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.cisecurity:def:557
    P
    DSA-3560-1 -- php5 -- security update
    2016-07-01
    oval:com.ubuntu.xenial:def:201588650000000
    V
    CVE-2015-8865 on Ubuntu 16.04 LTS (xenial) - low.
    2016-05-20
    oval:com.ubuntu.artful:def:20158865000
    V
    CVE-2015-8865 on Ubuntu 17.10 (artful) - low.
    2016-05-20
    oval:com.ubuntu.xenial:def:20158865000
    V
    CVE-2015-8865 on Ubuntu 16.04 LTS (xenial) - low.
    2016-05-20
    oval:com.ubuntu.bionic:def:20158865000
    V
    CVE-2015-8865 on Ubuntu 18.04 LTS (bionic) - low.
    2016-05-20
    oval:com.ubuntu.precise:def:20158865000
    V
    CVE-2015-8865 on Ubuntu 12.04 LTS (precise) - low.
    2016-05-20
    oval:com.ubuntu.bionic:def:201588650000000
    V
    CVE-2015-8865 on Ubuntu 18.04 LTS (bionic) - low.
    2016-05-20
    oval:com.ubuntu.trusty:def:20158865000
    V
    CVE-2015-8865 on Ubuntu 14.04 LTS (trusty) - low.
    2016-05-20
    BACK
    php php *
    php php 5.6.0 alpha1
    php php 5.6.0 alpha2
    php php 5.6.0 alpha3
    php php 5.6.0 alpha4
    php php 5.6.0 alpha5
    php php 5.6.0 beta1
    php php 5.6.0 beta2
    php php 5.6.0 beta3
    php php 5.6.0 beta4
    php php 5.6.1
    php php 5.6.2
    php php 5.6.3
    php php 5.6.4
    php php 5.6.5
    php php 5.6.6
    php php 5.6.7
    php php 5.6.8
    php php 5.6.9
    php php 5.6.10
    php php 5.6.11
    php php 5.6.12
    php php 5.6.13
    php php 5.6.14
    php php 5.6.15
    php php 5.6.16
    php php 5.6.17
    php php 5.6.18
    php php 5.6.19
    php php 7.0.0
    php php 7.0.1
    php php 7.0.2
    php php 7.0.3
    php php 7.0.4
    apple mac os x *
    php php 7.0.0
    ibm tealeaf customer experience 16.1.01