CVE-2025-34079

Source
https://cve.org/CVERecord?id=CVE-2025-34079
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-34079.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-34079
Published
2025-07-02T20:15:29.963Z
Modified
2026-04-10T05:26:04.736080Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/mickem/nscp

Affected ranges

Type
GIT
Repo
https://github.com/mickem/nscp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.5.2.35"
        }
    ]
}

Affected versions

0.*
0.4.2.88
0.4.2.93
0.4.3.124
0.4.3.128
0.4.3.129
0.4.3.141
0.4.3.142
0.4.3.77
0.4.3.88
0.4.4.2
0.4.4.21
0.4.4.22
0.4.4.3
0.5.0.13
0.5.0.16
0.5.0.17
0.5.0.18
0.5.0.20
0.5.0.22
0.5.0.24
0.5.0.26
0.5.0.27
0.5.0.28
0.5.0.29
0.5.0.30
0.5.0.31
0.5.0.33
0.5.0.36
0.5.0.38
0.5.0.39
0.5.0.40
0.5.0.42
0.5.0.43
0.5.0.45
0.5.0.48
0.5.0.51
0.5.0.52
0.5.0.54
0.5.0.55
0.5.0.59
0.5.0.60
0.5.0.61
0.5.0.62
0.5.1.12
0.5.1.15
0.5.1.17
0.5.1.19
0.5.1.20
0.5.1.21
0.5.1.22
0.5.1.24
0.5.1.25
0.5.1.26
0.5.1.28
0.5.1.29
0.5.1.31
0.5.1.32
0.5.1.35
0.5.1.37
0.5.1.39
0.5.1.40
0.5.1.42
0.5.1.43
0.5.1.44
0.5.1.45
0.5.1.8
0.5.2.1
0.5.2.11
0.5.2.15
0.5.2.18
0.5.2.19
0.5.2.20
0.5.2.21
0.5.2.22
0.5.2.27
0.5.2.29
0.5.2.30
0.5.2.31
0.5.2.33
0.5.2.35
0.5.2.6
0.5.2.8
0.5.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-34079.json"