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

No CVSS.

Configurations

No configuration.

History

03 Jul 2025, 15:13

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de ejecución remota de código autenticada en NSClient++ versión 0.5.2.35 cuando la interfaz web y el módulo ExternalScripts están habilitados. Un atacante remoto con la contraseña de administrador puede autenticarse en la interfaz web (puerto predeterminado 8443), inyectar comandos arbitrarios como scripts externos mediante la API /settings/query.json, guardar la configuración y ejecutar el script mediante el endpoint /query/{name}. Los comandos inyectados se ejecutan con privilegios de sistema, lo que permite una vulneración remota completa. Esta función es una función prevista, pero la falta de protecciones o separación de privilegios la hace peligrosa al exponerse a actores no confiables.

02 Jul 2025, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-02 20:15

Updated : 2025-07-03 15:13


NVD link : CVE-2025-34079

Mitre link : CVE-2025-34079

CVE.ORG link : CVE-2025-34079


JSON object : View

Products Affected

No product.

CWE
CWE-94

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

CWE-306

Missing Authentication for Critical Function