CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2016-3714

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to execute arbitrary code via shell metacharacters in a crafted image, aka "ImageTragick."
Publish Date : 2016-05-05 Last Update Date : 2017-09-06
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
10.0
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 20

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2016:0726: ImageMagick security update (Important) oval:com.redhat.rhsa:def:20160726 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2016-3714

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 12.04 ~~lts~~~ Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 14.04 ~~lts~~~ Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 15.10 Version Details Vulnerabilities
4 OS Canonical Ubuntu Linux 16.04 ~~lts~~~ Version Details Vulnerabilities
5 Application Imagemagick Imagemagick 6.9.3-9 Version Details Vulnerabilities
6 Application Imagemagick Imagemagick 7.0.0-0 Version Details Vulnerabilities
7 Application Imagemagick Imagemagick 7.0.1-0 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 4
Imagemagick Imagemagick 3

- References For CVE-2016-3714

https://www.imagemagick.org/script/changelog.php CONFIRM
https://www.kb.cert.org/vuls/id/250519
CERT-VN VU#250519
https://www.exploit-db.com/exploits/39791/
EXPLOIT-DB 39791
https://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=29588 CONFIRM
https://security.gentoo.org/glsa/201611-21
GENTOO GLSA-201611-21
https://www.exploit-db.com/exploits/39767/
EXPLOIT-DB 39767
http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html CONFIRM
https://imagetragick.com/
https://bugzilla.redhat.com/show_bug.cgi?id=1332492 CONFIRM
http://www.securityfocus.com/bid/89848
BID 89848 ImageMagick CVE-2016-3714 Remote Code Execution Vulnerability Release Date:2016-12-28
http://www.securitytracker.com/id/1035742
SECTRACK 1035742
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.440568
SLACKWARE SSA:2016-132-01
http://www.ubuntu.com/usn/USN-2990-1
UBUNTU USN-2990-1
https://access.redhat.com/security/vulnerabilities/2296071 CONFIRM
http://git.imagemagick.org/repos/ImageMagick/blob/a01518e08c840577cabd7d3ff291a9ba735f7276/ChangeLog CONFIRM
http://www.rapid7.com/db/modules/exploit/unix/fileformat/imagemagick_delegate
http://www.openwall.com/lists/oss-security/2016/05/03/18
MLIST [oss-security] 20160504 Re: ImageMagick Is On Fire -- CVE-2016-3714
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html CONFIRM
http://www.securityfocus.com/archive/1/archive/1/538378/100/0/threaded
BUGTRAQ 20160513 May 2016 - HipChat Server - Critical Security Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00032.html
SUSE SUSE-SU-2016:1275
http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00041.html
SUSE SUSE-SU-2016:1301
http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00051.html
SUSE openSUSE-SU-2016:1326
http://rhn.redhat.com/errata/RHSA-2016-0726.html
REDHAT RHSA-2016:0726
http://www.debian.org/security/2016/dsa-3580
DEBIAN DSA-3580
http://www.openwall.com/lists/oss-security/2016/05/03/13
MLIST [oss-security] 20160503 ImageMagick Is On Fire -- CVE-2016-3714
http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00025.html
SUSE openSUSE-SU-2016:1261
http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00024.html
SUSE SUSE-SU-2016:1260
http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00028.html
SUSE openSUSE-SU-2016:1266

- Metasploit Modules Related To CVE-2016-3714

ImageMagick Delegate Arbitrary Command Execution
This module exploits a shell command injection in the way "delegates" (commands for converting files) are processed in ImageMagick versions <= 7.0.1-0 and <= 6.9.3-9 (legacy). Since ImageMagick uses file magic to detect file format, you can create a .png (for example) which is actually a crafted SVG (for example) that triggers the command injection. The PostScript (PS) target leverages a Ghostscript -dSAFER bypass (discovered by taviso) to achieve RCE in the Ghostscript delegate. Ghostscript versions 9.18 and later are affected. If USE_POPEN is set to true, a |-prefixed command will be used for the exploit. No delegates are involved in this exploitation.
Module type : exploit Rank : excellent Platforms : Unix


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.