National Cyber Awareness System
Vulnerability Summary for CVE-2009-4492
Original release date:01/13/2010
Last revised:08/24/2011
Source:
US-CERT/NIST
Overview
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.
Impact
CVSS Severity (version 2.0):
Impact Subscore:
2.9
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Low
Authentication: Not required to exploit
Impact Type:Allows unauthorized disclosure of information
Per: http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection
"Affected versions
* Ruby 1.8.6 patchlevel 383 and all prior versions
* Ruby 1.8.7 patchlevel 248 and all prior versions
* Development versions of Ruby 1.8 (1.8.8dev)
* Ruby 1.9.1 patchlevel 376 and all prior versions
* Development versions of Ruby 1.9 (1.9.2dev)"
Official Statement from Red Hat (01/21/2010)
Red Hat is aware of this issue and is tracking it via the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2009-4492
The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: CONFIRM
Name: http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection
Type: Advisory; Patch Information
External Source: VUPEN
Name: ADV-2010-0089
External Source: MISC
Name: http://www.ush.it/team/ush/hack_httpd_escape/adv.txt
External Source: BID
Name: 37710
External Source: BUGTRAQ
Name: 20100110 Nginx, Varnish, Cherokee, thttpd, mini-httpd, WEBrick, Orion, AOLserver, Yaws and Boa log escape sequence injection
External Source: REDHAT
Name: RHSA-2011:0909
External Source: REDHAT
Name: RHSA-2011:0908
External Source: SECTRACK
Name: 1023429
External Source: SECUNIA
Name: 37949
Type: Advisory