# CVE-2025-34078: NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface

- Severity: High 7.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2025-07-02T19:27:26.073Z
- Modified: 2026-06-17T09:13:26.040Z
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- NSClient++ NSClient++: 0.5.2.35
- nsclient nsclient++: 0.5.2.35

## Every score

- VulnCheck: CVSS:4.0 7.3 High `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/local/nscp_pe.rb> (exploit, third-party-advisory)
- <https://www.exploit-db.com/exploits/48360> (exploit, vdb-entry)
- <https://www.exploit-db.com/exploits/46802> (exploit, third-party-advisory, vdb-entry)
- <https://vulncheck.com/advisories/nsclient-localtoremote-system-compromise> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2025-34078](https://www.cve.org/CVERecord?id=CVE-2025-34078), CVE Terms of Use, modified 2026-04-07
- NVD: [CVE-2025-34078](https://nvd.nist.gov/vuln/detail/CVE-2025-34078), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-34078 · Whole record: https://cve.day/CVE-2025-34078.json · Rebuilt by cve.day 2026-11-25T22:59:00.501Z
