Exploitation Summary
EIP tracks 3 public exploits for CVE-2025-34078.
PoCs published by kindredsec, bzyo, kindredsec, BZYO, including Metasploit module exploits/windows/local/nscp_pe.
AI-analyzed exploit summary This exploit leverages authenticated access to NSClient++'s external scripts feature to achieve remote code execution (RCE) by adding a malicious script, saving the configuration, and triggering execution. The exploit handles authentication, configuration updates, and application reloads to ensure payload execution.
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.
Exploits (3)
This exploit leverages authenticated access to NSClient++'s external scripts feature to achieve remote code execution (RCE) by adding a malicious script, saving the configuration, and triggering execution. The exploit handles authentication, configuration updates, and application reloads to ensure payload execution.
This exploit demonstrates a privilege escalation vulnerability in NSClient++ 0.5.2.35 by reading the cleartext web administrator password from the configuration file, enabling external script execution, and scheduling a malicious script to run as Local System.
This Metasploit module exploits CVE-2025-34078 in NSClient++ 0.5.2.35 by leveraging the ExternalScripts feature and a cleartext admin password in the config file to achieve privilege escalation via a crafted PowerShell payload.
References (4)
Scores
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H