SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Generic)  >   ImageMagick Vendors:   ImageMagick.org
ImageMagick popen() File Open Feature Lets Remote Users Execute Arbitrary Commands on the Target System
SecurityTracker Alert ID:  1035984
SecurityTracker URL:  http://securitytracker.com/id/1035984
CVE Reference:   CVE-2016-5118   (Links to External Site)
Date:  May 30 2016
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  

Description:   A vulnerability was reported in ImageMagick. A remote user can execute arbitrary commands on the target system in certain cases.

A remote user can supply a specially crafted filename string that, when processed by the target application using ImageMagick, will execute arbitrary shell commands contained in the filename string. The commands will run with the privileges of the target application using the ImageMagick library.

A string with a pipe character ('|') as the first character can trigger this flaw.

The flaw can be exploited, for example, via a specially crafted SVG xlink:href attribute value.

A demonstration exploit command line sequence is provided:

rm -f hello.txt
convert '|echo Hello > hello.txt;' null:
ls hello.txt

Bob Friesenhahn of the GraphicsMagick project reported this vulnerability.

Impact:   A remote user can execute arbitrary commands on the target system in certain cases.
Solution:   The vendor has issued a source code fix, available at:

http://git.imagemagick.org/repos/ImageMagick/commit/40639d173aa8c76b850d625c630b711fee4dcfb8

Vendor URL:  www.imagemagick.org/ (Links to External Site)
Cause:   Access control error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   This archive entry has one or more follow-up message(s) listed below.
Jun 17 2016 (Red Hat Issues Fix) ImageMagick popen() File Open Feature Lets Remote Users Execute Arbitrary Commands on the Target System
Red Hat has issued a fix for Red Hat Enterprise Linux 6 and 7.
Jun 17 2016 (Oracle Issues Fix for Oracle Linux) ImageMagick popen() File Open Feature Lets Remote Users Execute Arbitrary Commands on the Target System
Oracle has issued a fix for Oracle Linux 6 and 7.



 Source Message Contents



[Original Message Not Available for Viewing]


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2017, SecurityGlobal.net LLC