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)  >   GraphicsMagick Vendors:   GraphicsMagick Group
GraphicsMagick popen() File Open Feature Lets Remote Users Execute Arbitrary Commands on the Target System
SecurityTracker Alert ID:  1035985
SecurityTracker URL:  http://securitytracker.com/id/1035985
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 GraphicsMagick. 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 GraphicsMagick, will execute arbitrary shell commands contained in the filename string. The commands will run with the privileges of the target application using the GraphicsMagick 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://hg.code.sf.net/p/graphicsmagick/code/rev/ae3928faa858

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

Message History:   None.


 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