Vulnerability Name:

CVE-2017-14650 (CCN-132439)

Assigned:2017-09-21
Published:2017-09-21
Updated:2018-08-18
Summary:A Remote Code Execution vulnerability has been found in the Horde_Image library when using the "Im" backend that utilizes ImageMagick's "convert" utility. It's not exploitable through any Horde application, because the code path to the vulnerability is not used by any Horde code. Custom applications using the Horde_Image library might be affected. This vulnerability affects all versions of Horde_Image from 2.0.0 to 2.5.1, and is fixed in 2.5.2. The problem is missing input validation of the index field in _raw() during construction of an ImageMagick command line.
CVSS v3 Severity:8.1 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.1 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/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): High
Privileges Required (PR): None
User Interaction (UI): None
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:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
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-20
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2017-14650

Source: CCN
Type: oss-sec Mailing List, Thu, 21 Sep 2017 16:50:07 +0200
CVE request: code execution in Horde_Image 2.0.0 to 2.5.1

Source: MISC
Type: Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/09/21/4

Source: XF
Type: UNKNOWN
hordeimage-cge201714650-code-exec(132439)

Source: CCN
Type: horde GIT Repository
Fix RCE in _raw() via $index parameter.

Source: MISC
Type: Exploit, Third Party Advisory
https://github.com/horde/horde/commit/eb3afd14c22c77ae0d29e2848f5ac726ef6e7c5b

Source: MISC
Type: Mailing List, Third Party Advisory
https://marc.info/?l=horde-announce&m=150600299528079&w=2

Source: DEBIAN
Type: UNKNOWN
DSA-4276

Vulnerable Configuration:Configuration 1:
  • cpe:/a:horde:horde_image_api:2.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.0:alpha1:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.0:beta1:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.0:beta2:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.3:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.4:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.6:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.7:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.8:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.0.9:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.3.2:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.3.3:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.3.4:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.3.5:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.3.6:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.4.0:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.4.1:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.5.0:*:*:*:*:*:*:*
  • OR cpe:/a:horde:horde_image_api:2.5.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:2017146500000000
    V
    CVE-2017-14650 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-09-21
    oval:com.ubuntu.artful:def:201714650000
    V
    CVE-2017-14650 on Ubuntu 17.10 (artful) - medium.
    2017-09-21
    oval:com.ubuntu.xenial:def:201714650000
    V
    CVE-2017-14650 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-09-21
    oval:com.ubuntu.disco:def:2017146500000000
    V
    CVE-2017-14650 on Ubuntu 19.04 (disco) - medium.
    2017-09-21
    oval:com.ubuntu.bionic:def:201714650000
    V
    CVE-2017-14650 on Ubuntu 18.04 LTS (bionic) - medium.
    2017-09-21
    oval:com.ubuntu.cosmic:def:2017146500000000
    V
    CVE-2017-14650 on Ubuntu 18.10 (cosmic) - medium.
    2017-09-21
    oval:com.ubuntu.cosmic:def:201714650000
    V
    CVE-2017-14650 on Ubuntu 18.10 (cosmic) - medium.
    2017-09-21
    oval:com.ubuntu.bionic:def:2017146500000000
    V
    CVE-2017-14650 on Ubuntu 18.04 LTS (bionic) - medium.
    2017-09-21
    oval:com.ubuntu.trusty:def:201714650000
    V
    CVE-2017-14650 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-09-21
    BACK
    horde horde image api 2.0.0
    horde horde image api 2.0.0 alpha1
    horde horde image api 2.0.0 beta1
    horde horde image api 2.0.0 beta2
    horde horde image api 2.0.1
    horde horde image api 2.0.2
    horde horde image api 2.0.3
    horde horde image api 2.0.4
    horde horde image api 2.0.5
    horde horde image api 2.0.6
    horde horde image api 2.0.7
    horde horde image api 2.0.8
    horde horde image api 2.0.9
    horde horde image api 2.1.0
    horde horde image api 2.2.0
    horde horde image api 2.3.0
    horde horde image api 2.3.1
    horde horde image api 2.3.2
    horde horde image api 2.3.3
    horde horde image api 2.3.4
    horde horde image api 2.3.5
    horde horde image api 2.3.6
    horde horde image api 2.4.0
    horde horde image api 2.4.1
    horde horde image api 2.5.0
    horde horde image api 2.5.1