Skip to content

CVE-2009-4492 WEBrick Improper Input Validation vulnerability

HighCVSS 7.5 EPSS 16.2% Public exploit PoC
Published
Updated
Exploit status
Public exploit available

Description

WEBrick 1.3.1 in Ruby 1.8.6 through patchlevel 383, 1.8.7 through patchlevel 248, 1.8.8dev, 1.9.1 through patchlevel 376, and 1.9.2dev writes data to a log file without sanitizing non-printable characters, which might allow remote attackers to modify a window's title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator.

Affected products

ProductAffected versionsFixed in
rubygems webrick(RubyGems) < 1.4.0 1.4.0
rubygems webrick(RubyGems) = 1.3.1 No fix listed
rubygems webrick(RubyGems) = 1.4.0.beta1 No fix listed
ruby-lang webrick = 1.3.1 No fix listed
rubygems webrick(RubyGems) <= 1.3.1 No fix listed

References