Lucene search
K

Ruby Gem Fastreader 1.0.8 Command Execution Vulnerability

🗓️ 13 Mar 2013 00:00:00Reported by Larry CashdollarType 
zdt
 zdt
🔗 0day.today👁 13 Views

Ruby Gem Fastreader 1.0.8 Command Execution Vulnerabilit

Code
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

#  0day.today [2018-04-12]  #

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