CVE-2025-34079

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nsclient:nsclient\+\+:0.5.2.35:*:*:*:*:*:*:*

History

16 Sep 2025, 19:53

Type Values Removed Values Added
CPE cpe:2.3:a:nsclient:nsclient\+\+:0.5.2.35:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
First Time Nsclient nsclient\+\+
Nsclient
References () https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/nscp_authenticated_rce.rb - () 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 - () https://vulncheck.com/advisories/nsclient-localtoremote-system-compromise - Exploit, Third Party Advisory
References () https://www.exploit-db.com/exploits/48360 - () https://www.exploit-db.com/exploits/48360 - Exploit, VDB Entry

03 Jul 2025, 15:13

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\+\+
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-306

Missing Authentication for Critical Function