An authenticated remote code execution vulnerability exists in NSClient++ version 0.5.2.35 when the web interface and ExternalScripts module are enabled. A remote attacker with the administrator password can authenticate to the web interface (default port 8443), inject arbitrary commands as external scripts via the /settings/query.json API, save the configuration, and trigger the script via the /query/{name} endpoint. The injected commands are executed with SYSTEM privileges, enabling full remote compromise.
This capability is an intended feature, but the lack of safeguards or privilege separation makes it risky when exposed to untrusted actors.
References
Link | Resource |
---|---|
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/nscp_authenticated_rce.rb | Exploit |
https://vulncheck.com/advisories/nsclient-localtoremote-system-compromise | Exploit Third Party Advisory |
https://www.exploit-db.com/exploits/48360 | Exploit VDB Entry |
Configurations
History
16 Sep 2025, 19:53
Type | Values Removed | Values Added |
---|---|---|
References | () https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/nscp_authenticated_rce.rb - Exploit | |
References | () https://vulncheck.com/advisories/nsclient-localtoremote-system-compromise - Exploit, Third Party Advisory | |
References | () https://www.exploit-db.com/exploits/48360 - Exploit, VDB Entry | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
CPE | cpe:2.3:a:nsclient:nsclient\+\+:0.5.2.35:*:*:*:*:*:*:* | |
First Time |
Nsclient
Nsclient nsclient\+\+ |
03 Jul 2025, 15:13
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
02 Jul 2025, 20:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-07-02 20:15
Updated : 2025-09-16 19:53
NVD link : CVE-2025-34079
Mitre link : CVE-2025-34079
CVE.ORG link : CVE-2025-34079
JSON object : View
Products Affected
nsclient
- nsclient\+\+