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 Executive Editor at DarkReading.com. 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
Microsoft Patches Wormable RCE Vulns in Remote Desktop Services
Kelly Sheridan, Staff Editor, Dark Reading,  8/13/2019
The Mainframe Is Seeing a Resurgence. Is Security Keeping Pace?
Ray Overby, Co-Founder & President at Key Resources, Inc.,  8/15/2019
GitHub Named in Capital One Breach Lawsuit
Dark Reading Staff 8/14/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
7 Threats & Disruptive Forces Changing the Face of Cybersecurity
This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
Flash Poll
The State of IT Operations and Cybersecurity Operations
The State of IT Operations and Cybersecurity Operations
Your enterprise's cyber risk may depend upon the relationship between the IT team and the security team. Heres some insight on what's working and what isn't in the data center.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-15113
PUBLISHED: 2019-08-16
The companion-sitemap-generator plugin before 3.7.0 for WordPress has CSRF.
CVE-2019-15114
PUBLISHED: 2019-08-16
The formcraft-form-builder plugin before 1.2.2 for WordPress has CSRF.
CVE-2019-15115
PUBLISHED: 2019-08-16
The peters-login-redirect plugin before 2.9.2 for WordPress has CSRF.
CVE-2019-15116
PUBLISHED: 2019-08-16
The easy-digital-downloads plugin before 2.9.16 for WordPress has XSS related to IP address logging.
CVE-2017-18547
PUBLISHED: 2019-08-16
The nelio-ab-testing plugin before 4.6.4 for WordPress has CSRF in experiment forms.