Selecting WAF for Web Application Vulnerability Protection
Short answer
D Implement a WAF to filter HTTP traffic and block application-layer exploits like remote command execution targeting the CRM.
Question
Key Takeaways
A Web Application Firewall (WAF) is the best solution for protecting a cloud-hosted CRM application from remote command execution vulnerabilities. Unlike network-level tools, a WAF inspects HTTP payloads to block common web-based attacks defined in the OWASP Top 10.
Expert Analysis
A Web Application Firewall (WAF) is specifically designed to protect web applications by filtering and monitoring HTTP traffic between a web application and the internet. It can detect and block common web-based attacks including remote command execution, SQL injection, XSS, and other OWASP Top 10 vulnerabilities.
The scenario presents a critical security decision point: selecting the appropriate defense mechanism for a public cloud IaaS environment hosting a CRM application that is vulnerable to remote command execution (RCE). The core constraint here is that the attack vector is "remote," implying an external threat actor targeting the application over the network, and the vulnerability is at the application layer. The goal is to prevent exploitation by "basic attacks," which typically refers to known signatures or patterns found in the OWASP Top Ten list, such as injection flaws that lead to RCE.
Option D, WAF, is the correct answer because it operates at Layer 7 (the application layer) of the OSI model. A WAF inspects the content of HTTP/HTTPS requests before they reach the backend application servers. For a CRM application, which is inherently a web-based service, the WAF acts as a reverse proxy. It analyzes incoming traffic for malicious payloads—such as malformed commands, SQL injection strings, or cross-site scripting attempts—that could trigger the RCE vulnerability. By filtering these specific application-layer threats, the WAF effectively neutralizes the exploit attempt without requiring changes to the underlying infrastructure code or network routing rules. This aligns with the principle of defense-in-depth, providing a dedicated shield for the web application itself.
Option A, IPS (Intrusion Prevention System), is incorrect because, while modern IPS solutions have grown more sophisticated, traditional or basic IPS deployments primarily focus on Layer 3 and Layer 4 traffic (network and transport layers). They are designed to detect and block suspicious network packets based on IP reputation, port scanning, or protocol anomalies. While some advanced IPS features include deep packet inspection, their primary strength lies in network-level threats rather than semantic analysis of complex application-layer logic like API calls or web form submissions. In a cloud IaaS context, relying solely on a network-level IPS leaves the application exposed to payload-based attacks that pass through valid TCP connections.
Option B, ACL (Access Control List), is incorrect because ACLs function at the network perimeter to allow or deny traffic based on source/destination IP addresses, ports, and protocols. They provide coarse-grained access control. An ACL cannot inspect the body of an HTTP request to determine if it contains a malicious command injection string. Therefore, while an ACL might restrict who can reach the server (e.g., only allowing port 80/443), it offers zero protection against an attacker who legitimately connects via HTTP but sends a crafted payload to exploit the RCE flaw.
Option C, DLP (Data Loss Prevention), is incorrect because its purpose is entirely different. DLP systems are designed to monitor and prevent unauthorized exfiltration of sensitive data (such as PII, credit card numbers, or intellectual property) leaving the network. They do not focus on preventing initial system compromise or exploitation via remote commands. Implementing DLP would help mitigate the impact of a breach if data were stolen, but it does nothing to stop the attacker from executing the initial RCE attack to gain access in the first place.
The decisive factor in this scenario is the nature of the vulnerability (application-layer RCE) and the type of attack (web-based exploitation). Only a tool that understands and parses HTTP traffic can effectively filter out these specific threats. A WAF is the standard industry solution for securing web applications against OWASP-related risks, making it the superior choice over network-centric controls like IPS or ACLs, or data-centric controls like DLP.
Official Reference
- https://owasp.org/www-project-top-ten/
- https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf.html
These links open the official vendor documentation in a new tab.
Exam Strategy
When analyzing security scenarios involving web applications, always prioritize Layer 7 controls for application-layer vulnerabilities. If the question mentions 'web,' 'HTTP,' 'API,' or 'OWASP,' think WAF. Reserve IPS/ACLs for network-level issues like port scans or unauthorized IP access, and reserve DLP for data exfiltration concerns. This distinction between network, application, and data layers is crucial for CySA+ and Cloud+ exams.
Related Analysis
Practice All CV0-004 Questions
Access 100 questions with complete answers and detailed explanations.
View Full CV0-004 Practice Test →