National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2009-4492 Detail

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.

Source:  MITRE      Last Modified:  01/13/2010

Quick Info

CVE Dictionary Entry:
CVE-2009-4492
Original release date:
01/13/2010
Last revised:
08/23/2011
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
5.0 MEDIUM
Vector:
(AV:N/AC:L/Au:N/C:P/I:N/A:N) (legend)
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

Evaluator Impact

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)"

Vendor Statements (disclaimer)

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.

Hyperlink Resource Type Source Name
http://securitytracker.com/id?1023429 Exploit External Source SECTRACK 1023429
http://www.redhat.com/support/errata/RHSA-2011-0908.html External Source REDHAT RHSA-2011:0908
http://www.redhat.com/support/errata/RHSA-2011-0909.html External Source REDHAT RHSA-2011:0909
http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection Patch; Vendor Advisory External Source CONFIRM http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection
http://www.securityfocus.com/archive/1/archive/1/508830/100/0/threaded Exploit External Source BUGTRAQ 20100110 Nginx, Varnish, Cherokee, thttpd, mini-httpd, WEBrick, Orion, AOLserver, Yaws and Boa log escape sequence injection
http://www.securityfocus.com/bid/37710 Exploit External Source BID 37710
http://www.ush.it/team/ush/hack_httpd_escape/adv.txt Exploit External Source MISC http://www.ush.it/team/ush/hack_httpd_escape/adv.txt
http://www.vupen.com/english/advisories/2010/0089 External Source VUPEN ADV-2010-0089

Technical Details

Vulnerability Type (View All)

Change History 2 change records found - show changes