ID CVE-2009-4492
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:ruby-lang:webrick:1.3.1:*:*:*:*:ruby:*:*
    cpe:2.3:a:ruby-lang:webrick:1.3.1:*:*:*:*:ruby:*:*
  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
    cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
CVSS
Base: 7.5 (as of 01-08-2023 - 18:59)
Impact:
Exploitability:
CWE NVD-CWE-noinfo
CAPEC
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
redhat via4
advisories
  • rhsa
    id RHSA-2011:0908
  • rhsa
    id RHSA-2011:0909
rpms
  • irb-0:1.8.1-16.el4
  • ruby-0:1.8.1-16.el4
  • ruby-debuginfo-0:1.8.1-16.el4
  • ruby-devel-0:1.8.1-16.el4
  • ruby-docs-0:1.8.1-16.el4
  • ruby-libs-0:1.8.1-16.el4
  • ruby-mode-0:1.8.1-16.el4
  • ruby-tcltk-0:1.8.1-16.el4
  • ruby-0:1.8.5-19.el5_6.1
  • ruby-debuginfo-0:1.8.5-19.el5_6.1
  • ruby-devel-0:1.8.5-19.el5_6.1
  • ruby-docs-0:1.8.5-19.el5_6.1
  • ruby-irb-0:1.8.5-19.el5_6.1
  • ruby-libs-0:1.8.5-19.el5_6.1
  • ruby-mode-0:1.8.5-19.el5_6.1
  • ruby-rdoc-0:1.8.5-19.el5_6.1
  • ruby-ri-0:1.8.5-19.el5_6.1
  • ruby-tcltk-0:1.8.5-19.el5_6.1
refmap via4
bid 37710
bugtraq 20100110 Nginx, Varnish, Cherokee, thttpd, mini-httpd, WEBrick, Orion, AOLserver, Yaws and Boa log escape sequence injection
confirm http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection
misc http://www.ush.it/team/ush/hack_httpd_escape/adv.txt
sectrack 1023429
secunia 37949
vupen ADV-2010-0089
statements via4
contributor Tomas Hoger
lastmodified 2010-01-21
organization Red Hat
statement 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.
Last major update 01-08-2023 - 18:59
Published 13-01-2010 - 20:30
Last modified 01-08-2023 - 18:59
Back to Top