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
Description Last Modified:  01/13/2010

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 5.0 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:P/I:N/A:N) (V2 legend)
Impact Subscore: 2.9
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): None
Availability (A): None
Additional Information:
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
http://securitytracker.com/id?1023429 Exploit
http://www.redhat.com/support/errata/RHSA-2011-0908.html
http://www.redhat.com/support/errata/RHSA-2011-0909.html
http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection Patch Vendor Advisory
http://www.securityfocus.com/archive/1/508830/100/0/threaded
http://www.securityfocus.com/bid/37710 Exploit
http://www.ush.it/team/ush/hack_httpd_escape/adv.txt Exploit
http://www.vupen.com/english/advisories/2010/0089

Technical Details

Vulnerability Type (View All)

Change History

2 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2009-4492
NVD Published Date:
01/13/2010
NVD Last Modified:
10/10/2018