Skip to content
OpenAdvisories
High · 7.3 Public exploit CVE-2025-34078 EUVD-2025-19753GHSA-jr25-22p3-gm6r

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

Published Jul 2, 2025 · Updated Apr 7, 2026 · 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.

Affected products

VendorProductAffectedFixed
NSClient++ NSClient++ 0.5.2.35 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References