NSClient++
NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface
A local privilege escalation vulnerability exists in NSClient++ 0.5.2.35 when both the web interface and ExternalScripts features are enabled. The configuration file (nsclient.ini) stores the administrative password in plaintext and is readable by local users. By extracting this password, an attacker can authenticate to the NSClient++ web interface (typically accessible on port 8443) and abuse the ExternalScripts plugin to inject and execute arbitrary commands as SYSTEM by registering a custom script, saving the configuration, and triggering it via the API. This behavior is documented but insecure, as the plaintext credential exposure undermines access isolation between local users and administrative functions.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 0.5.2.35
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 97 days after publication; not in CISA KEV. First PoC: Metasploit exploit: NSClient++ 0.5.2.35 - Privilege escalation (exploit/windows/local/nscp_pe) (Metasploit, 7 Oct 2025).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/local/nscp_pe.rb | unknown | 14 Nov 2026 |
| CVE record (tagged exploit) | https://www.exploit-db.com/exploits/46802 | unknown | 14 Nov 2026 |
| CVE record (tagged exploit) | https://www.exploit-db.com/exploits/48360 | unknown | 14 Nov 2026 |
| Metasploit | Metasploit exploit: NSClient++ 0.5.2.35 - Privilege escalation (exploit/windows/local/nscp_pe) | 7 Oct 2025 | 14 Nov 2026 |