Ruby多个远程代码执行漏洞

Posted by ArtHack on Jun 30th, 2008 and filed under Notice loopholes. You can follow any responses to this entry through the RSS 2.0. You can also subscribe to us, through the Top of the E-mail - 加入超级QQ群:32843311

受影响系统:
Yukihiro Matsumoto Ruby 1.9.x
Yukihiro Matsumoto Ruby 1.8.x
不受影响系统:
Yukihiro Matsumoto Ruby 1.9.0-2
Yukihiro Matsumoto Ruby 1.8.7-p22
Yukihiro Matsumoto Ruby 1.8.6-p230
Yukihiro Matsumoto Ruby 1.8.5-p231
描述:
——————————————————————————–
BUGTRAQ  ID: 29903
CVE(CAN) ID: CVE-2008-2662,CVE-2008-2663,CVE-2008-2725,CVE-2008-2726,CVE-2008-2664
Ruby是一种功能强大的面向对象的脚本语言。

Ruby的array.c文件中的ary_new()、rb_ary_initialize()、rb_ary_store()、 rb_ary_times()和rb_ary_splice()函数中存在多个整数溢出漏洞,如果远程攻击者向这些函数提交了超长参数的话,就可以触发溢 出,导致执行任意指令。
Ruby的rb_str_buf_append()函数没有正确的调用alloca(),如果远程攻击者提交了恶意参数的话,就可能触发整数溢出,导致执行任意指令。
<*来源:Drew Yao

链接:http://secunia.com/advisories/29794/
http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-cution-vulnerabilities/
http://www.matasano.com/log/1070/s-on-drew-yaos-terrible-ruby-vulnerabilities/
*>
建议:
——————————————————————————–
厂商补丁:
Yukihiro Matsumoto
——————
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-p231.tar.gz
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p230.tar.gz
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p22.tar.gz
ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0-2.tar.gz

Classic Posts

Our Sponsors

Leave a Reply

Our Sponsors

Tag Cloud

Premium Wordpress Themes

Themeforest
WPNOW Themes
StyleWP
Solostream
press75
Translator
Chinese (Simplified) flagChinese (Traditional) flagItalian flagKorean flagPortuguese flagEnglish flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flagSlovak flagSlovenian flagUkrainian flagVietnamese flagAlbanian flagEstonian flagGalician flagMaltese flagThai flagTurkish flagHungarian flag
Log in / Art Hack.All rights reserved.