CVE-2025-34078 NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| NSClient++ | = 0.5.2.35 | No fix listed | Versions listed |
| nsclient++ | = 0.5.2.35 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| NSClient++ | = 0.5.2.35 | No fix listed |
| nsclient++ | = 0.5.2.35 | No fix listed |
References
- raw.githubusercontent.com exploit third-party-advisory
- www.exploit-db.com exploit vdb-entry
- www.exploit-db.com exploit third-party-advisory vdb-entry
- vulncheck.com exploit third-party-advisory