cve.bz

CWE-78: Improper Neutralization of Special Elements used in an OS Command (OS Command Injection), published in 2021, page 9

Filter

The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.

What the weakness is: CWE-78 at MITRE. OWASP Top 10: A05:2025 Injection. All weaknesses

Related attack patterns (CAPEC): 5
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to CWE-78, as MITRE names them. Credits.

Ask an AI about CWE-78

Show the promptExplain CWE-78: Improper Neutralization of Special Elements used in an OS Command and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/78.html and https://cve.bz/cve/cwe/78?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 7.2CVE-2021-26683arubanetworks clearpass policy managerEPSS 2.5%

    A remote authenticated command injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): Prior to 6.9.5, 6.8.8-HF1, 6.7.14-HF1. A vulnerability in the ClearPass web-based management interface allows remote authen…

  2. 7.2CVE-2021-26681arubanetworks clearpass policy managerEPSS 2.5%

    A remote authenticated command Injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): Prior to 6.9.5, 6.8.8-HF1, 6.7.14-HF1. A vulnerability in the ClearPass CLI could allow remote authenticated users to run a…

  3. 9.8CVE-2020-28429geojson2kml project geojson2kmlEPSS 64%

    All versions of package geojson2kml are vulnerable to Command Injection via the index.js file. PoC: var a =require("geojson2kml"); a("./","& touch JHU",function(){})

  4. 8.6CVE-2021-26724nozominetworksEPSS 2.9%

    OS Command Injection vulnerability when changing date settings or hostname using web GUI of Nozomi Networks Guardian and CMC allows authenticated administrators to perform remote code execution. This issue affects: Nozomi Networks Guardian…

  5. 7.2CVE-2021-3149netshieldcorp nano 25 firmwareEPSS 4.6%

    On Netshield NANO 25 10.2.18 devices, /usr/local/webmin/System/manual_ping.cgi allows OS command injection (after authentication by the attacker) because the system C library function is used unsafely.

  6. 7.8CVE-2020-36246amaze file manager project amaze file managerEPSS 0.5%

    Amaze File Manager before 3.5.1 allows attackers to obtain root privileges via shell metacharacters in a symbolic link.

  7. 9.8CVE-2019-25024alleghenycreative openrepeaterExploitEPSS 28%

    OpenRepeater (ORP) before 2.2 allows unauthenticated command injection via shell metacharacters in the functions/ajax_system.php post_service parameter.

  8. 9.8CVE-2021-26747netis-systemsEPSS 55%

    Netis WF2780 2.3.40404 and WF2411 1.1.29629 devices allow Shell Metacharacter Injection into the ping command, leading to remote code execution.

  9. 9.8CVE-2020-28490async-git project async-gitEPSS 2.6%

    The package async-git before 1.13.2 are vulnerable to Command Injection via shell meta-characters (back-ticks). For example: git.reset('atouch HACKEDb')

  10. 7.8CVE-2020-29664dji mavic 2 firmwareEPSS 1.6%

    A command injection issue in dji_sys in DJI Mavic 2 Remote Controller before firmware version 01.00.0510 allows for code execution via a malicious firmware upgrade packet.

  11. 7.2CVE-2021-20655soliton filezenEPSS 3.9%

    FileZen (V3.0.0 to V4.2.7 and V5.0.0 to V5.0.2) allows a remote attacker with administrator rights to execute arbitrary OS commands via unspecified vectors.

  12. 9.8CVE-2021-27104accellion ftaKEVEPSS 46%

    Accellion FTA 9_12_370 and earlier is affected by OS command execution via a crafted POST request to various admin endpoints. The fixed version is FTA_9_12_380 and later.

  13. 7.8CVE-2021-27102accellion ftaKEVEPSS 2.7%

    Accellion FTA 9_12_411 and earlier is affected by OS command execution via a local web service call. The fixed version is FTA_9_12_416 and later.

  14. 8.8CVE-2021-20074racom m\!dge firmwareEPSS 1.3%

    Racom's MIDGE Firmware 4.4.40.105 contains an issue that allows users to escape the provided command line interface and execute arbitrary OS commands.

  15. 7.8CVE-2021-21315KEVEPSS 91%

    The System Information Library for Node.JS (npm package "systeminformation") is an open source collection of functions to retrieve detailed hardware, system and OS information. In systeminformation before version 5.3.1 there is a command i…

  16. 8.8CVE-2021-27201endian firewall communityEPSS 2.6%

    Endian Firewall Community (aka EFW) 3.3.2 allows remote authenticated users to execute arbitrary OS commands via shell metacharacters in a backup comment.

  17. 8.8CVE-2020-24899nagios xiEPSS 17%

    Nagios XI 5.7.2 is affected by a remote code execution (RCE) vulnerability. An authenticated user can inject additional commands into normal webapp query.

  18. 8.8CVE-2021-25298nagios xiKEVExploitEPSS 74%

    Nagios XI version xi-5.7.5 is affected by OS command injection. The vulnerability exists in the file /usr/local/nagiosxi/html/includes/configwizards/cloud-vm/cloud-vm.inc.php due to improper sanitization of authenticated user-controlled in…

  19. 8.8CVE-2021-25297nagios xiKEVExploitEPSS 58%

    Nagios XI version xi-5.7.5 is affected by OS command injection. The vulnerability exists in the file /usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php due to improper sanitization of authenticated user-controlled input …

  20. 8.8CVE-2021-26752nediEPSS 1.5%

    NeDi 1.9C allows an authenticated user to execute operating system commands in the Nodes Traffic function on the endpoint /Nodes-Traffic.php via the md or ag HTTP GET parameter. This allows an attacker to obtain access to the operating sys…

  21. 6.8CVE-2021-20648elecom wrc-300febk-s firmwareEPSS 0.5%

    ELECOM WRC-300FEBK-S allows an attacker with administrator rights to execute arbitrary OS commands via unspecified vectors.

  22. 6.8CVE-2021-20639logitech lan-w300n\/pgrb firmwareEPSS 0.5%

    LOGITEC LAN-W300N/PGRB allows an attacker with administrative privilege to execute arbitrary OS commands via unspecified vectors.

  23. 6.8CVE-2021-20638logitech lan-w300n\/pgrb firmwareEPSS 0.5%

    LOGITEC LAN-W300N/PGRB allows an attacker with administrative privilege to execute arbitrary OS commands via unspecified vectors.

  24. 8.8CVE-2020-27861netgearEPSS 2.1%

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR Orbi 2.5.1.16 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the UA…

  25. 7.2CVE-2021-21976vmware vsphere replicationEPSS 2.2%

    vSphere Replication 8.3.x prior to 8.3.1.2, 8.2.x prior to 8.2.1.1, 8.1.x prior to 8.1.2.3 and 6.5.x prior to 6.5.1.5 contain a post-authentication command injection vulnerability which may allow an authenticated admin user to perform a re…

  26. 9.1CVE-2021-21018magentoEPSS 3.9%

    Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to OS command injection via the scheduled operation module. Successful exploitation could lead to arbitrary code execution by an authentica…

  27. 9.1CVE-2021-21016magentoEPSS 4.8%

    Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to OS command injection via the WebAPI. Successful exploitation could lead to remote code execution by an authenticated attacker. Access to…

  28. 8.0CVE-2021-21015magentoEPSS 2.9%

    Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to an OS command injection via the customer attribute save controller. Successful exploitation could lead to arbitrary code execution by an…

  29. 7.8CVE-2020-26193dell emc powerscale onefsEPSS 0.5%

    Dell EMC PowerScale OneFS versions 8.1.0 - 9.1.0 contain an improper input validation vulnerability. A user with the ISI_PRIV_CLUSTER privilege may exploit this vulnerability, leading to the execution of arbitrary OS commands on the applic…

  30. 9.8CVE-2021-22502microfocus operation bridge reporterKEVExploitEPSS 97%

    Remote Code execution vulnerability in Micro Focus Operation Bridge Reporter (OBR) product, affecting version 10.40. The vulnerability could be exploited to allow Remote Code Execution on the OBR server.

  31. 9.8CVE-2020-7786macfromip project macfromipEPSS 2.1%

    This affects all versions of package macfromip. The injection point is located in line 66 in macfromip.js.

  32. 9.8CVE-2020-7785node-ps project node-psEPSS 2.5%

    This affects all versions of package node-ps. The injection point is located in line 72 in lib/index.js.

  33. 9.8CVE-2020-7782spritesheet-js project spritesheet-jsEPSS 2.5%

    This affects all versions of package spritesheet-js. It depends on a vulnerable package platform-command. The injection point is located in line 32 in lib/generator.js, which is triggered by main entry of the package.

  34. 9.8CVE-2021-26541gitlog project gitlogEPSS 5.4%

    The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.

  35. 9.8CVE-2020-11920svakom siime eye firmwareEPSS 4.2%

    An issue was discovered in Svakom Siime Eye 14.1.00000001.3.330.0.0.3.14. A command injection vulnerability resides in the HOST/IP section of the NFS settings menu in the webserver running on the device. By injecting Bash commands via shel…

  36. 9.8CVE-2021-3122ncr command center agentExploitEPSS 88%

    CMCAgent in NCR Command Center Agent 16.3 on Aloha POS/BOH servers permits the submission of a runCommand parameter (within an XML document sent to port 8089) that enables the remote, unauthenticated execution of an arbitrary command as SY…

  37. 8.8CVE-2020-36243open-emr openemrEPSS 64%

    The Patient Portal of OpenEMR 5.0.2.1 is affected by a Command Injection vulnerability in /interface/main/backup.php. To exploit the vulnerability, an authenticated attacker can send a POST request that executes arbitrary OS commands via s…

  38. 7.8CVE-2021-1370cisco ios xrEPSS 0.4%

    A vulnerability in a CLI command of Cisco IOS XR Software for the Cisco 8000 Series Routers and Network Convergence System 540 Series Routers running NCS540L software images could allow an authenticated, local attacker to elevate their pri…

  39. 7.2CVE-2021-1318ciscoEPSS 3.1%

    Multiple vulnerabilities in the web-based management interface of Cisco Small Business RV016, RV042, RV042G, RV082, RV320, and RV325 Routers could allow an authenticated, remote attacker to inject arbitrary commands that are executed with …

  40. 7.2CVE-2021-1317ciscoEPSS 3.1%

    Multiple vulnerabilities in the web-based management interface of Cisco Small Business RV016, RV042, RV042G, RV082, RV320, and RV325 Routers could allow an authenticated, remote attacker to inject arbitrary commands that are executed with …

  41. 7.2CVE-2021-1316ciscoEPSS 3.1%

    Multiple vulnerabilities in the web-based management interface of Cisco Small Business RV016, RV042, RV042G, RV082, RV320, and RV325 Routers could allow an authenticated, remote attacker to inject arbitrary commands that are executed with …

  42. 7.2CVE-2021-1315ciscoEPSS 3.1%

    Multiple vulnerabilities in the web-based management interface of Cisco Small Business RV016, RV042, RV042G, RV082, RV320, and RV325 Routers could allow an authenticated, remote attacker to inject arbitrary commands that are executed with …

  43. 7.2CVE-2021-1314ciscoEPSS 3.1%

    Multiple vulnerabilities in the web-based management interface of Cisco Small Business RV016, RV042, RV042G, RV082, RV320, and RV325 Routers could allow an authenticated, remote attacker to inject arbitrary commands that are executed with …

  44. 9.8CVE-2020-2507qnap helpdeskEPSS 3.1%

    The vulnerability have been reported to affect earlier versions of QTS. If exploited, this command injection vulnerability could allow remote attackers to run arbitrary commands. This issue affects: QNAP Systems Inc. Helpdesk versions prio…

  45. 8.3CVE-2021-21289EPSS 3.5%

    Mechanize is an open-source ruby library that makes automated web interaction easy. In Mechanize from version 2.0.0 and before version 2.7.7 there is a command injection vulnerability. Affected versions of mechanize allow for OS commands t…

  46. 9.8CVE-2020-7775freediskspace project freediskprojectEPSS 1.3%

    This affects all versions of package freediskspace. The vulnerability arises out of improper neutralization of arguments in line 71 of freediskspace.js.

  47. 8.8CVE-2021-25310belkin linksys wrt160nl firmwareEPSS 4.7%

    The administration web interface on Belkin Linksys WRT160NL 1.0.04.002_US_20130619 devices allows remote authenticated attackers to execute system commands with root privileges via shell metacharacters in the ui_language POST parameter to …

  48. 9.8CVE-2020-18568dlinkEPSS 15%

    The D-Link DSR-250 (3.14) DSR-1000N (2.11B201) UPnP service contains a command injection vulnerability, which can cause remote command execution.

  49. 9.8CVE-2020-25506dlink dns-320 firmwareKEVEPSS >99.9%

    D-Link DNS-320 FW v2.06B01 Revision Ax is affected by command injection in the system_mgr.cgi component, which can lead to remote arbitrary code execution.

  50. 8.6CVE-2020-28494totaljs total.jsEPSS 1.7%

    This affects the package total.js before 3.4.7. The issue occurs in the image.pipe and image.stream functions. The type parameter is used to build the command that is then executed using child_process.spawn. The issue occurs because child_…