CVE-2009-4492
Ruby 1.9.1 - WEBrick 'Terminal Escape Sequence in Logs' Command Injection
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
4Exploited in Wild
-Decision
Descriptions
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.
WEBrick v1.3.1 en Ruby v1.8.6 del patchlevel 383, v1.8.7 al patchlevel 248, v1.8.8dev, 1.9.1 al patchlevel 376, y v1.9.2dev ,escribe datos en un archivo de los sin depurar los caracteres no escribibles, lo que podría permitir a atacantes remotos modificar la ventana de título, o posiblemente ejecutar comandos de su elección o sobrescribir archivos, a través de una petición HTTP que contiene una secuencia de escape para el emulador de terminal.
Nginx, Varnish, Cherokee, thttpd, mini-httpd, WEBrick, Orion, AOLserver, Yaws and Boa are subject to log escape sequence injection vulnerabilities.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2009-12-30 CVE Reserved
- 2010-01-11 CVE Published
- 2010-01-11 First Exploit
- 2024-08-07 CVE Updated
- 2024-11-12 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
CAPEC
References (11)
URL | Tag | Source |
---|---|---|
http://www.securityfocus.com/archive/1/508830/100/0/threaded | Broken Link |
URL | Date | SRC |
---|---|---|
https://www.exploit-db.com/exploits/33489 | 2010-01-11 | |
http://securitytracker.com/id?1023429 | 2024-08-07 | |
http://www.securityfocus.com/bid/37710 | 2024-08-07 | |
http://www.ush.it/team/ush/hack_httpd_escape/adv.txt | 2024-08-07 |
URL | Date | SRC |
---|---|---|
http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection | 2023-08-01 |
URL | Date | SRC |
---|---|---|
http://secunia.com/advisories/37949 | 2023-08-01 | |
http://www.redhat.com/support/errata/RHSA-2011-0908.html | 2023-08-01 | |
http://www.redhat.com/support/errata/RHSA-2011-0909.html | 2023-08-01 | |
https://access.redhat.com/security/cve/CVE-2009-4492 | 2011-06-28 | |
https://bugzilla.redhat.com/show_bug.cgi?id=554485 | 2011-06-28 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Ruby-lang Search vendor "Ruby-lang" | Webrick Search vendor "Ruby-lang" for product "Webrick" | 1.3.1 Search vendor "Ruby-lang" for product "Webrick" and version "1.3.1" | ruby |
Affected
| in | Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | >= 1.8.6 <= 1.8.6.383 Search vendor "Ruby-lang" for product "Ruby" and version " >= 1.8.6 <= 1.8.6.383" | - |
Safe
|
Ruby-lang Search vendor "Ruby-lang" | Webrick Search vendor "Ruby-lang" for product "Webrick" | 1.3.1 Search vendor "Ruby-lang" for product "Webrick" and version "1.3.1" | ruby |
Affected
| in | Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | >= 1.8.7 <= 1.8.7.248 Search vendor "Ruby-lang" for product "Ruby" and version " >= 1.8.7 <= 1.8.7.248" | - |
Safe
|
Ruby-lang Search vendor "Ruby-lang" | Webrick Search vendor "Ruby-lang" for product "Webrick" | 1.3.1 Search vendor "Ruby-lang" for product "Webrick" and version "1.3.1" | ruby |
Affected
| in | Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | >= 1.9.1 <= 1.9.1.376 Search vendor "Ruby-lang" for product "Ruby" and version " >= 1.9.1 <= 1.9.1.376" | - |
Safe
|