A web application with a known SQL injection flaw cannot be patched for several weeks. It is reachable from the internet over HTTPS on port 443. Which control BEST reduces exploitation in the meantime without changing the application code?
Show the answer
Correct answerD. Place a WAF in front of the application to inspect and filter HTTP requests
AWhy not this: Throttling slows volume but a single crafted injection request is still allowed through.
BWhy not this: Port 443 is needed and stays open, so injection requests inside HTTPS traffic still reach the application.
CWhy not this: Stateful Layer 4 tracking sees sessions and ports, not the SQL content inside the requests.
DWhy this is right: Layer 7 inspection of HTTP requests can drop injection payloads, shielding the unpatched flaw.
A WAF works at Layer 7, reads the HTTP requests (after TLS termination) and can block SQL injection payloads, which shields the flawed app until it is patched. A port-based policy already permits 443, so injection requests still reach the application.