CVE-2025-34078

Source
https://cve.org/CVERecord?id=CVE-2025-34078
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-34078.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-34078
Published
2025-07-02T20:15:29.827Z
Modified
2026-04-10T05:26:04.749520Z
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

A local privilege escalation vulnerability exists in NSClient++ 0.5.2.35 when both the web interface and ExternalScripts features are enabled. The configuration file (nsclient.ini) stores the administrative password in plaintext and is readable by local users. By extracting this password, an attacker can authenticate to the NSClient++ web interface (typically accessible on port 8443) and abuse the ExternalScripts plugin to inject and execute arbitrary commands as SYSTEM by registering a custom script, saving the configuration, and triggering it via the API.

This behavior is documented but insecure, as the plaintext credential exposure undermines access isolation between local users and administrative functions.

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-34078.json"