Moderate severityNVD Advisory· Published Jan 13, 2010· Updated Apr 23, 2026
CVE-2009-4492
CVE-2009-4492
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
webrickRubyGems | < 1.4.0 | 1.4.0 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
17- www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injectionnvdPatchVendor AdvisoryWEB
- securitytracker.com/idnvdBroken LinkExploitThird Party AdvisoryVDB Entry
- www.securityfocus.com/bid/37710nvdBroken LinkExploitThird Party AdvisoryVDB Entry
- www.ush.it/team/ush/hack_httpd_escape/adv.txtnvdBroken LinkExploitWEB
- secunia.com/advisories/37949nvdNot ApplicableVendor Advisory
- www.redhat.com/support/errata/RHSA-2011-0908.htmlnvdThird Party AdvisoryWEB
- www.redhat.com/support/errata/RHSA-2011-0909.htmlnvdThird Party AdvisoryWEB
- www.securityfocus.com/archive/1/508830/100/0/threadednvdBroken LinkThird Party AdvisoryVDB Entry
- github.com/advisories/GHSA-6mq2-37j5-w6r6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2009-4492ghsaADVISORY
- www.vupen.com/english/advisories/2010/0089nvdPermissions Required
- github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2009-4492.ymlghsaWEB
- web.archive.org/web/20100113155532/http://www.vupen.com/english/advisories/2010/0089ghsaWEB
- web.archive.org/web/20100815010948/http://secunia.com/advisories/37949ghsaWEB
- web.archive.org/web/20170402100552/http://securitytracker.com/idghsaWEB
- web.archive.org/web/20170908140655/http://www.securityfocus.com/archive/1/508830/100/0/threadedghsaWEB
- web.archive.org/web/20200228145937/http://www.securityfocus.com/bid/37710ghsaWEB
News mentions
0No linked articles in our index yet.