CVE-2009-4492

MEDIUM

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.

References

http://secunia.com/advisories/37949

http://securitytracker.com/id?1023429

http://www.redhat.com/support/errata/RHSA-2011-0908.html

http://www.redhat.com/support/errata/RHSA-2011-0909.html

http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection

http://www.securityfocus.com/archive/1/508830/100/0/threaded

http://www.securityfocus.com/bid/37710

http://www.ush.it/team/ush/hack_httpd_escape/adv.txt

http://www.vupen.com/english/advisories/2010/0089

Details

Source: MITRE

Published: 2010-01-13

Updated: 2018-10-10

Type: CWE-20

Risk Information

CVSS v2.0

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

Tenable Plugins

View all (14 total)

IDNameProductFamilySeverity
68298Oracle Linux 5 : ruby (ELSA-2011-0909)NessusOracle Linux Local Security Checks
medium
68297Oracle Linux 4 : ruby (ELSA-2011-0908)NessusOracle Linux Local Security Checks
medium
67085CentOS 5 : ruby (CESA-2011:0909)NessusCentOS Local Security Checks
medium
61076Scientific Linux Security Update : ruby on SL5.x i386/x86_64NessusScientific Linux Local Security Checks
medium
61075Scientific Linux Security Update : ruby on SL4.x i386/x86_64NessusScientific Linux Local Security Checks
medium
55837CentOS 4 : ruby (CESA-2011:0908)NessusCentOS Local Security Checks
medium
55451RHEL 5 : ruby (RHSA-2011:0909)NessusRed Hat Local Security Checks
medium
55450RHEL 4 : ruby (RHSA-2011:0908)NessusRed Hat Local Security Checks
medium
54921SuSE 11.1 Security Update : ruby (SAT Patch Number 4585)NessusSuSE Local Security Checks
medium
47190Fedora 11 : ruby-1.8.6.383-6.fc11 (2010-0533)NessusFedora Local Security Checks
medium
47189Fedora 12 : ruby-1.8.6.383-6.fc12 (2010-0530)NessusFedora Local Security Checks
medium
44898GLSA-201001-09 : Ruby: Terminal Control Character InjectionNessusGentoo Local Security Checks
medium
44640Ubuntu 8.10 / 9.04 / 9.10 : ruby1.9 vulnerabilities (USN-900-1)NessusUbuntu Local Security Checks
critical
44061Mandriva Linux Security Advisory : ruby (MDVSA-2010:017)NessusMandriva Local Security Checks
medium