Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 201001-09 ] Ruby: Terminal Control Character Injection
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Advocate
Advocate


Joined: 12 May 2004
Posts: 2663

PostPosted: Thu Jan 14, 2010 3:26 pm    Post subject: [ GLSA 201001-09 ] Ruby: Terminal Control Character Injectio Reply with quote

Gentoo Linux Security Advisory

Title: Ruby: Terminal Control Character Injection (GLSA 201001-09)
Severity: normal
Exploitable: remote
Date: January 14, 2010
Bug(s): #300468
ID: 201001-09

Synopsis


An input sanitation flaw in the WEBrick HTTP server included in Ruby might
allow remote attackers to inject arbitrary control characters into terminal
sessions.


Background


Ruby is an interpreted scripting language for quick and easy
object-oriented programming. It comes bundled with a HTTP server
("WEBrick").


Affected Packages

Package: dev-lang/ruby
Vulnerable: < 1.8.7_p249
Unaffected: >= 1.8.7_p249
Unaffected: >= 1.8.6_p388 < 1.8.7
Architectures: All supported architectures


Description


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.


Resolution


All Ruby 1.8.7 users should upgrade to the latest version:
Code:
# 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:
Code:
# emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.6_p388"


References

CVE-2009-4492
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum