rspec/rules/S5883/description.adoc
Arseniy Zaostrovnykh 7ca29f686f Force linebreaks
2021-02-02 15:02:10 +01:00

5 lines
430 B
Plaintext

Applications that allow execution of operating system commands from user-controlled data should control the arguments passed to the command to execute, otherwise an attacker can inject additional arbitrary arguments which can change the command behavior.
Command arguments constructed from user-controlled data should be sanitized in order to escape argument delimiters (eg: ', space, - ) preventing argument injection attacks.