CVE-2025-34078 Details
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.
A local privilege escalation vulnerability has been identified in NSClient++ version 0.5.2.35. This issue arises when the web interface and ExternalScripts features are both enabled. The vulnerability allows low-privileged users to read the administrative password, which is stored in plaintext in the configuration file (nsclient.ini). With this password, an attacker can authenticate to the NSClient++ web interface, access the ExternalScripts plugin, and execute arbitrary commands as the SYSTEM user by registering a custom script, saving the configuration, and triggering the script via the API.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/local/nscp_pe.rb | [email protected] | ExploitThird Party Advisory |
| https://vulncheck.com/advisories/nsclient-localtoremote-system-compromise | [email protected] | ExploitThird Party Advisory |
| https://www.exploit-db.com/exploits/46802 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
| https://www.exploit-db.com/exploits/48360 | [email protected] | ExploitVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-522 | Insufficiently Protected Credentials | [email protected] |
| CWE-522 | Insufficiently Protected Credentials | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nsclient nsclient++ | 0.5.2.35 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 25, 2025 | CVE Modified | [email protected] |
| Sep 17, 2025 | Initial Analysis | [email protected] |
| Jul 2, 2025 | New CVE Received | [email protected] |