安全研究

安全漏洞
Notepad++ Ruby源文件处理远程栈溢出漏洞

发布日期:2007-05-12
更新日期:2007-05-15

受影响系统:
Notepad++ Notepad++ 4.1
Scintilla Scintilla 1.73
描述:
BUGTRAQ  ID: 23961

Notepad++是运行在Windows环境中的开源编辑器,支持多种编程语言。

Notepad++的SciLexer模块(SciLexer.dll)在处理ruby源文件(.rb)时存在栈溢出漏洞,如果用户受骗打开了恶意的.rb文件,就会触发这个溢出,导致执行任意指令。

<*来源:Vade79 (v9@fakehalo.us
  
  链接:http://secunia.com/advisories/25245/
        http://www.lyra.org/pipermail/scintilla-interest/2007-May/008667.html
        http://secunia.com/advisories/25327/
*>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

http://milw0rm.com/exploits/3912
http://iagorubio.com/scintilla/secunia_SA25245.rb

建议:
厂商补丁:

Scintilla
---------
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:

http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexRuby.cxx?view=log#rev1.13

浏览次数:3019
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障