{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34078 exists.","fix":"No fix has been published for CVE-2025-34078 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-34078 is a high-severity vulnerability in NSClient++, published on 2 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-34078 and fix it if it is affected.\n\nWhat it is: CVE-2025-34078 is a high-severity vulnerability in NSClient++, published on 2 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34078 exists.\n\nAffected product: NSClient++. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-34078/ (Markdown: https://insights.sbomify.com/CVE-2025-34078/index.md)","id":"CVE-2025-34078","markdown":"https://insights.sbomify.com/CVE-2025-34078/index.md","name":"CVE-2025-34078","record":{"aliases":["GHSA-jr25-22p3-gm6r"],"analysis":{"component_type":"server_software","fix_type":"configuration_change","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Monitoring server software","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges to SYSTEM by extracting plaintext admin credentials from the config file and abusing the ExternalScripts feature.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"nsclient\\+\\+","vendor":"nsclient"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"description":"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.\n\nThis behavior is documented but insecure, as the plaintext credential exposure undermines access isolation between local users and administrative functions.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2020-10-20","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2020-10-20","kind":"metasploit","ref":"exploit/windows/local/nscp_pe","stars":null,"title":"NSClient++ 0.5.2.35 - Privilege escalation"}],"tier":"weaponised"},"has_fix":false,"headline":"NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface","id":"CVE-2025-34078","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2025"},"n_packages":0,"n_references":4,"next":{"headline":"NSClient++ Authenticated Remote Code Execution via ExternalScripts API","id":"CVE-2025-34079"},"packages":[],"prev":{"headline":"WordPress Pie Register Plugin ≤ 3.7.1.4 Authentication Bypass RCE","id":"CVE-2025-34077"},"products":["NSClient++"],"published":"2025-07-02","related":[{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2018-6384","kev_date_added":null,"published":"2018-01-31"},{"cvss_score":7.5,"headline":"NSClient++ Authenticated Remote Code Execution via ExternalScripts API","id":"CVE-2025-34079","kev_date_added":null,"published":"2025-07-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-07","vendors":["NSClient++"]},"summary":"Local attackers can escalate privileges to SYSTEM by extracting plaintext admin credentials from the config file and abusing the ExternalScripts feature.","url":"https://insights.sbomify.com/CVE-2025-34078/"}