| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-Id: <201303171249.r2HCnuvD017615@sf01web1.securityfocus.com>
Date: Sun, 17 Mar 2013 12:49:56 GMT
From: larry0@...com
To: bugtraq@...urityfocus.com
Subject: Remote command execution in fastreader ruby gem
Ruby gem fastreader-1.0.8 remote code exec
3/6/2013
if the url contains any ; characters code will be executed as the user.
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") + " {@...rent_entry.url.strip}"
117 `{command}`
Larry W. Cashdollar
@_larry0
http://vapid.dhs.org/advisories/fastreader-1.0.8-remote-exec.html