In-depth lesson · Command injection
Bypasses and variations
Every point the Command injection reports back under this heading, best-backed first, each with the reports it is seen in.
-
The fix for a protocol handler flaw used a blacklist of flags, so try a flag that was left off the list to redirect traffic.
-
The signature check compared strings and passed an unescaped filename to PowerShell, so a crafted filename bypasses it.
Seen in 1 report
-
Injected xauth commands bypassed forced commands and login-shell restrictions.
Seen in 1 report
-
Blacklisting one nginx directive did not stop other directives from being injected through the same annotation.
Seen in 1 report
-
An earlier escaping fix was incomplete and could be bypassed with trailing whitespace or periods.
-
The fix for an earlier argument injection was incomplete and the same path still reached command execution.
-
A branch name using a zero-width character was made to look like the default branch to trick the victim.
Seen in 1 report
-
Grouping short flags let a value be reinterpreted as an option.
Seen in 1 report
-
An unquoted variable in a wrapper script let spaces and metacharacters split into extra arguments.
Seen in 1 report