Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 461
Alerts This Week
Warning Icon 1 461

RedHat: RHSA-2016-0726 Important: ImageMagick Remote Vulnerabilities

red hat
Calendar Grey May 9, 2016
Scroller Redhat
Critical security patch for ImageMagick on Red Hat classified as Important, resolving various remote exploit vulnerabilities.
An update for ImageMagick is now available for Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Summary

ImageMagick is an image display and manipulation tool for the X Window System that can read and write multiple image formats.
Security Fix(es):
* It was discovered that ImageMagick did not properly sanitize certain input before passing it to the delegate functionality. A remote attacker could create a specially crafted image that, when processed by an application using ImageMagick or an unsuspecting user using the ImageMagick utilities, would lead to arbitrary execution of shell commands with the privileges of the user running the application. (CVE-2016-3714)
* It was discovered that certain ImageMagick coders and pseudo-protocols did not properly prevent security sensitive operations when processing specially crafted images. A remote attacker could create a specially crafted image that, when processed by an application using ImageMagick or an unsuspecting user using the ImageMagick utilities, would allow the attacker to delete, move, or disclose the contents of arbitrary files. (CVE-2016-3715, CVE-2016-3716, CVE-2016-3717)
* A server-side request forgery flaw was discovered in the way ImageMagick processed certain images. A remote attacker could exploit this flaw to mislead an application using ImageMagick or an unsuspecting user using the ImageMagick utilities into, for example, performing HTTP(S) requests or opening FTP sessions via specially crafted images. (CVE-2016-3718)
Note: This update contains an updated /etc/ImageMagick/policy.xml file that disables the EPHEMERAL, HTTPS, HTTP, URL, FTP, MVG, MSL, TEXT, and LABEL coders. If you experience any problems after the update, it may be necessary to manually adjust the policy.xml file to match your requirements. Please take additional precautions to ensure that your applications using the ImageMagick library do not process malicious or untrusted files before doing so.

References

https://access.redhat.com/security/cve/CVE-2016-3714 https://access.redhat.com/security/cve/CVE-2016-3715 https://access.redhat.com/security/cve/CVE-2016-3716 https://access.redhat.com/security/cve/CVE-2016-3717 https://access.redhat.com/security/cve/CVE-2016-3718 https://access.redhat.com/security/updates/classification/#important

Package List

Red Hat Enterprise Linux Desktop (v. 6):
Source: ImageMagick-6.7.2.7-4.el6_7.src.rpm
i386: ImageMagick-6.7.2.7-4.el6_7.i686.rpm ImageMagick-c++-6.7.2.7-4.el6_7.i686.rpm ImageMagick-debuginfo-6.7.2.7-4.el6_7.i686.rpm
x86_64: ImageMagick-6.7.2.7-4.el6_7.i686.rpm ImageMagick-6.7.2.7-4.el6_7.x86_64.rpm ImageMagick-c++-6.7.2.7-4.el6_7.x86_64.rpm ImageMagick-debuginfo-6.7.2.7-4.el6_7.i686.rpm ImageMagick-debuginfo-6.7.2.7-4.el6_7.x86_64.rpm
Red Hat Enterprise Linux Desktop Optional (v. 6):
i386: ImageMagick-c++-devel-6.7.2.7-4.el6_7.i686.rpm ImageMagick-debuginfo-6.7.2.7-4.el6_7.i686.rpm ImageMagick-devel-6.7.2.7-4.el6_7.i686.rpm ImageMagick-doc-6.7.2.7-4.el6_7.i686.rpm ImageMagick-perl-6.7.2.7-4.el6_7.i686.rpm
x86_64: ImageMagick-c++-6.7.2.7-4.el6_7.i686.rpm ImageMagick-c++-devel-6.7.2.7-4.el6_7.i686.rpm ImageMagick-c++-devel-6.7.2.7-4.el6_7.x86_64.rpm ImageMagick-debuginfo-6.7.2.7-4.el6_7.i686.rpm ImageMagick-debuginfo-6.7.2.7-4.el6_7.x86_64.rpm ImageMagick-devel-6.7.2.7-4.el6_7.i686.rpm ImageMagick-devel-6.7.2.7-4.el6_7.x86_64.rpm ImageMagick-doc-6.7.2.7-4.el6_7.x86_64.rpm ImageMagick-perl-6.7.2.7-4.el6_7.x86_64.rpm
Red Hat Enterprise Linux HPC Node Optional (v. 6):
Source: ImageMagick-6.7.2.7-4.el6_7.src.rpm
x86_64: ImageMagick-6.7.2.7-4.el6_7.i686.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2016:0726-01
Product: Red Hat Enterprise Linux
Issue date: 2016-05-09

Topic

An update for ImageMagick is now available for Red Hat Enterprise Linux 6and Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Client (v. 7) - x86_64

Red Hat Enterprise Linux Client Optional (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64

Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64

Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64

Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64

Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64

Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

Bugs Fixed

1332492 - CVE-2016-3714 ImageMagick: Insufficient shell characters filtering

1332500 - CVE-2016-3715 ImageMagick: File deletion

1332504 - CVE-2016-3716 ImageMagick: File moving

1332505 - CVE-2016-3717 ImageMagick: Local file read

1332802 - CVE-2016-3718 ImageMagick: SSRF vulnerability

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.