A script runs as root and calls 'python' without an absolute path. An attacker has write access to /tmp which is in root's PATH before /usr/bin. What attack is possible?
-
A
Buffer overflow
-
B
PATH hijacking by placing a malicious 'python' binary in /tmp
-
C
SQL injection
-
D
Format string attack