Home page logo
/

fulldisclosure logo Full Disclosure mailing list archives

Ruby gem fastreader-1.0.8 remote code exec
From: "Larry W. Cashdollar" <larry0 () me com>
Date: Tue, 12 Mar 2013 23:05:00 +0000 (GMT)

Ruby gem fastreader-1.0.8 remote code exec
3/6/2013


https://rubygems.org/gems/fastreader


if the url contains any ; characters code will be executed as the user when a web browser is launched.

for example if fastreader is fed http://www.g;id;.com id will be executed.

./fastreader-1.0.8/lib/entry_controller.rb

.strip only removes whitespace before and after the URL.

115       # open web browser
116       command = (ENV['FASTREADER_WEB'] || "open") + " { () current_entry url strip}"
117       `{command}`

Larry W. Cashdollar
@_larry0
http://vapid.dhs.org
_______________________________________________
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 fastreader-1.0.8 remote code exec Larry W. Cashdollar (Mar 12)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]