Security+ SY0-701 practice question 15 of 35

An organization’s internet-facing website was compromised when an attacker exploited a buffer overflow. Which of the following should the organization deploy to best protect against similar attacks in the future?

Full set: 923 questions
Answer options
A: NGFW
B: WAF Correct answer
C: TLS
D: SD-WAN
Correct Answer:
B. WAF
Explanation

A Web Application Firewall (WAF) is a security control specifically designed to protect web applications from application-layer attacks. It inspects inbound HTTP/S traffic for malicious patterns indicative of attacks such as SQL injection, cross-site scripting, and buffer overflows. By filtering this traffic before it reaches the web server, a WAF can effectively block attempts to exploit vulnerabilities like the buffer overflow described in the scenario, providing the most direct and appropriate protection.

Why Incorrect

A. An NGFW (Next-Generation Firewall) operates at the network layer and may have some application-layer inspection, but a WAF provides more specialized and in-depth protection for web applications.
C. TLS (Transport Layer Security) encrypts data in transit between the client and the server. It protects against eavesdropping and tampering but does not inspect the traffic content for attacks.
D. SD-WAN (Software-Defined Wide Area Network) is a technology for managing and optimizing network traffic over a wide area network. It is unrelated to application security.

References

1. Scarfone

K.

Souppaya

M.

& Hoffman

P. (2007). Guide to Secure Web Services. NIST Special Publication 800-95. Section 4.2 discusses the role of XML firewalls (a type of WAF) in inspecting and filtering web service traffic to block attacks.

2. OWASP Foundation. (2023). Web Application Firewall. OWASP Wiki. Retrieved from owasp.org. States that a WAF "is a specific type of firewall designed to protect web applications from a variety of application layer attacks such as cross-site scripting (XSS)

SQL injection

and buffer overflows."

Scroll to Top