CISM · Question #458
Which of the following will BEST mitigate web-based application attacks?
The correct answer is B. Validating the data input. The vast majority of web application attacks - SQL injection, cross-site scripting (XSS), command injection, and path traversal - exploit the application's failure to properly validate or sanitize user-supplied input. Input validation is an application-layer defense that…
Question
Which of the following will BEST mitigate web-based application attacks?
Options
- AImplementing an intrusion detection system (IDS)
- BValidating the data input
- CUtilizing Transport Layer Security (TLS)
- DEmploying a stateful inspection firewall at the perimeter
How the community answered
(43 responses)- A7% (3)
- B79% (34)
- C2% (1)
- D12% (5)
Explanation
The vast majority of web application attacks - SQL injection, cross-site scripting (XSS), command injection, and path traversal - exploit the application's failure to properly validate or sanitize user-supplied input. Input validation is an application-layer defense that addresses the root cause. An IDS (A) can detect known attack patterns but operates passively and cannot stop novel or obfuscated payloads. TLS (C) encrypts data in transit but does not protect against malicious content within that data. A stateful firewall (D) operates at the network/transport layer and cannot inspect application-layer semantics well enough to catch these attacks.
Topics
Community Discussion
No community discussion yet for this question.