CVE-2025–15556 分析:Notepad++ 的供應鏈攻擊與防禦�
Notepad++'s built-in updater WinGUp downloaded an XML description file and then fetched and ran the installer it pointed to without verifying the installer's digital signature or certificate. An attacker who could alter that XML could make the updater download and execute a malicious program.
舊版WinGUp會� �從 notepad-plus-plus.org 下載一個 XML 描述檔,裡面� 含新版本的下載連結,WinGUp 會依� �該連結下載安裝程式,但下載後並未強制檢查該安裝程式的數位簽章(Digital Signature)與憑證(Certificate)
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
What the attacker needed
Notepad++ older than v8.8.9; attacker can alter the update XML; user triggers the update
The fix
Notepad++ was fixed in v8.8.9, which adds verification of the update; users should upgrade to v8.8.9 or later.
How it was found
- Redirect the victim's update traffic to a malicious server by editing the local hosts file.
- Create a fake certificate authority and import it into the victim's trusted root store.
- Clear the SSL state on the victim machine.
- Host a malicious executable on the fake server.
- Trigger the update from the vulnerable Notepad++ and accept the prompts.
- The malicious program runs on the victim machine.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Many programs update themselves by reading a small file that says where to get the new version. This updater trusted that file and never checked that the downloaded installer was really signed by Notepad++. If someone changed the file, the program would happily download and run whatever it pointed to, which could be malware.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.