NTLMv2 hash disclosure via UNC path handling on Windows
vitejs launch-editor · vitejs vite · vitejs vite-plus
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| launch-editor npm |
|
|
| vite npm |
|
|
vitejs launch-editor · vitejs vite · vitejs vite-plus
| Product | Affected | Fixed in |
|---|---|---|
| launch-editor npm |
|
|
| vite npm |
|
|
7.3.56.4.3| vite-plus npm |
|
|
launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.1, the launch-editor NPM package accesses arbitrary paths including Windows UNC paths. When a UNC path is opened, Windows automatically attempts NTLM authentication to the remote host, causing the user’s NTLMv2 password hash to be leaked to an attacker-controlled SMB server. This can result in credential compromise through offline hash cracking. This vulnerability is fixed in 2.14.1.
From the CVE record · GitHub_M
Before 2.14.1, launch-editor can open arbitrary paths, including Windows UNC paths. If a user opens a UNC path pointing to an attacker-controlled SMB server, Windows attempts NTLM authentication and exposes the user’s NTLMv2 password hash, which could be cracked offline.
Check installations of npm launch-editor below 2.14.1, vite 8.0.0–8.0.15 or 7.0.0–7.3.4 or below 6.4.3, and vite-plus below 0.1.24.