CVE-2025-34078CWE-522

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

High · published July 2, 2025

CVSS v4.0
7.3
EPSS
1%
Percentile
53.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.3 · HIGH
Vector
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
EPSS
0.00713 · 53.1th percentile
Weakness
CWE-522 · Insufficiently Protected Credentials
Published
2025-07-02T19:27Z
EPSS history
Timeline
  • 02 JUL 19:27Z
    NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface
    cvelistv5