Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

5/4/2016
08:30 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Millions Of Web Servers Vulnerable To ImageMagick Attack

US-CERT issues advisory on 0-day flaws found in popular image processing tool.

LAS VEGAS – Interop 2016 -- A popular open-source image processing tool used in content management systems, social media, and other Web servers contains newly discovered vulnerabilities that could allow an attacker to wrest control of those systems.

Researchers yesterday disclosed details of the flaws found in the ImageMagick library of tools --before fully functioning patches were available because there were already exploits circulating.  Meantime, Metasploit modules have been created and are in the public review process.

US-CERT today issued an advisory about the vulnerabilities, and noted that the developers of ImageMagick have released updates to their software, versions 7.0.1-1 and 6.9.3-10. But the research firm that found and studied the flaws says the patches are "incomplete."

Moore and other security experts say the vulnerabilities are noteworthy and potentially serious, but the good news is that there are some configurations that won’t necessarily be at risk. And the image attacks are nowhere near as easy to pull off as many other Web exploits.

“Right now there’s lower-hanging fruit. You don’t need to burn an 0-day,” says Cameron Camp, security researcher at ESET, who will give a presentation on malware here this week. An attacker more easily could scan for other simpler vulnerabilities or exploit an open port, Camp says.

Some Web platforms have filters that content must pass before being sent to the ImageMagick library, so the attack isn’t necessarily lethal for all sites. “The systems most at risk are Web applications that allow users to upload media. This applies to forums, content management systems, image boards, and various social media networks,” Moore says. “Many blogging and hosting platforms also support ImageMagick as a plugin, but most of those require a valid user account before you can upload media.”

ImageMagick is a tool for resizing images uploaded to Web servers. “A PHP function calls ImageMagick to resize photos. If you can impersonate ImageMagick, you have a privileged user situation,” Camp says.

Mail.Ru’s Nikolay Ermishkin is credited with discovering several flaws in ImageMagick, including the CVE-2016-3716 vulnerability that could let an attacker remotely run code on a victim server. The flaw lies in insufficient filtering for a filename such that an attacker could slip malicious code into the file conversion process. 

A second flaw, CVE-2016-3716, described as a “file moving” bug, allows an attacker to move an image file to another file extension in any folder using ImageMagick’s “msl” protocol. “In real life it may be web services written in PHP, which allows to upload raw txt files and process images with ImageMagick,” Mail.Ru wrote in a post today. 

There are a total of five vulnerabilities, which have been dubbed "ImageTragick."

“The less-likely but more dangerous scenarios are systems that automatically process media stored by untrusted users. For example, a photo gallery service that uses ImageMagick to generate thumbnails from user uploads,” Moore says.

Meanwhile, experts recommend verifying all image files before sending them to ImageMagick for formatting, and using a policy file to disable the vulnerable ImageMagick coders. 

Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Data Leak Week: Billions of Sensitive Files Exposed Online
Kelly Jackson Higgins, Executive Editor at Dark Reading,  12/10/2019
Lessons from the NSA: Know Your Assets
Robert Lemos, Contributing Writer,  12/12/2019
4 Tips to Run Fast in the Face of Digital Transformation
Shane Buckley, President & Chief Operating Officer, Gigamon,  12/9/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
The Year in Security: 2019
This Tech Digest provides a wrap up and overview of the year's top cybersecurity news stories. It was a year of new twists on old threats, with fears of another WannaCry-type worm and of a possible botnet army of Wi-Fi routers. But 2019 also underscored the risk of firmware and trusted security tools harboring dangerous holes that cybercriminals and nation-state hackers could readily abuse. Read more.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-19797
PUBLISHED: 2019-12-15
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write.
CVE-2019-5252
PUBLISHED: 2019-12-14
There is an improper authentication vulnerability in Huawei smartphones (Y9, Honor 8X, Honor 9 Lite, Honor 9i, Y6 Pro). The applock does not perform a sufficient authentication in a rare condition. Successful exploit could allow the attacker to use the application locked by applock in an instant.
CVE-2019-5235
PUBLISHED: 2019-12-14
Some Huawei smart phones have a null pointer dereference vulnerability. An attacker crafts specific packets and sends to the affected product to exploit this vulnerability. Successful exploitation may cause the affected phone to be abnormal.
CVE-2019-5264
PUBLISHED: 2019-12-13
There is an information disclosure vulnerability in certain Huawei smartphones (Mate 10;Mate 10 Pro;Honor V10;Changxiang 7S;P-smart;Changxiang 8 Plus;Y9 2018;Honor 9 Lite;Honor 9i;Mate 9). The software does not properly handle certain information of applications locked by applock in a rare condition...
CVE-2019-5277
PUBLISHED: 2019-12-13
Huawei CloudUSM-EUA V600R006C10;V600R019C00 have an information leak vulnerability. Due to improper configuration, the attacker may cause information leak by successful exploitation.