Skip to content
Heist/ feed
Back to feed
High

NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-34078
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:45 UTC · Revision 1

Source evidence

NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface

core-osv · Original source

Published 2 Jul 2025, 19:27 UTC

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.

osv:CVE-2025-34078
Complete source record
{
  "id": "966b4bfe510b79c2d4a89c81dc5d0d9a090f43a964244a0eeacfed197a668c4e",
  "url": "https://osv.dev/vulnerability/CVE-2025-34078",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface",
    "summary": "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.",
    "evidence": "osv:CVE-2025-34078",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-34078",
      "aliases": [
        "CVE-2025-34078"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mickem/nscp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e1a3942cf2794b789198af6b191bd89e7aa050ea"
                },
                {
                  "last_affected": "e1a3942cf2794b789198af6b191bd89e7aa050ea"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nsclient:nsclient\\+\\+:0.5.2.35:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.5.2.35"
                      },
                      {
                        "last_affected": "0.5.2.35"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.5.2.35"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-34078.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.962383503Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/34xxx/CVE-2025-34078.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-34078",
        "https://vulncheck.com/advisories/nsclient-localtoremote-system-compromise",
        "https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/local/nscp_pe.rb",
        "https://www.exploit-db.com/exploits/46802",
        "https://www.exploit-db.com/exploits/48360"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-522"
        ],
        "cna_assigner": "VulnCheck",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.5.2.35"
                  },
                  {
                    "last_affected": "0.5.2.35"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/34xxx/CVE-2025-34078.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-34078",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489322,
  "published_at": "2025-07-02T19:27:26.073+00:00"
}