| Reporter | Title | Published | Views | Family All 9 |
|---|---|---|---|---|
| CVE-2013-5671 | 12 May 201414:00 | – | cve | |
| CVE-2013-5671 | 12 May 201414:00 | – | cvelist | |
| EUVD-2017-0293 | 7 Oct 202500:30 | – | euvd | |
| Code injection in dragonfly gem | 24 Oct 201718:33 | – | github | |
| CVE-2013-5671 | 12 May 201414:55 | – | nvd | |
| GHSA-QRGF-JQQM-X7XV Code injection in dragonfly gem | 24 Oct 201718:33 | – | osv | |
| Command injection | 12 May 201414:55 | – | prion | |
| fog-dragonfly Gem for Ruby imagemagickutils.rb Remote Command Execution | 3 Sep 201300:00 | – | rubygems | |
| fog-dragonfly Gem for Ruby imagemagickutils.rb Remote Command Execution | 3 Sep 201300:00 | – | rubygems |
TITLE: Remote Command Injection in fog-dragonfly-0.8.2 Ruby Gem
Credit: Larry W. Cashdollar, @_larry0
Date: 8/16/2013
CVE: 2013-5671
Download: https://rubygems.org/gems/fog-dragonfly
Description:
"Dragonfly is an on-the-fly Rack-based image handling framework. It is suitable for use with Rails, Sinatra and other web frameworks. Although it's mainly used for images, it can handle any content type."
Unescaped user supplied input is passed to the command line for shell execution:
from fog-dragonfly-0.8.2/lib/dragonfly/imagemagickutils.rb:
20 def convert(tempobject, args='', format=nil)
21 tempfile = newtempfile(format)
22 run "#{convertcommand} #{args} #{tempobject.path} #{tempfile.path}"
23 tempfile
24 end
.
.
.
61 def run(command)
62 log.debug("Running command: #{command}") if ImageMagickUtils.log_commands
63 begin
64 result = #{command}
Vendor Notified: 8/16/2013
# 0day.today [2018-04-07] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation