漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Notepad++: Arbitrary Code Execution via shortcuts.xml UserCommand Injection
Vulnerability Description
Notepad++ is a free and open-source source code editor. Prior to 8.9.6.1, the <Command> tag text content inside <UserDefinedCommands> in shortcuts.xml is read by NppXml::value(aNode) (Parameters.cpp:3658) in the feedUserCmds() function and stored in UserCommand._cmd without any validation. When the user clicks the corresponding entry in the Run menu, NppCommands.cpp:4264 creates a Command object with string2wstring(ucmd.getCmd()) and calls run(), which invokes ShellExecute (RunDlg.cpp:221) with the attacker-controlled string as the executable path. The injected command appears as a normal menu item in the Run menu, making it a viable persistence mechanism. This vulnerability is fixed in 8.9.6.1.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
Notepad++ 命令注入漏洞
Vulnerability Description
notepad-plus-plus notepad++是notepad-plus-plus团队开源的一款文本编辑及源代码处理工具。 Notepad++ 8.9.6.1之前版本存在命令注入漏洞,该漏洞源于在feedUserCmds()函数中未对UserCommand._cmd进行任何验证,可能导致攻击者控制的可执行路径被调用,作为持久化机制。
CVSS Information
N/A
Vulnerability Type
N/A