{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34079 exists.","fix":"No fix has been published for CVE-2025-34079 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-34079 is a high-severity command injection vulnerability in NSClient++, published on 2 Jul 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-34079 and fix it if it is affected.\n\nWhat it is: CVE-2025-34079 is a high-severity command injection vulnerability in NSClient++, published on 2 Jul 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34079 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-34079/ (Markdown: https://insights.sbomify.com/CVE-2025-34079/index.md)","id":"CVE-2025-34079","markdown":"https://insights.sbomify.com/CVE-2025-34079/index.md","name":"CVE-2025-34079","record":{"aliases":["GHSA-rhrw-79v5-jc5x"],"analysis":{"component_type":"server_software","fix_type":"configuration_change","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Monitoring agent","requires_auth":"high_privilege","summary":"Authenticated attackers can execute arbitrary commands with SYSTEM privileges via the ExternalScripts API if the web interface is enabled.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"nsclient\\+\\+","vendor":"nsclient"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"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.\n\nThis capability is an intended feature, but the lack of safeguards or privilege separation makes it risky when exposed to untrusted actors.","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/http/nscp_authenticated_rce","stars":null,"title":"NSClient++ 0.5.2.35 - ExternalScripts Authenticated Remote Code Execution"}],"tier":"weaponised"},"has_fix":false,"headline":"NSClient++ Authenticated Remote Code Execution via ExternalScripts API","id":"CVE-2025-34079","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"CONPROSYS HMI System (CHS) \u003c 3.7.7 Reflected Cross-Site Scripting","id":"CVE-2025-34080"},"packages":[],"prev":{"headline":"NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface","id":"CVE-2025-34078"},"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.3,"headline":"NSClient++ 0.5.2.35 Local Privilege Escalation via ExternalScripts and Web Interface","id":"CVE-2025-34078","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":"total"},"state":"PUBLISHED","updated":"2026-04-07","vendors":["NSClient++"]},"summary":"Authenticated attackers can execute arbitrary commands with SYSTEM privileges via the ExternalScripts API if the web interface is enabled.","url":"https://insights.sbomify.com/CVE-2025-34079/"}