GLSA-201001-09 : Ruby: Terminal Control Character Injection

medium Nessus Plugin ID 44898

Language:

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201001-09 (Ruby: Terminal Control Character Injection)

Giovanni Pellerano, Alessandro Tanasi and Francesco Ongaro reported that WEBrick does not filter terminal control characters, for instance when handling HTTP logs.
Impact :

A remote attacker could send a specially crafted HTTP request to a WEBrick server to inject arbitrary terminal control characters, possibly resulting in the execution of arbitrary commands, data loss, or other unspecified impact. This could also be used to facilitate other attacks.
Workaround :

There is no known workaround at this time.

Solution

All Ruby 1.8.7 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/ruby-1.8.7_p249' All Ruby 1.8.6 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/ruby-1.8.6_p388'

See Also

https://security.gentoo.org/glsa/201001-09

Plugin Details

Severity: Medium

ID: 44898

File Name: gentoo_GLSA-201001-09.nasl

Version: 1.11

Type: local

Published: 2/25/2010

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:ruby, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/14/2010

Reference Information

CVE: CVE-2009-4492

BID: 37710

CWE: 20

GLSA: 201001-09