Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Passing untrusted, unsanitized data to the Runtime.exec() method can result in command and argument injection attacks.

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

IDS07-J

High

Probable

Medium

P12

L1

Automated Detection

ToolVersionCheckerDescription
The Checker Framework

Include Page
The Checker Framework_V
The Checker Framework_V

Tainting CheckerTrust and security errors (see Chapter 8)
Coverity7.5OS_CMD_INJECTIONImplemented
Parasoft Jtest
Include Page
java:
Parasoft_V
java:
Parasoft_V
PORT.EXEC
 

SonarQube Java Plugin
Include Page
SonarQube Java Plugin_V
SonarQube Java Plugin_V

S2076 - OS commands should not be vulnerable to injection attacks

Implemented

Related Vulnerabilities

Related Guidelines

Android Implementation Details

Runtime.exec() can be called from Android apps to execute operating system commands.

Bibliography

...


...