Lucene search
K

Ruby Thumbshooter Gem 0.1.5 Remote Command Execution

🗓️ 27 Mar 2013 00:00:00Reported by Larry W. CashdollarType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 23 Views

Ruby Thumbshooter Gem 0.1.5 Remote Command Execution vulnerability in URL handlin

Code
`Ruby gem Thumbshooter 0.1.5 remote command execution  
  
3/25/2013  
Generates thumbshots of URLs by using Webkit and QT4.  
  
https://github.com/digineo/thumbshooter  
  
Specially crafted URLs can result in remote code execution if the URL contains shell metacharacters.  
  
We see that the url is passed directly to the shell in the following code snippet from ./thumbshooter-0.1.5/lib/thumbshooter.rb lines:  
  
1012 command << "xvfb-run -a --server-args='-screen 0, #{screen}x24' "   
1015 command << "{WEBKIT2PNG} '{url}' {args}"  
1017 img = `{command} 2>&1`  
Larry W. Cashdollar  
@_larry0  
http://vapid.dhs.org/advisories/thumbshooter-ruby-gem-remoteexec.html  
  
  
Larry C$  
  
Larry C$  
`

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