Post-exploitation and Lateral Movement

After the upload flaw is patched, which item left in the web root still gives the tester command execution?

Show the answer

Correct answerD. A script that passes request parameters to the OS shell

AWhy not this: Static HTML only displays content and never executes anything on the server, so it gives no command execution.

BWhy not this: robots.txt is a plain text file for crawlers; it executes nothing and gives the tester no access.

CWhy not this: A trojanized installer is a Trojan that needs a user to run it; it does not run commands on the web server.

DWhy this is right: A server-side script that runs request input as OS commands is a web shell, so it gives access whatever happens to the original flaw.

A server-side script that hands request parameters to the OS shell is a web shell. It keeps working through normal web requests after the original flaw is fixed. A trojanized installer needs a user to run it and does not execute commands on the server.