Multiple choice technology security

Code is vulnerable to buffer overflow attack and

  1. DNS Spoofing

  2. Command Injection

  3. Path Traversal

  4. Command Injection AND Path Traversal

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This question is poorly worded and incomplete - it references code that isn't shown. However, the intended answer appears to be that certain code vulnerabilities can lead to multiple attack types. Buffer overflows can enable command injection (by overwriting return addresses to inject shellcode) and path traversal (by manipulating string parameters). The question asks what else can go wrong given buffer overflow vulnerability.