CVE-2009-4492

Public Exploit

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.

7.5
CVSS
Severity: High
CVSS 2.0 •
EPSS 16.81% Top 10%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory secunia.com Vendor Advisory ruby-lang.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection patch vendor advisory
http://www.redhat.com/support/errata/RHSA-2011-0909.html third party advisory vendor advisory
http://secunia.com/advisories/37949 not applicable third party advisory vendor advisory
http://www.vupen.com/english/advisories/2010/0089 vdb entry permissions required
http://www.redhat.com/support/errata/RHSA-2011-0908.html third party advisory vendor advisory
http://www.ush.it/team/ush/hack_httpd_escape/adv.txt broken link exploit
http://www.securityfocus.com/bid/37710 exploit vdb entry third party advisory broken link
http://www.securityfocus.com/archive/1/508830/100/0/threaded mailing list vdb entry third party advisory broken link
http://securitytracker.com/id?1023429 exploit vdb entry third party advisory broken link

Frequently Asked Questions

What is the severity of CVE-2009-4492?
CVE-2009-4492 has been scored as a high severity vulnerability.
How to fix CVE-2009-4492?
To fix CVE-2009-4492, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2009-4492 being actively exploited in the wild?
It is possible that CVE-2009-4492 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~17% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.