CVE-2025-34079 Details
Description
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.
A remote code execution vulnerability has been identified in NSClient++ version 0.5.2.35. This issue arises when the web interface and ExternalScripts module are enabled. An authenticated attacker with knowledge of the administrator password can exploit this vulnerability by injecting arbitrary commands as external scripts through the /settings/query.json API. After saving the configuration, the injected script can be executed via the /query/{name} endpoint. The executed commands run with SYSTEM privileges, allowing for full remote compromise. While this functionality is intended, the absence of proper safeguards or privilege separation poses a significant risk when exposed to untrusted actors.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nsclient nsclient++ | 0.5.2.35 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 16, 2025 | Initial Analysis | [email protected] |
| Jul 2, 2025 | New CVE Received | [email protected] |