CVE-2009-4492: Improper Input Validation
(updated )
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
- secunia.com/advisories/37949
- securitytracker.com/id?1023429
- www.redhat.com/support/errata/RHSA-2011-0908.html
- www.redhat.com/support/errata/RHSA-2011-0909.html
- www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection
- www.securityfocus.com/archive/1/508830/100/0/threaded
- www.securityfocus.com/bid/37710
- www.ush.it/team/ush/hack_httpd_escape/adv.txt
- www.vupen.com/english/advisories/2010/0089
- github.com/advisories/GHSA-6mq2-37j5-w6r6
- nvd.nist.gov/vuln/detail/CVE-2009-4492
Detect and mitigate CVE-2009-4492 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →