Vulnerability in Ruby-Lang Webrick
CVE-2009-4492
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.162, 97.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Webrick — versions 1.3.1
References
- www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection (Patch, Vendor Advisory)
- RHSA-2011:0909 (vendor-advisory, Third Party Advisory)
- secunia.com/advisories/37949 (Not Applicable, third-party-advisory, Vendor Advisory)
- ADV-2010-0089 (Permissions Required, vdb-entry)
- RHSA-2011:0908 (vendor-advisory, Third Party Advisory)
- www.ush.it/team/ush/hack_httpd_escape/adv.txt (Exploit, Broken Link)
- www.securityfocus.com/bid/37710 (Exploit, Third Party Advisory, VDB Entry, vdb-entry, Broken Link)
- 20100110 Nginx, Varnish, Cherokee, thttpd, mini-httpd, WEBrick, Orion, AOLserver, Yaws and Boa log escape sequence injection (mailing-list, Third Party Advisory, VDB Entry, Broken Link)
- securitytracker.com/id (Exploit, Third Party Advisory, VDB Entry, vdb-entry, Broken Link)