Commandinjection
OverTheWire Natas Level …
On to Level 10 of the OverTheWire Natas wargame! This level is extremely similar to level 9, except that now they are implementing a basic filtering, to prevent you from entering certain characters that could cause changes in the execution of the program. However, their filter is flawed.
It starts …
OverTheWire Natas Level 9
The next level of OverTheWire’s Nata challenge is Level 9. This is a command injection vulnerability.
Initially, you are given a search box.

Just like in previous levels, I looked at the available source code. You can see the vulnerability is that the user input is not sanitized. Due to …