Home page logo
/

fulldisclosure logo Full Disclosure mailing list archives

Ruby gem Thumbshooter 0.1.5 remote command execution
From: "Larry W. Cashdollar" <larry0 () me com>
Date: Tue, 26 Mar 2013 15:13:23 +0000 (GMT)

´╗┐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
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

  By Date           By Thread  

Current thread:
  • Ruby gem Thumbshooter 0.1.5 remote command execution Larry W. Cashdollar (Mar 26)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]