cve.bz

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

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. 9.8CVE-2022-28811gavazziautomationEPSS 1.3%

    In Carlo Gavazzi UWP3.0 in multiple versions and CPY Car Park Server in Version 2.8.3 a remote, unauthenticated attacker could utilize an improper input validation on an API-submitted parameter to execute arbitrary OS commands.

  2. 8.8CVE-2022-40785mipcm mipc camera firmwareEPSS 2.6%

    Unsanitized input when setting a locale file leads to shell injection in mIPC camera firmware 5.3.1.2003161406. This allows an attacker to gain remote code execution on cameras running the firmware when a victim logs into a specially craft…

  3. 7.8CVE-2022-39224ruby-arr-pm project ruby-arr-pmEPSS 1.4%

    Arr-pm is an RPM reader/writer library written in Ruby. Versions prior to 0.0.12 are subject to OS command injection resulting in shell execution if the RPM contains a malicious "payload compressor" field. This vulnerability impacts the `e…

  4. 7.2CVE-2022-37882arubanetworks clearpass policy managerEPSS 1.6%

    Vulnerabilities in the ClearPass Policy Manager web-based management interface allow remote authenticated users to run arbitrary commands on the underlying host. A successful exploit could allow an attacker to execute arbitrary commands as…

  5. 7.2CVE-2022-37880arubanetworks clearpass policy managerEPSS 1.6%

    Vulnerabilities in the ClearPass Policy Manager web-based management interface allow remote authenticated users to run arbitrary commands on the underlying host. A successful exploit could allow an attacker to execute arbitrary commands as…

  6. 7.2CVE-2022-37878arubanetworks clearpass policy managerEPSS 1.5%

    Vulnerabilities in the ClearPass Policy Manager web-based management interface allow remote authenticated users to run arbitrary commands on the underlying host. A successful exploit could allow an attacker to execute arbitrary commands as…

  7. 9.8CVE-2022-38828totolink t6 firmwareEPSS 20%

    TOTOLINK T6 V4.1.5cu.709_B20210518 is vulnerable to command injection via cstecgi.cgi

  8. 9.8CVE-2022-38826totolink t6 firmwareEPSS 1.3%

    In TOTOLINK T6 V4.1.5cu.709_B20210518, there is an execute arbitrary command in cstecgi.cgi.

  9. 7.2CVE-2022-38535totolink a720r firmwareEPSS 2.2%

    TOTOLINK-720R v4.1.5cu.374 was discovered to contain a remote code execution (RCE) vulnerability via the setTracerouteCfg function.

  10. 7.2CVE-2022-38534totolink a720r firmwareEPSS 2.2%

    TOTOLINK-720R v4.1.5cu.374 was discovered to contain a remote code execution (RCE) vulnerability via the setdiagnosicfg function.

  11. 9.8CVE-2022-38308totolink a7000ru firmwareEPSS 22%

    TOTOLink A700RU V7.4cu.2313_B20191024 was discovered to contain a command injection vulnerability via the lang parameter in the function cstesystem. This vulnerability allows attackers to execute arbitrary commands via a crafted payload.

  12. 8.8CVE-2022-39819nokia 1350 optical management systemEPSS 1.5%

    In NOKIA 1350 OMS R14.2, multiple OS Command Injection vulnerabilities occurs. This allows authenticated users to execute commands on the operating system.

  13. 9.8CVE-2022-39815nokia 1350 optical management systemEPSS 2.2%

    In NOKIA 1350 OMS R14.2, multiple OS Command Injection vulnerabilities occurs. This vulnerability allow unauthenticated users to execute commands on the operating system.

  14. 9.8CVE-2022-36779EPSS 3.0%

    PROSCEND - PROSCEND / ADVICE .Ltd - G/5G Industrial Cellular Router (with GPS)4 Unauthenticated OS Command Injection Proscend M330-w / M33-W5 / M350-5G / M350-W5G / M350-6 / M350-W6 / M301-G / M301-GW ADVICE ICR 111WG / https://www.proscen…

  15. 9.8CVE-2022-37860tp-link m7350 firmwareEPSS 80%

    The web configuration interface of the TP-Link M7350 V3 with firmware version 190531 is affected by a pre-authentication command injection vulnerability.

  16. 7.8CVE-2022-3133diagrams drawioEPSS 1.1%

    OS Command Injection in GitHub repository jgraph/drawio prior to 20.3.0.

  17. 7.2CVE-2022-29061fortinet fortisoarEPSS 1.6%

    An improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [CWE-78] in Fortinet FortiSOAR before 7.2.1 allows an authenticated attacker to execute unauthorized code or commands via crafted H…

  18. 8.8CVE-2022-30079netgear r6200EPSS 25%

    Command injection vulnerability was discovered in Netgear R6200 v2 firmware through R6200v2-V1.0.3.12 via binary /sbin/acos_service that could allow remote authenticated attackers the ability to modify values in the vulnerable parameter.

  19. 8.8CVE-2022-38094allied-telesis centrecom ar260s firmwareEPSS 1.6%

    OS command injection vulnerability in the telnet function of CentreCOM AR260S V2 firmware versions prior to Ver.3.3.7 allows a remote authenticated attacker to execute an arbitrary OS command.

  20. 8.8CVE-2022-35273allied-telesis centrecom ar260s firmwareEPSS 1.6%

    OS command injection vulnerability in GUI setting page of CentreCOM AR260S V2 firmware versions prior to Ver.3.3.7 allows a remote authenticated attacker to execute an arbitrary OS command.

  21. 9.8CVE-2022-33941alfasado powercmsEPSS 1.9%

    PowerCMS XMLRPC API provided by Alfasado Inc. contains a command injection vulnerability. Sending a specially crafted message by POST method to PowerCMS XMLRPC API may allow arbitrary Perl script execution, and an arbitrary OS command may …

  22. 8.8CVE-2022-38531fptEPSS 2.4%

    FPT G-97RG6M R4.2.98.035 and G-97RG3 R4.2.43.078 are vulnerable to Remote Command Execution in the ping function.

  23. 8.8CVE-2022-30078netgearEPSS 1.9%

    NETGEAR R6200_V2 firmware versions through R6200v2-V1.0.3.12_10.1.11 and R6300_V2 firmware versions through R6300v2-V1.0.4.52_10.0.93 allow remote authenticated attackers to execute arbitrary command via shell metacharacters in the ipv6_fi…

  24. 7.2CVE-2022-23683arubanetworks aos-cxEPSS 1.7%

    Authenticated command injection vulnerabilities exist in the AOS-CX Network Analytics Engine via NAE scripts. Successful exploitation of these vulnerabilities result in the ability to execute arbitrary commands as a privileged user on the …

  25. 7.8CVE-2022-23682arubanetworks aos-cxEPSS 0.6%

    Multiple vulnerabilities exist in the AOS-CX command line interface that could lead to authenticated command injection. A successful exploit could allow an attacker to execute arbitrary commands as root on the underlying operating system l…

  26. 7.8CVE-2022-23681arubanetworks aos-cxEPSS 0.5%

    Multiple vulnerabilities exist in the AOS-CX command line interface that could lead to authenticated command injection. A successful exploit could allow an attacker to execute arbitrary commands as root on the underlying operating system l…

  27. 8.8CVE-2022-34883hitachi raid manager storage replication adapterEPSS 1.3%

    OS Command Injection vulnerability in Hitachi RAID Manager Storage Replication Adapter allows remote authenticated users to execute arbitrary OS commands. This issue affects: Hitachi RAID Manager Storage Replication Adapter 02.01.04 versio…

  28. 7.2CVE-2021-28398osgeo geonetworkEPSS 1.5%

    A privileged attacker in GeoNetwork before 3.12.0 and 4.x before 4.0.4 can use the directory harvester before-script to execute arbitrary OS commands remotely on the hosting infrastructure. A User Administrator or Administrator account is …

  29. 9.8CVE-2022-31814netgate pfblockerngExploitEPSS 92%

    pfSense pfBlockerNG through 2.1.4_26 allows remote attackers to execute arbitrary OS commands as root via shell metacharacters in the HTTP Host header. NOTE: 3.x is unaffected.

  30. 8.8CVE-2022-3008EPSS 3.2%

    The tinygltf library uses the C library function wordexp() to perform file path expansion on untrusted paths that are provided from the input file. This function allows for command injection by using backticks. An attacker could craft an u…

  31. 9.8CVE-2022-37130dlink dir-816 firmwareEPSS 28%

    In D-Link DIR-816 A2_v1.10CNB04, DIR-878 DIR_878_FW1.30B08.img a command injection vulnerability occurs in /goform/Diagnosis, after the condition is met, setnum will be spliced into v10 by snprintf, and the system will be executed, resulti…

  32. 8.8CVE-2022-37129dlink dir-816 firmwareEPSS 9.4%

    D-Link DIR-816 A2_v1.10CNB04.img is vulnerable to Command Injection via /goform/SystemCommand. After the user passes in the command parameter, it will be spliced into byte_4836B0 by snprintf, and finally doSystem(&byte_4836B0); will be exe…

  33. 8.8CVE-2022-37123dlink dir-816 firmwareEPSS 2.7%

    D-link DIR-816 A2_v1.10CNB04.img is vulnerable to Command injection via /goform/form2userconfig.cgi.

  34. 8.2CVE-2022-34383dell edge gateway 5200 firmwareEPSS 0.4%

    Dell Edge Gateway 5200 (EGW) versions before 1.03.10 contain an operating system command injection vulnerability. A local malicious user may potentially exploit this vulnerability by using an SMI to bypass PMC mitigation and gain arbitrary…

  35. 9.8CVE-2022-36566yogeshojha rengineEPSS 2.1%

    Rengine v1.3.0 was discovered to contain a command injection vulnerability via the scan engine function.

  36. 9.8CVE-2022-36749sourcefabric rpi-jukebox-rfidEPSS 2.9%

    RPi-Jukebox-RFID v2.3.0 was discovered to contain a command injection vulnerability via the component /htdocs/utils/Files.php. This vulnerability is exploited via a crafted payload injected into the file name of an uploaded file.

  37. 8.8CVE-2022-34374dell container storage modulesEPSS 1.5%

    Dell Container Storage Modules 1.2 contains an OS command injection in goiscsi and gobrick libraries. A remote authenticated malicious user with low privileges could exploit this vulnerability leading to to execute arbitrary OS commands on…

  38. 9.8CVE-2022-31232dell smartfabric storage softwareEPSS 1.0%

    SmartFabric storage software version 1.0.0 contains a Command-Injection vulnerability. A remote unauthenticated attacker may potentially exploit this vulnerability to gain access and perform actions on the affected system.

  39. 9.8CVE-2022-37149wavlink wl-wn575a3 firmwareEPSS 2.8%

    WAVLINK WL-WN575A3 RPT75A3.V4300.201217 was discovered to contain a command injection vulnerability when operating the file adm.cgi. This vulnerability allows attackers to execute arbitrary commands via the username parameter.

  40. 7.8CVE-2022-38511totolink a810r firmwareEPSS 1.2%

    TOTOLINK A810R V5.9c.4050_B20190424 was discovered to contain a command injection vulnerability via the component downloadFile.cgi.

  41. 9.8CVE-2022-37056dlink go-rt-ac750 firmwareEPSS 12%

    D-Link GO-RT-AC750 GORTAC750_revA_v101b03 and GO-RT-AC750_revB_FWv200b02 is vulnerable to Command Injection via /cgibin, hnap_main,

  42. 9.8CVE-2022-37057dlink go-rt-ac750 firmwareEPSS 27%

    D-Link Go-RT-AC750 GORTAC750_revA_v101b03 and GO-RT-AC750_revB_FWv200b02 are vulnerable to Command Injection via cgibin, ssdpcgi_main.

  43. 9.8CVE-2022-31499nortekcontrol emerge e3 firmwareEPSS 65%

    Nortek Linear eMerge E3-Series devices before 0.32-08f allow an unauthenticated attacker to inject OS commands via ReaderNo. NOTE: this issue exists because of an incomplete fix for CVE-2019-7256.

  44. 6.7CVE-2022-20865ciscoEPSS 0.3%

    A vulnerability in the CLI of Cisco FXOS Software could allow an authenticated, local attacker to inject arbitrary commands that are executed with root privileges. The attacker would need to have Administrator privileges on the device. Thi…

  45. 9.8CVE-2022-37810tenda ac1206 firmwareEPSS 2.5%

    Tenda AC1206 V15.03.06.23 was discovered to contain a command injection vulnerability via the mac parameter in the function formWriteFacMac.

  46. 7.8CVE-2022-37083totolink a7000r firmwareEPSS 1.0%

    TOTOLINK A7000R V9.1.0u.6115_B20201022 was discovered to contain a command injection vulnerability via the ip parameter at the function setDiagnosisCfg.

  47. 7.8CVE-2022-37082totolink a7000r firmwareEPSS 1.0%

    TOTOLINK A7000R V9.1.0u.6115_B20201022 was discovered to contain a command injection vulnerability via the host_time parameter at the function NTPSyncWithHost.

  48. 7.8CVE-2022-37081totolink a7000r firmwareEPSS 1.0%

    TOTOLINK A7000R V9.1.0u.6115_B20201022 was discovered to contain a command injection vulnerability via the command parameter at setting/setTracerouteCfg.

  49. 7.8CVE-2022-37079totolink a7000r firmwareEPSS 1.2%

    TOTOLINK A7000R V9.1.0u.6115_B20201022 was discovered to contain a command injection vulnerability via the hostName parameter in the function setOpModeCfg.

  50. 7.8CVE-2022-36455totolink a3600r firmwareEPSS 1.0%

    TOTOLink A3600R V4.1.2cu.5182_B20201102 was discovered to contain a command injection vulnerability via the username parameter in /cstecgi.cgi.