NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2- NSClient++/NSClient++v5Range: 0.5.2.35
Patches
Vulnerability mechanics
References
4- raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/local/nscp_pe.rbmitreexploit
- www.exploit-db.com/exploits/46802mitreexploit
- www.exploit-db.com/exploits/48360mitreexploit
- vulncheck.com/advisories/nsclient-localtoremote-system-compromisemitrethird-party-advisory
News mentions
0No linked articles in our index yet.