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.
References
Link | Resource |
---|---|
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/local/nscp_pe.rb | Exploit Third Party Advisory |
https://vulncheck.com/advisories/nsclient-localtoremote-system-compromise | Exploit Third Party Advisory |
https://www.exploit-db.com/exploits/46802 | Exploit VDB Entry Third Party Advisory |
https://www.exploit-db.com/exploits/48360 | Exploit VDB Entry |
Configurations
History
17 Sep 2025, 13:32
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:nsclient:nsclient\+\+:0.5.2.35:*:*:*:*:*:*:* | |
First Time |
Nsclient
Nsclient nsclient\+\+ |
|
CWE | CWE-522 | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
References | () https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/local/nscp_pe.rb - Exploit, Third Party Advisory | |
References | () https://vulncheck.com/advisories/nsclient-localtoremote-system-compromise - Exploit, Third Party Advisory | |
References | () https://www.exploit-db.com/exploits/46802 - Exploit, VDB Entry, Third Party Advisory | |
References | () https://www.exploit-db.com/exploits/48360 - Exploit, VDB Entry |
03 Jul 2025, 15:13
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
02 Jul 2025, 20:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-07-02 20:15
Updated : 2025-09-17 13:32
NVD link : CVE-2025-34078
Mitre link : CVE-2025-34078
CVE.ORG link : CVE-2025-34078
JSON object : View
Products Affected
nsclient
- nsclient\+\+