Improper Neutralization of Special Elements used in an OS Command
CWE-78
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.
We track 4,146 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.7. 126 have been exploited in real attacks.
How this weakness is prevented
- Architecture and Design: If at all possible, use library calls rather than external processes to recreate the desired functionality.
- Architecture and Design: For any data that will be used to generate a command to be executed, keep as much of that data out of external control as possible. For example, in web applications, this may require storing the data locally in the session's state instead of sending it out to the client in a hidden form field.
- Architecture and Design: For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
- Architecture and Design: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, consider using the ESAPI Encoding control or a similar tool, library, or framework. These will help the programmer encode outputs in a manner less prone to error.
- Implementation: While it is risky to use dynamically-generated query strings, code, or commands that mix control and data together, sometimes it may be unavoidable. Properly quote arguments and escape any special characters within those arguments. The most conservative approach is to escape or filter all characters that do not pass an extremely strict allowlist (such as everything that is not alphanumeric or white space). If some special characters are still needed, such as white space, wrap each argument in quotes after the escaping/filtering step. Be careful of argument injection (CWE-88).
Latest Improper Neutralization of Special Elements used in an OS Command vulnerabilities
- 7.2 High severity
Aruba ClearPass Policy Manager: Improper Neutralization of Special Elements used in an OS Command
A authenticated remote command injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): 6.10.4 and below, 6.9.9 and below, 6.8.9-HF2 and below, 6.7.x and below. Aruba has released updates to ClearPass Policy Manager that address thi
- 7.2 High severity
Aruba ClearPass Policy Manager: Improper Neutralization of Special Elements used in an OS Command
A authenticated remote command injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): 6.10.4 and below, 6.9.9 and below, 6.8.9-HF2 and below, 6.7.x and below. Aruba has released updates to ClearPass Policy Manager that address thi
- 9.1 Critical severity
Aruba ClearPass Policy Manager: Improper Neutralization of Special Elements used in an OS Command
A authenticated remote command injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): 6.10.4 and below, 6.9.9 and below, 6.8.9-HF2 and below, 6.7.x and below. Aruba has released updates to ClearPass Policy Manager that address thi
- 9.1 Critical severity
Aruba ClearPass Policy Manager: Improper Neutralization of Special Elements used in an OS Command
A authenticated remote command injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): 6.10.4 and below, 6.9.9 and below, 6.8.9-HF2 and below, 6.7.x and below. Aruba has released updates to ClearPass Policy Manager that address thi
- 9.1 Critical severity
Aruba ClearPass Policy Manager: Improper Neutralization of Special Elements used in an OS Command
A authenticated remote command injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): 6.10.4 and below, 6.9.9 and below, 6.8.9-HF2 and below, 6.7.x and below. Aruba has released updates to ClearPass Policy Manager that address thi
- 9.1 Critical severity
Aruba ClearPass Policy Manager: Improper Neutralization of Special Elements used in an OS Command
A authenticated remote command injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): 6.10.4 and below, 6.9.9 and below, 6.8.9-HF2 and below, 6.7.x and below. Aruba has released updates to ClearPass Policy Manager that address thi
- 9.1 Critical severity
Aruba ClearPass Policy Manager: Improper Neutralization of Special Elements used in an OS Command
A authenticated remote command injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): 6.10.4 and below, 6.9.9 and below, 6.8.9-HF2 and below, 6.7.x and below. Aruba has released updates to ClearPass Policy Manager that address thi
- 9.1 Critical severity
Aruba ClearPass Policy Manager: Improper Neutralization of Special Elements used in an OS Command
A authenticated remote command injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): 6.10.4 and below, 6.9.9 and below, 6.8.9-HF2 and below, 6.7.x and below. Aruba has released updates to ClearPass Policy Manager that address thi
- 8.8 High severity
InRouter302: Improper Neutralization of Special Elements used in an OS Command
An OS command injection vulnerability exists in the console infactory_net functionality of InHand Networks InRouter302 V3.5.37. A specially-crafted series of network requests can lead to remote code execution. An attacker can send a sequence of requests to tri
- 8.8 High severity
InRouter302: Improper Neutralization of Special Elements used in an OS Command
An OS command injection vulnerability exists in the console infactory_port functionality of InHand Networks InRouter302 V3.5.37. A specially-crafted series of network requests can lead to remote code execution. An attacker can send a sequence of requests to tr
- 8.8 High severity
InRouter302: Improper Neutralization of Special Elements used in an OS Command
An OS command injection vulnerability exists in the httpd wlscan_ASP functionality of InHand Networks InRouter302 V3.5.4. A specially-crafted HTTP request can lead to arbitrary command execution. An attacker can make an authenticated HTTP request to trigger th
- 8.8 High severity
InRouter302: Improper Neutralization of Special Elements used in an OS Command
An OS command injection vulnerability exists in the console infactory_wlan functionality of InHand Networks InRouter302 V3.5.37. A specially-crafted series of network requests can lead to remote code execution. An attacker can send a sequence of requests to tr
- 8.8 High severity
InRouter302: Improper Neutralization of Special Elements used in an OS Command
An OS command injection vulnerability exists in the daretools binary functionality of InHand Networks InRouter302 V3.5.4. A specially-crafted network request can lead to arbitrary command execution. An attacker can send a sequence of requests to trigger this v
- 7.2 High severity
InRouter302: Improper Neutralization of Special Elements used in an OS Command
An OS command injection vulnerability exists in the console factory functionality of InHand Networks InRouter302 V3.5.4. A specially-crafted network request can lead to command execution. An attacker can send a sequence of requests to trigger this vulnerabilit
- 9.8 Critical severity
SolarView Compact Command Injection Exploited
SolarView Compact ver.6.00 was discovered to contain a command injection vulnerability via conf_mail.php.
- 9.8 Critical severity
Gemini-net: Improper Neutralization of Special Elements used in an OS Command
resi-calltrace in RESI Gemini-Net 4.2 is affected by OS Command Injection. It does not properly check the parameters sent as input before they are processed on the server. Due to the lack of validation of user input, an unauthenticated attacker can bypass the
- 9.8 Critical severity
Zyxel Multiple Firewalls OS Command Injection Exploited
A OS command injection vulnerability in the CGI program of Zyxel USG FLEX 100(W) firmware versions 5.00 through 5.21 Patch 1, USG FLEX 200 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 500 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 700 firmw
- 7.8 High severity
InfoSphere Information Server: Improper Neutralization of Special Elements used in an OS Command
IBM InfoSphere Information Server 11.7 could allow a locally authenticated attacker to execute arbitrary commands on the system by sending a specially crafted request.
- 9.8 Critical severity
N600r Firmware: Improper Neutralization of Special Elements used in an OS Command
TOTOLink N600R V5.3c.7159_B20190425 was discovered to contain a command injection vulnerability via the filename parameter in /setting/setUploadSetting.
- 9.8 Critical severity
N600r Firmware: Improper Neutralization of Special Elements used in an OS Command
TOTOLink N600R V5.3c.7159_B20190425 was discovered to contain a command injection vulnerability via the filename parameter in /setting/CloudACMunualUpdate.
- 9.8 Critical severity
N600r Firmware: Improper Neutralization of Special Elements used in an OS Command
TOTOLink N600R V5.3c.7159_B20190425 was discovered to contain a command injection vulnerability via the devicename parameter in /setting/setDeviceName.
- 9.8 Critical severity
N600r Firmware: Improper Neutralization of Special Elements used in an OS Command
TOTOLink N600R V5.3c.7159_B20190425 was discovered to contain a command injection vulnerability via the webwlanidx parameter in /setting/setWebWlanIdx.
- 9.8 Critical severity
N600r Firmware: Improper Neutralization of Special Elements used in an OS Command
TOTOLink N600R V5.3c.7159_B20190425 was discovered to contain a command injection vulnerability via the ipdoamin parameter in /setting/setDiagnosisCfg.
- 9.8 Critical severity
N600r Firmware: Improper Neutralization of Special Elements used in an OS Command
TOTOLink N600R V5.3c.7159_B20190425 was discovered to contain a command injection vulnerability via the hosttime function in /setting/NTPSyncWithHost.
- 9.8 Critical severity
N600r Firmware: Improper Neutralization of Special Elements used in an OS Command
TOTOLink N600R V5.3c.7159_B20190425 was discovered to contain a command injection vulnerability via the langtype parameter in /setting/setLanguageCfg.
- 9.8 Critical severity
N600r Firmware: Improper Neutralization of Special Elements used in an OS Command
TOTOLink N600R V5.3c.7159_B20190425 was discovered to contain a command injection vulnerability via the devicemac parameter in /setting/setDeviceName.
- 9.8 Critical severity
Dir-882 Firmware: Improper Neutralization of Special Elements used in an OS Command
A command injection vulnerability in the component /SetTriggerLEDBlink/Blink of D-Link DIR882 DIR882A1_FW130B06 allows attackers to escalate privileges to root via a crafted payload.
- 9.8 Critical severity
Dir-882 Firmware: Improper Neutralization of Special Elements used in an OS Command
A command injection vulnerability in the component /setnetworksettings/SubnetMask of D-Link DIR882 DIR882A1_FW130B06 allows attackers to escalate privileges to root via a crafted payload.
- 9.8 Critical severity
Dir-882 Firmware: Improper Neutralization of Special Elements used in an OS Command
A command injection vulnerability in the component /setnetworksettings/IPAddress of D-Link DIR882 DIR882A1_FW130B06 allows attackers to escalate privileges to root via a crafted payload.
- 7.2 High severity
Nts-6002-gps Firmware: Improper Neutralization of Special Elements used in an OS Command
An issue was discovered in Galleon NTS-6002-GPS 4.14.103-Galleon-NTS-6002.V12 4. An authenticated attacker can perform command injection as root via shell metacharacters within the Network Tools section of the web-management interface. All three networking too
- 9.8 Critical severity
A7100ru Firmware: Improper Neutralization of Special Elements used in an OS Command
It is found that there is a command injection vulnerability in the setWiFiWpsStart interface in TOTOlink A7100RU (v7.4cu.2313_b20191024) router, which allows an attacker to execute arbitrary commands through a carefully constructed payload.
- 9.8 Critical severity
A7100ru Firmware: Improper Neutralization of Special Elements used in an OS Command
It is found that there is a command injection vulnerability in the setWiFiWpsCfg interface in TOTOlink A7100RU (v7.4cu.2313_b20191024) router, which allows an attacker to execute arbitrary commands through a carefully constructed payload.
- 9.8 Critical severity
A7100ru Firmware: Improper Neutralization of Special Elements used in an OS Command
It is found that there is a command injection vulnerability in the setWiFiSignalCfg interface in TOTOlink A7100RU (v7.4cu.2313_b20191024) router, which allows an attacker to execute arbitrary commands through a carefully constructed payload.
- 9.8 Critical severity
A7100ru Firmware: Improper Neutralization of Special Elements used in an OS Command
It is found that there is a command injection vulnerability in the setWiFiAdvancedCfg interface in TOTOlink A7100RU (v7.4cu.2313_b20191024) router, which allows an attacker to execute arbitrary commands through a carefully constructed payload.
- 9.8 Critical severity
A7100ru Firmware: Improper Neutralization of Special Elements used in an OS Command
It is found that there is a command injection vulnerability in the setL2tpServerCfg interface in TOTOlink A7100RU (v7.4cu.2313_b20191024) router, which allows an attacker to execute arbitrary commands through a carefully constructed payload.
- 9.8 Critical severity
A7100ru Firmware: Improper Neutralization of Special Elements used in an OS Command
It is found that there is a command injection vulnerability in the setParentalRules interface in TOTOlink A7100RU (v7.4cu.2313_b20191024) router, which allows an attacker to execute arbitrary commands through a carefully constructed payload.
- 9.8 Critical severity
A7100ru Firmware: Improper Neutralization of Special Elements used in an OS Command
It is found that there is a command injection vulnerability in the setOpenVpnCfg interface in TOTOlink A7100RU (v7.4cu.2313_b20191024) router, which allows an attacker to execute arbitrary commands through a carefully constructed payload.
- 9.8 Critical severity
A7100ru Firmware: Improper Neutralization of Special Elements used in an OS Command
It is found that there is a command injection vulnerability in the delParentalRules interface in TOTOlink A7100RU (v7.4cu.2313_b20191024) router, which allows an attacker to execute arbitrary commands through a carefully constructed payload.
- 9.8 Critical severity
A7100ru Firmware: Improper Neutralization of Special Elements used in an OS Command
It is found that there is a command injection vulnerability in the setopenvpnclientcfg interface in TOTOlink A7100RU (v7.4cu.2313_b20191024) router, which allows attackers to execute arbitrary commands through a carefully constructed payload
- 7.2 High severity
Cisco Small Business RV Series Router Firmware: Improper Neutralization of Special Elements used in an OS Command
Multiple vulnerabilities in the web-based management interface of Cisco Small Business RV340 and RV345 Routers could allow an authenticated, remote attacker to inject and execute arbitrary commands on the underlying operating system of an affected device. Thes