CVE-2025-34078

NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface

State
Published
Severity
7.3 High
Published
Jul 2, 2025
Updated
Apr 7, 2026
Reserved
Apr 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.3 HighCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-522 Insufficiently Protected Credentials

Affected Products

ProductVersions
NSClient++NSClient++
  • 0.5.2.35Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.