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 464
Alerts This Week
Warning Icon 1 464

Red Hat: RHSA-2016:1237-01 Critical: ImageMagick Remote Code Execution

red hat
Calendar Grey June 16, 2016
Scroller Redhat
A recent security update for ImageMagick on Red Hat systems fixes critical vulnerabilities that could be exploited, urging users to update promptly to ensure safety
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 using it to invoke processes. 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-5118)
* It was discovered that ImageMagick did not properly sanitize certain input before passing it to the gnuplot 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-5239)
* Multiple flaws have been discovered in ImageMagick. A remote attacker could, for example, create specially crafted images that, when processed by an application using ImageMagick or an unsuspecting user using the ImageMagick utilities, would result in a memory corruption and, potentially, execution of arbitrary code, a denial of service, or an application crash. (CVE-2015-8896, CVE-2015-8895, CVE-2016-5240, CVE-2015-8897, CVE-2015-8898)

References

https://access.redhat.com/security/cve/CVE-2015-8895 https://access.redhat.com/security/cve/CVE-2015-8896 https://access.redhat.com/security/cve/CVE-2015-8897 https://access.redhat.com/security/cve/CVE-2015-8898 https://access.redhat.com/security/cve/CVE-2016-5118 https://access.redhat.com/security/cve/CVE-2016-5239 https://access.redhat.com/security/cve/CVE-2016-5240 https://access.redhat.com/security/updates/classification/#important

Package List

Red Hat Enterprise Linux HPC Node Optional (v. 6):
Source: ImageMagick-6.7.2.7-5.el6_8.src.rpm
x86_64: ImageMagick-6.7.2.7-5.el6_8.i686.rpm ImageMagick-6.7.2.7-5.el6_8.x86_64.rpm ImageMagick-c++-6.7.2.7-5.el6_8.i686.rpm ImageMagick-c++-6.7.2.7-5.el6_8.x86_64.rpm ImageMagick-c++-devel-6.7.2.7-5.el6_8.i686.rpm ImageMagick-c++-devel-6.7.2.7-5.el6_8.x86_64.rpm ImageMagick-debuginfo-6.7.2.7-5.el6_8.i686.rpm ImageMagick-debuginfo-6.7.2.7-5.el6_8.x86_64.rpm ImageMagick-devel-6.7.2.7-5.el6_8.i686.rpm ImageMagick-devel-6.7.2.7-5.el6_8.x86_64.rpm ImageMagick-doc-6.7.2.7-5.el6_8.x86_64.rpm ImageMagick-perl-6.7.2.7-5.el6_8.x86_64.rpm
Red Hat Enterprise Linux Server (v. 6):
Source: ImageMagick-6.7.2.7-5.el6_8.src.rpm
i386: ImageMagick-6.7.2.7-5.el6_8.i686.rpm ImageMagick-c++-6.7.2.7-5.el6_8.i686.rpm ImageMagick-debuginfo-6.7.2.7-5.el6_8.i686.rpm
ppc64: ImageMagick-6.7.2.7-5.el6_8.ppc.rpm ImageMagick-6.7.2.7-5.el6_8.ppc64.rpm ImageMagick-c++-6.7.2.7-5.el6_8.ppc64.rpm ImageMagick-debuginfo-6.7.2.7-5.el6_8.ppc.rpm ImageMagick-debuginfo-6.7.2.7-5.el6_8.ppc64.rpm
s390x: ImageMagick-6.7.2.7-5.el6_8.s390.rpm ImageMagick-6.7.2.7-5.el6_8.s390x.rpm ImageMagick-debuginfo-6.7.2.7-5.el6_8.s390.rpm ImageMagick-debuginfo-6.7.2.7-5.el6_8.s390x.rpm
x86_64: ImageMagick-6.7.2.7-5.el6_8.i686.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2016:1237-01
Product: Red Hat Enterprise Linux
Issue date: 2016-06-16

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 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

1269553 - CVE-2015-8895 ImageMagick: Integer and buffer overflow in coders/icon.c

1269562 - CVE-2015-8896 ImageMagick: Integer truncation vulnerability in coders/pict.c

1333417 - CVE-2016-5240 ImageMagick: SVG converting issue resulting in DoS

1334188 - CVE-2016-5239 ImageMagick,GraphicsMagick: Gnuplot delegate vulnerability allowing command injection

1340814 - CVE-2016-5118 ImageMagick: Remote code execution via filename

1344264 - CVE-2015-8898 ImageMagick: Prevent NULL pointer access in magick/constitute.c

1344271 - CVE-2015-8897 ImageMagick: Crash due to out of bounds error in SpliceImage

Get the latest News and Insights

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