Engagement Management

A tester exploits reflected cross-site scripting in an internet-facing application that is end-of-life, so no patch or code change is possible. Which control BEST reduces the risk now?

Show the answer

Correct answerB. Deploy a web application firewall in front of the application

AWhy not this: No update exists for an end-of-life product, so there is nothing to apply.

BWhy this is right: A WAF inspects and blocks malicious script payloads in requests without touching the application.

CWhy not this: Sanitizing input is the root fix but requires editing code, which the scenario rules out.

DWhy not this: MFA verifies identity but does not stop script injection delivered through the application's inputs.

A web application firewall is an infrastructure control that filters malicious requests without changing the application, which suits an unpatchable system. Input sanitization would fix the cause but needs code changes the constraint rules out.