CWE-77: Improper Neutralization of Special Elements used in a Command, published in 2022, page 2
Filter
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
What the weakness is: CWE-77 at MITRE. OWASP Top 10: A05:2025 Injection. All weaknesses
Related attack patterns (CAPEC): 8
- CAPEC-15 Command Delimiters Likelihood: High · Severity: High
- CAPEC-40 Manipulating Writeable Terminal Devices Likelihood: High · Severity: Very High
- CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
- CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
- CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
- CAPEC-136 LDAP Injection Likelihood: High · Severity: High
- CAPEC-183 IMAP/SMTP Command Injection Severity: Medium
- CAPEC-248 Command Injection Likelihood: Medium · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-77, as MITRE names them. Credits.
Ask an AI about CWE-77
Show the prompt
Explain CWE-77: Improper Neutralization of Special Elements used in a Command and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/77.html and https://cve.bz/cve/cwe/77?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
- 7.8CVE-2022-42906EPSS 0.5%
powerline-gitstatus (aka Powerline Gitstatus) before 1.3.2 allows arbitrary code execution. git repositories can contain per-repository configuration that changes the behavior of git, including running arbitrary commands. When using powerl…
- 9.8CVE-2022-42897arraynetworks arrayos agEPSS 1.6%
Array Networks AG/vxAG with ArrayOS AG before 9.4.0.469 allows unauthenticated command injection that leads to privilege escalation and control of the system. NOTE: ArrayOS AG 10.x is unaffected.
- 8.2CVE-2022-34432dell hybrid clientEPSS 0.4%
Dell Hybrid Client below 1.8 version contains a gedit vulnerability. A guest attacker could potentially exploit this vulnerability, allowing deletion of user and some system files and folders.
- 7.2CVE-2022-39265mybbEPSS 3.1%
MyBB is a free and open source forum software. The _Mail Settings_ → Additional Parameters for PHP's mail() function mail_parameters setting value, in connection with the configured mail program's options and behavior, may allow access to …
- 7.2CVE-2022-20851cisco ios xeEPSS 1.1%
A vulnerability in the web UI feature of Cisco IOS XE Software could allow an authenticated, remote attacker to perform an injection attack against an affected device. This vulnerability is due to insufficient input validation. An attacker…
- 7.2CVE-2022-41870innovaphone firmwareEPSS 1.3%
AP Manager in Innovaphone before 13r2 Service Release 17 allows command injection via a modified service ID during app upload.
- 9.8CVE-2022-39243nuprocess project nuprocessEPSS 1.6%
NuProcess is an external process execution implementation for Java. In all the versions of NuProcess where it forks processes by using the JVM's Java_java_lang_UNIXProcess_forkAndExec method (1.2.0+), attackers can use NUL characters in th…
- 9.8CVE-2022-40100tenda i9 firmwareEPSS 1.6%
Tenda i9 v1.0.0.8(3828) was discovered to contain a command injection vulnerability via the FormexeCommand function.
- 7.2CVE-2022-37883arubanetworks 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…
- 7.2CVE-2022-37881arubanetworks 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…
- 7.2CVE-2022-37879arubanetworks 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…
- 7.5CVE-2022-28220apache jamesEPSS 2.0%
Apache James prior to release 3.6.3 and 3.7.1 is vulnerable to a buffering attack relying on the use of the STARTTLS command. Fix of CVE-2021-38542, which solved similar problem fron Apache James 3.6.1, is subject to a parser differential …
- 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…
- 9.8CVE-2022-37125dlink dir-816 firmwareEPSS 3.2%
D-link DIR-816 A2_v1.10CNB04.img is vulnerable to Command injection via /goform/NTPSyncWithHost.
- 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…
- 9.8CVE-2022-21941johnsoncontrols istar ultra firmwareEPSS 2.2%
All versions of iSTAR Ultra prior to version 6.8.9.CU01 are vulnerable to a command injection that could allow an unauthenticated user root access to the system.
- 9.8CVE-2022-36559seiko-sol skybridge mb-a200 firmwareEPSS 1.8%
Seiko SkyBridge MB-A200 v01.00.04 and below was discovered to contain a command injection vulnerability via the Ping parameter at ping_exec.cgi.
- 9.8CVE-2022-36556seiko-solEPSS 1.6%
Seiko SkyBridge MB-A100/A110 v4.2.0 and below was discovered to contain a command injection vulnerability via the ipAddress parameter at 07system08execute_ping_01.
- 9.8CVE-2022-36554hytec hwl-2511-ss firmwareEPSS 2.5%
A command injection vulnerability in the CLI (Command Line Interface) implementation of Hytec Inter HWL-2511-SS v1.05 and below allows attackers to execute arbitrary commands with root privileges.
- 9.8CVE-2022-36553hytec hwl-2511-ss firmwareEPSS 97%
Hytec Inter HWL-2511-SS v1.05 and below was discovered to contain a command injection vulnerability via the component /www/cgi-bin/popen.cgi.
- 8.8CVE-2022-2234myscada myproEPSS 42%
An authenticated mySCADA myPRO 8.26.0 user may be able to modify parameters to run commands directly in the operating system.
- 9.8CVE-2022-36523dlink go-rt-ac750 firmwareEPSS 2.2%
D-Link Go-RT-AC750 GORTAC750_revA_v101b03 & GO-RT-AC750_revB_FWv200b02 is vulnerable to command injection via /htdocs/upnpinc/gena.php.
- 5.0CVE-2022-35954github toolkitEPSS 0.7%
The GitHub Actions ToolKit provides a set of packages to make creating actions easier. The `core.exportVariable` function uses a well known delimiter that attackers can use to break out of that specific variable and assign values to other …
- 9.8CVE-2022-35518wavlinkEPSS 1.6%
WAVLINK WN572HP3, WN533A8, WN530H4, WN535G3, WN531P3 nas.cgi has no filtering on parameters: User1Passwd and User1, which leads to command injection in page /nas_disk.shtml.
- 8.8CVE-2022-20345google androidEPSS 0.5%
In l2cble_process_sig_cmd of l2c_ble.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution over Bluetooth with no additional execution privileges needed. User interaction is not…
- 9.8CVE-2022-34660siemens teamcenterEPSS 1.2%
A vulnerability has been identified in Teamcenter V12.4 (All versions < V12.4.0.15), Teamcenter V13.0 (All versions < V13.0.0.10), Teamcenter V13.1 (All versions < V13.1.0.10), Teamcenter V13.2 (All versions < V13.2.0.9), Teamcenter V13.3 …
- 9.8CVE-2022-34974dlink dir-810l firmwareEPSS 24%
D-Link DIR810LA1_FW102B22 was discovered to contain a command injection vulnerability via the Ping_addr function.
- 9.8CVE-2020-7795get-npm-package-version project get-npm-package-versionEPSS 4.0%
The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
- 9.8CVE-2020-28453npos-tesseract project npos-tesseractEPSS 1.3%
This affects all versions of package npos-tesseract. The injection point is located in line 55 in lib/ocr.js.
- 9.8CVE-2020-28451image-tiler project image-tilerEPSS 1.5%
This affects the package image-tiler before 2.0.2.
- 9.8CVE-2020-28437heroku-env project heroku-envEPSS 1.3%
This affects all versions of package heroku-env. The injection point is located in lib/get.js which is required by index.js.
- 9.8CVE-2020-28434gitblame project gitblameEPSS 1.3%
This affects all versions of package gitblame. The injection point is located in line 15 in lib/gitblame.js.
- 9.8CVE-2020-28433node-latex-pdf project node-latex-pdfEPSS 0.9%
This affects all versions of package node-latex-pdf.
- 9.8CVE-2020-28425curljs project curljsEPSS 0.9%
This affects all versions of package curljs.
- 9.8CVE-2020-28423monorepo-build project monorepo-buildEPSS 1.3%
This affects all versions of package monorepo-build.
- 8.8CVE-2022-2323sonicwallEPSS 6.4%
Improper neutralization of special elements used in a user input allows an authenticated malicious user to perform remote code execution in the host system. This vulnerability impacts SonicWall Switch 1.1.1.0-2s and earlier versions
- 8.8CVE-2022-29558realtek rtl819x software development kitEPSS 1.3%
Realtek rtl819x-SDK before v3.6.1 allows command injection over the web interface.
- 9.8CVE-2016-4991nodepdf project nodepdfEPSS 1.8%
Input passed to the Pdf() function is shell escaped and passed to child_process.exec() during PDF rendering. However, the shell escape does not properly encode all special characters, namely, semicolon and curly braces. This can be abused …
- 9.8CVE-2020-28447xopen project xopenEPSS 1.3%
This affects all versions of package xopen. The injection point is located in line 14 in index.js in the exported function xopen(filepath)
- 9.8CVE-2020-28446ntesseract project ntesseractEPSS 3.5%
The package ntesseract before 0.2.9 are vulnerable to Command Injection via lib/tesseract.js.
- 9.8CVE-2020-28445npm-help project npm-helpEPSS 1.5%
This affects all versions of package npm-help. The injection point is located in line 13 in index.js file in export.latestVersion() function.
- 9.8CVE-2020-28443sonar-wrapper project sonar-wrapperEPSS 1.3%
This affects all versions of package sonar-wrapper. The injection point is located in lib/sonarRunner.js.
- 9.8CVE-2020-28438deferred-exec project deferred-execEPSS 1.3%
This affects all versions of package deferred-exec. The injection point is located in line 42 in lib/deferred-exec.js
- 9.8CVE-2020-28436google-cloudstorage-commands project google-cloudstorage-commandsEPSS 1.0%
This affects all versions of package google-cloudstorage-commands.
- 9.8CVE-2020-28435ffmpeg-sdk project ffmpeg-sdkEPSS 1.4%
This affects all versions of package ffmpeg-sdk. The injection point is located in line 9 in index.js.
- 7.8CVE-2020-28422git-archive project git-archiveEPSS 0.4%
All versions of package git-archive are vulnerable to Command Injection via the exports function.
- 9.8CVE-2022-2143advantech iviewExploitEPSS 63%
The affected product is vulnerable to two instances of command injection, which may allow an attacker to remotely execute arbitrary code.
- 9.8CVE-2022-0902abbEPSS 16%
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in flow computer and remote controller products of ABB ( RMC-…
- 9.8CVE-2022-31161roxy-wiExploitEPSS 28%
Roxy-WI is a Web interface for managing HAProxy, Nginx and Keepalived servers. Prior to version 6.1.1.0, the system command can be run remotely via the subprocess_execute function without processing the inputs received from the user in the…
- 8.4CVE-2022-34820siemensEPSS 2.3%
A vulnerability has been identified in SIMATIC CP 1242-7 V2 (All versions < V3.3.46), SIMATIC CP 1243-1 (All versions < V3.3.46), SIMATIC CP 1243-7 LTE EU (All versions < V3.3.46), SIMATIC CP 1243-7 LTE US (All versions < V3.3.46), SIMATIC…