An online bookstore's public site is being hit with cross-site scripting in query strings. The transport firewall already allows only HTTPS to the site. Which firewall architecture addresses the attack?
Select an answer to reveal the explanation.
Short Explanation
The wall already stops the wrong trucks, and the problem is a bad form hidden in a truck you chose to allow. You inspect HTTP and block the script. A transport allow, a database host firewall, or a log-only sensor leaves the form in place.
Full Explanation
Cross-site scripting is an HTTP-level attack. The bookstore already has the right transport rule and still gets hit, because a traditional firewall does not parse the query string. A web application firewall inspects that HTTP and can block the pattern. The database host never sees the raw request. A detect-only sensor would record the hit and still let it through, which fails the need to stop it. A web application firewall that understands the HTTP requests and blocks the script pattern is the design that meets this requirement. A traditional firewall that allows TCP 443 and does not parse HTTP is the wrong fit because the traditional firewall is already allowing HTTPS and cannot see the script inside the request. A host firewall on the database that never receives the HTTP query string is the wrong fit because the database is behind the site, so the query string is not a connection the database firewall accepts from the internet. An intrusion detection sensor that logs the attack and does not block it is the wrong fit because detection that only logs leaves the scripting attack reaching the site, and the store asked to address it. Exam caveat: Put the WAF where it receives decrypted HTTP, either by terminating TLS at the WAF or by passing HTTP from a trusted upstream TLS terminator. Detection mode is a staging step, not the final block the store asked for. Operational check: Send a lab request with a script in the query string and confirm the web application firewall blocks it while a normal search still returns books.