CVE-2008-3656
Ruby < 1.8.5 - Denial of Service via WEBrick HTTP Header Parsing
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2008-3656.
Includes Metasploit module auxiliary/dos/http/webrick_regex.
AI-analyzed exploit summary The exploit demonstrates a denial-of-service (DoS) vulnerability in Ruby's WEBrick HTTP server by sending a crafted HTTP request with a malformed 'If-None-Match' header, causing resource exhaustion. It targets the 'WEBrick::HTTP::DefaultFileHandler' component, which fails to handle the excessive header data properly.
Description
Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value function in WEBrick::HTTP::DefaultFileHandler in WEBrick in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 allows context-dependent attackers to cause a denial of service (CPU consumption) via a crafted HTTP request that is processed by a backtracking regular expression.
Exploits (2)
The exploit demonstrates a denial-of-service (DoS) vulnerability in Ruby's WEBrick HTTP server by sending a crafted HTTP request with a malformed 'If-None-Match' header, causing resource exhaustion. It targets the 'WEBrick::HTTP::DefaultFileHandler' component, which fails to handle the excessive header data properly.
This Metasploit module exploits a DoS vulnerability in Ruby's WEBrick HTTP server by sending a crafted HTTP request with a malformed 'If-None-Match' header, causing excessive CPU consumption.