Description
Stack-based buffer overflow in LexRuby.cxx (SciLexer.dll) in Scintilla 1.73, as used by notepad++ 4.1.1 and earlier, allows user-assisted remote attackers to execute arbitrary code via certain Ruby (.rb) files with long lines. NOTE: this was originally reported as a vulnerability in notepad++.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Notepad++ 4.1 (Windows x86) - '.ruby' File Processing Buffer Overflow EDB-3912 · local · May 12, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- ADV-2007-1794 vdb-entry
- 20070513 notepad++[v4.1]: (win32) ruby file processing buffer overflow exploit. mailing-list
- 3912 exploit
- 25327 third-party-advisory
- ADV-2007-1867 vdb-entry
- 20070523 Re: notepad++[v4.1]: (win32) ruby file processing buffer overflow exploit. mailing-list
- 23961 vdb-entry
- notepadplus-rb-bo(34269) vdb-entry
- http://scintilla.cvs.sourceforge.net/scintilla/scintilla/src/LexRuby.cxx?view=log#rev1.13
- scintilla-rb-bo(34372) vdb-entry
- 36007 vdb-entry
- 25245 third-party-advisory