---------------------------------------------------------------------- Accurate Vulnerability Scanning No more false positives, no more false negatives http://secunia.com/vulnerability_scanning/ ---------------------------------------------------------------------- TITLE: Ruby WEBrick Terminal Escape Sequences Weakness SECUNIA ADVISORY ID: SA37949 VERIFY ADVISORY: http://secunia.com/advisories/37949/ DESCRIPTION: A weakness has been reported in Ruby, which can be exploited by malicious people to manipulate certain data. The weakness is caused due to the WEBrick component logging terminal escape sequences received in HTTP requests. This can be exploited to pass control characters to a terminal emulator when a user displays WEBrick logs via e.g. "cat". The weakness is reported in the following versions: * Ruby 1.8.6 patchlevel 383 and prior * Ruby 1.8.7 patchlevel 248 and prior * Ruby 1.9.1 patchlevel 376 and prior SOLUTION: Ruby 1.8.7: Apply patchlevel 249: ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p249.zip Ruby 1.9.1: Apply patchlevel 378: ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p378.zip Ruby 1.8.6: Apply patchlevel 388: ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p388.zip PROVIDED AND/OR DISCOVERED BY: Giovanni "evilaliv3" Pellerano, Alessandro "jekil" Tanasi, and Francesco "ascii" Ongaro ORIGINAL ADVISORY: http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection/ http://www.ush.it/team/ush/hack_httpd_escape/adv.txt ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help private users keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------