CWE-78: Improper Neutralization of Special Elements used in an OS Command (OS Command Injection), published in 2021
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 prompt
Explain 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
- 8.8CVE-2021-20173netgear r6700 firmwareEPSS 3.2%
Netgear Nighthawk R6700 version 1.0.4.120 contains a command injection vulnerability in update functionality of the device. By triggering a system update check via the SOAP interface, the device is susceptible to command injection via prec…
- 8.8CVE-2021-20160trendnet tew-827dru firmwareEPSS 3.1%
Trendnet AC2600 TEW-827DRU version 2.08B01 contains a command injection vulnerability in the smb functionality of the device. The username parameter used when configuring smb functionality for the device is vulnerable to command injection …
- 8.8CVE-2021-20159trendnet tew-827dru firmwareEPSS 3.1%
Trendnet AC2600 TEW-827DRU version 2.08B01 is vulnerable to command injection. The system log functionality of the firmware allows for command injection as root by supplying a malformed parameter.
- 7.8CVE-2021-35032zyxelEPSS 0.2%
A vulnerability in the 'libsal.so' of the Zyxel GS1900 series firmware version 2.60 could allow an authenticated local user to execute arbitrary OS commands via a crafted function call.
- 8.0CVE-2021-35031zyxelEPSS 0.5%
A vulnerability in the TFTP client of Zyxel GS1900 series firmware, XGS1210 series firmware, and XGS1250 series firmware, which could allow an authenticated LAN user to execute arbitrary OS commands via the GUI of the vulnerable device.
- 8.8CVE-2021-43857gerapyExploitEPSS 56%
Gerapy is a distributed crawler management framework. Gerapy prior to version 0.9.8 is vulnerable to remote code execution, and this issue is patched in version 0.9.8.
- 7.8CVE-2021-45602netgearEPSS 0.7%
Certain NETGEAR devices are affected by command injection by an authenticated user. This affects D7800 before 1.0.1.66, EX2700 before 1.0.1.68, WN3000RPv2 before 1.0.0.90, WN3000RPv3 before 1.0.2.100, LBR1020 before 2.6.5.20, LBR20 before …
- 8.8CVE-2021-3621EPSS 2.6%
A flaw was found in SSSD, where the sssctl command was vulnerable to shell command injection via the logs-fetch and cache-expire subcommands. This flaw allows an attacker to trick the root user into running a specially crafted sssctl comma…
- 9.8CVE-2021-44453myscada myproEPSS 1.5%
mySCADA myPRO: Versions 8.20.0 and prior has a vulnerable debug interface which includes a ping utility, which may allow an attacker to inject arbitrary operating system commands.
- 9.8CVE-2021-43984myscada myproEPSS 1.3%
mySCADA myPRO: Versions 8.20.0 and prior has a feature where the firmware can be updated, which may allow an attacker to inject arbitrary operating system commands through a specific parameter.
- 9.8CVE-2021-43981myscada myproEPSS 1.3%
mySCADA myPRO: Versions 8.20.0 and prior has a feature to send emails, which may allow an attacker to inject arbitrary operating system commands through a specific parameter.
- 7.2CVE-2021-3584EPSS 4.0%
A server side remote code execution vulnerability was found in Foreman project. A authenticated attacker could use Sendmail configuration options to overwrite the defaults and perform command injection. The highest threat from this vulnera…
- 9.8CVE-2021-23198myscada myproEPSS 1.3%
mySCADA myPRO: Versions 8.20.0 and prior has a feature where the password can be specified, which may allow an attacker to inject arbitrary operating system commands through a specific parameter.
- 9.8CVE-2021-22657myscada myproEPSS 1.3%
mySCADA myPRO: Versions 8.20.0 and prior has a feature where the API password can be specified, which may allow an attacker to inject arbitrary operating system commands through a specific parameter.
- 8.8CVE-2021-4144tp-link tl-wr802n firmwareEPSS 1.9%
TP-Link wifi router TL-WR802N V4(JP), with firmware version prior to 211202, is vulnerable to OS command injection.
- 9.1CVE-2021-21888lantronix premierwave 2050 firmwareEPSS 3.9%
An OS command injection vulnerability exists in the Web Manager SslGenerateCertificate functionality of Lantronix PremierWave 2050 8.9.0.0R4 (in QEMU). A specially crafted HTTP request can lead to arbitrary command execution. An attacker c…
- 9.1CVE-2021-21884lantronix premierwave 2050 firmwareEPSS 5.3%
An OS command injection vulnerability exists in the Web Manager SslGenerateCSR functionality of Lantronix PremierWave 2050 8.9.0.0R4. A specially-crafted HTTP request can lead to arbitrary command execution. An attacker can make an authent…
- 9.9CVE-2021-21883lantronix premierwave 2050 firmwareEPSS 6.1%
An OS command injection vulnerability exists in the Web Manager Diagnostics: Ping functionality of Lantronix PremierWave 2050 8.9.0.0R4. A specially-crafted HTTP request can lead to arbitrary command execution. An attacker can make an auth…
- 8.8CVE-2021-21882lantronix premierwave 2050 firmwareEPSS 6.1%
An OS command injection vulnerability exists in the Web Manager FsUnmount functionality of Lantronix PremierWave 2050 8.9.0.0R4. A specially-crafted HTTP request can lead to arbitrary command execution. An attacker can make an authenticate…
- 9.9CVE-2021-21881lantronix premierwave 2050 firmwareEPSS 37%
An OS command injection vulnerability exists in the Web Manager Wireless Network Scanner functionality of Lantronix PremierWave 2050 8.9.0.0R4. A specially-crafted HTTP request can lead to command execution. An attacker can make an authent…
- 9.1CVE-2021-21877lantronix premierwave 2050 firmwareEPSS 2.8%
Specially-crafted HTTP requests can lead to arbitrary command execution in “GET” requests. An attacker can make authenticated HTTP requests to trigger this vulnerability.
- 9.1CVE-2021-21876lantronix premierwave 2050 firmwareEPSS 2.8%
Specially-crafted HTTP requests can lead to arbitrary command execution in PUT requests. An attacker can make authenticated HTTP requests to trigger this vulnerability.
- 9.1CVE-2021-21875lantronix premierwave 2050 firmwareEPSS 3.0%
A specially-crafted HTTP request can lead to arbitrary command execution in EC keypasswd parameter. An attacker can make an authenticated HTTP request to trigger this vulnerability.
- 9.1CVE-2021-21874lantronix premierwave 2050 firmwareEPSS 3.0%
A specially-crafted HTTP request can lead to arbitrary command execution in DSA keypasswd parameter. An attacker can make an authenticated HTTP request to trigger this vulnerability.
- 9.1CVE-2021-21873lantronix premierwave 2050 firmwareEPSS 3.0%
A specially-crafted HTTP request can lead to arbitrary command execution in RSA keypasswd parameter. An attacker can make an authenticated HTTP request to trigger this vulnerability.
- 9.9CVE-2021-21872lantronix premierwave 2050 firmwareEPSS 6.1%
An OS command injection vulnerability exists in the Web Manager Diagnostics: Traceroute functionality of Lantronix PremierWave 2050 8.9.0.0R4. A specially-crafted HTTP request can lead to arbitrary command execution. An attacker can make a…
- 8.8CVE-2020-19316laravel frameworkEPSS 2.5%
OS Command injection vulnerability in function link in Filesystem.php in Laravel Framework before 5.8.17.
- 7.8CVE-2020-8105goabode iota all-in-one security kit firmwareEPSS 1.0%
OS Command Injection vulnerability in the wirelessConnect handler of Abode iota All-In-One Security Kit allows an attacker to inject commands and gain root access. This issue affects: Abode iota All-In-One Security Kit versions prior to 1.…
- 8.8CVE-2021-42912fiberhomeEPSS 10%
FiberHome ONU GPON AN5506-04-F RP2617 is affected by an OS command injection vulnerability. This vulnerability allows the attacker, once logged in, to send commands to the operating system as the root user via the ping diagnostic tool, byp…
- 6.7CVE-2021-44235sap netweaver application server abapEPSS 0.3%
Two methods of a utility class in SAP NetWeaver AS ABAP - versions 700, 701, 702, 710, 711, 730, 731, 740, 750, 751, 752, 753, 754, 755, 756, allow an attacker with high privileges and has direct access to SAP System, to inject code when e…
- 9.8CVE-2021-39065ibm spectrum copy data managementEPSS 2.2%
IBM Spectrum Copy Data Management 2.2.13 and earlier could allow a remote attacker to execute arbitrary commands on the system, caused by improper validation of user-supplied input by the Spectrum Copy Data Management Admin Console login a…
- 9.9CVE-2021-21954anker eufy homebase 2 firmwareEPSS 2.5%
A command execution vulnerability exists in the wifi_country_code_update functionality of the home_security binary of Anker Eufy Homebase 2 2.1.6.9h. A specially-crafted set of network packets can lead to arbitrary command execution.
- 8.8CVE-2021-20144gryphonconnect gryphon tower firmwareEPSS 3.7%
An unauthenticated command injection vulnerability exists in the parameters of operation 49 in the controller_server service on Gryphon Tower routers. An unauthenticated remote attacker on the same network can execute commands as root on t…
- 8.8CVE-2021-20143gryphonconnect gryphon tower firmwareEPSS 3.7%
An unauthenticated command injection vulnerability exists in the parameters of operation 48 in the controller_server service on Gryphon Tower routers. An unauthenticated remote attacker on the same network can execute commands as root on t…
- 8.8CVE-2021-20142gryphonconnect gryphon tower firmwareEPSS 3.7%
An unauthenticated command injection vulnerability exists in the parameters of operation 41 in the controller_server service on Gryphon Tower routers. An unauthenticated remote attacker on the same network can execute commands as root on t…
- 8.8CVE-2021-20141gryphonconnect gryphon tower firmwareEPSS 3.7%
An unauthenticated command injection vulnerability exists in the parameters of operation 32 in the controller_server service on Gryphon Tower routers. An unauthenticated remote attacker on the same network can execute commands as root on t…
- 8.8CVE-2021-20140gryphonconnect gryphon tower firmwareEPSS 4.0%
An unauthenticated command injection vulnerability exists in the parameters of operation 10 in the controller_server service on Gryphon Tower routers. An unauthenticated remote attacker on the same network can execute commands as root on t…
- 8.8CVE-2021-20139gryphonconnect gryphon tower firmwareEPSS 4.0%
An unauthenticated command injection vulnerability exists in the parameters of operation 3 in the controller_server service on Gryphon Tower routers. An unauthenticated remote attacker on the same network can execute commands as root on th…
- 8.8CVE-2021-20138gryphonconnect gryphon tower firmwareEPSS 3.7%
An unauthenticated command injection vulnerability exists in multiple parameters in the Gryphon Tower router’s web interface at /cgi-bin/luci/rc. An unauthenticated remote attacker on the same network can execute commands as root on the de…
- 6.7CVE-2021-42759fortinet meru firmwareEPSS 0.3%
A violation of secure design principles in Fortinet Meru AP version 8.6.1 and below, version 8.5.5 and below allows attacker to execute unauthorized code or commands via crafted cli commands.
- 7.2CVE-2021-23862boschEPSS 1.4%
A crafted configuration packet sent by an authenticated administrative user can be used to execute arbitrary commands in system context. This issue also affects installations of the VRM, DIVAR IP, BVMS with VRM installed, the VIDEOJET deco…
- 8.8CVE-2021-36195fortinet fortiwebEPSS 1.1%
Multiple command injection vulnerabilities in the command line interpreter of FortiWeb versions 6.4.1, 6.4.0, 6.3.0 through 6.3.15, 6.2.0 through 6.2.6, and 6.1.0 through 6.1.2 may allow an authenticated attacker to execute arbitrary comma…
- 8.8CVE-2021-36180fortinet fortiwebEPSS 1.2%
Multiple improper neutralization of special elements used in a command vulnerabilities [CWE-77] in FortiWeb management interface 6.4.1 and below, 6.3.15 and below, 6.2.5 and below may allow an authenticated attacker to execute unauthorized…
- 8.8CVE-2021-20044sonicwallEPSS 40%
A post-authentication remote command injection vulnerability in SonicWall SMA100 allows a remote authenticated attacker to execute OS system commands in the appliance. This vulnerability affected SMA 200, 210, 400, 410 and 500v appliances.
- 8.8CVE-2021-20039sonicwallExploitEPSS 79%
Improper neutralization of special elements in the SMA100 management interface '/cgi-bin/viewcert' POST http method allows a remote authenticated attacker to inject arbitrary commands as a 'nobody' user. This vulnerability affected SMA 200…
- 9.8CVE-2021-44685git-it project git-itEPSS 3.4%
Git-it through 4.4.0 allows OS command injection at the Branches Aren't Just For Birds challenge step. During the verification process, it attempts to run the reflog command followed by the current branch name (which is not sanitized for e…
- 9.8CVE-2021-44684github-todos project github-todosEPSS 2.6%
naholyr github-todos 3.1.0 is vulnerable to command injection. The range argument for the _hook subcommand is concatenated without any validation, and is directly used by the exec function.
- 9.8CVE-2021-43033kaseya unitrends backupEPSS 6.2%
An issue was discovered in Kaseya Unitrends Backup Appliance before 10.5.5. Multiple functions in the bpserverd daemon were vulnerable to arbitrary remote code execution as root. The vulnerability was caused by untrusted input (received by…
- 8.0CVE-2021-20863elecomEPSS 0.9%
OS command injection vulnerability in ELECOM routers (WRC-1167GST2 firmware v1.25 and prior, WRC-1167GST2A firmware v1.25 and prior, WRC-1167GST2H firmware v1.25 and prior, WRC-2533GS2-B firmware v1.52 and prior, WRC-2533GS2-W firmware v1.…
- 8.0CVE-2021-20859elecomEPSS 0.6%
ELECOM LAN routers (WRC-1167GST2 firmware v1.25 and prior, WRC-1167GST2A firmware v1.25 and prior, WRC-1167GST2H firmware v1.25 and prior, WRC-2533GS2-B firmware v1.52 and prior, WRC-2533GS2-W firmware v1.52 and prior, WRC-1750GS firmware …