{"id":"CVE-2009-4492","published":"2010-01-13T20:00:00Z","modified":"2024-08-07T07:01:20Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.1623,"percentile":0.9702,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection","tags":["x_refsource_CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/37949","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2010/0089","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0908.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.ush.it/team/ush/hack_httpd_escape/adv.txt","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/37710","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securityfocus.com/archive/1/508830/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://securitytracker.com/id?1023429","tags":["vdb-entry","x_refsource_SECTRACK"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.4},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2010-01-11"},"first":{"date":"2010-01-11","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/33489"},"provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"webrick","vulnerableRanges":["<1.4.0"],"patched":["1.4.0"],"from":["GHSA-6mq2-37j5-w6r6"],"provenance":"source"}],"summary":{"text":"The WEBrick 1.3.1 component shipped with 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 request data to a log file without sanitizing non-printable characters. An attacker who can send an HTTP request to the server can include a terminal emulator escape sequence that may alter a window's title, and possibly execute arbitrary commands or overwrite files, depending on how the log is viewed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:47:37Z"},"euvd":{"id":"EUVD-2017-0178","exploited":false,"provenance":"source"},"exploits":[{"id":33489,"url":"https://www.exploit-db.com/exploits/33489","title":"Ruby 1.9.1 - WEBrick 'Terminal Escape Sequence in Logs' Command Injection","date":"2010-01-11","verified":true,"provenance":"source"}],"lineage":{"packageHistory":[{"cve":"CVE-2008-4310","published":"2008-12-09","fixed":"1.3.1","kev":false,"link":{"from":"CVE-2008-4310","to":"CVE-2009-4492","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:webrick","fromFixed":"1.3.1","toFixed":"1.4.0","daysApart":400}]}},{"cve":"CVE-2009-4492","published":"2010-01-13","fixed":"1.4.0","kev":false},{"cve":"CVE-2017-10784","published":"2017-09-19","fixed":"1.4.0","kev":false},{"cve":"CVE-2020-25613","published":"2020-10-06","fixed":"1.6.1","kev":false},{"cve":"CVE-2025-6442","published":"2025-06-25","fixed":"1.8.2","kev":false}],"package":"RubyGems:webrick"}}