vendor:
Notepad++
by:
Anonymous
7,8
CVSS
HIGH
Stack buffer overflow
119
CWE
Product Name: Notepad++
Affected Version From: 6.5.2
Affected Version To: 6.5.2
Patch Exists: YES
Related CWE: N/A
CPE: notepad-plus-plus:6.5.2
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Windows
2013
Stack buffer overflow in Notepad++
A stack buffer overflow vulnerability exists in Notepad++ when the plugin CCompletion is installed. An attacker can exploit this vulnerability by inputting a large number of characters into the editor, selecting all the text, and then clicking Menu Plugins->CCompletion->Go to identifier (Open in firt view) F11, which will cause the Notepad++ to crash. This is due to the plugin copying the text using lstrcpyW in the module kernel32, resulting in a stack buffer overflow. An exploit for this vulnerability is available in the file attachment named shellcode.txt, which will show a message box with the caption “HA” and the text “Back Door Opend.”
Mitigation:
Disable DEP on the system or application, or update to a version of Notepad++ that is not vulnerable.