CAS-002 · Question #589
A company's security policy states that its own internally developed proprietary Internet facing software must be resistant to web application attacks. Which of the following methods provides the…
The correct answer is A. Require all development to follow secure coding practices. Secure coding practices provide the broadest and most fundamental protection against web application attacks by eliminating vulnerabilities at the source before deployment.
Question
A company's security policy states that its own internally developed proprietary Internet facing software must be resistant to web application attacks. Which of the following methods provides the MOST protection against unauthorized access to stored database information?
Options
- ARequire all development to follow secure coding practices.
- BRequire client-side input filtering on all modifiable fields.
- CEscape character sequences at the application tier.
- DDeploy a WAF with application specific signatures.
How the community answered
(25 responses)- A52% (13)
- B28% (7)
- C8% (2)
- D12% (3)
Why each option
Secure coding practices provide the broadest and most fundamental protection against web application attacks by eliminating vulnerabilities at the source before deployment.
Requiring secure coding practices - such as parameterized queries, output encoding, and input validation - addresses the root cause of vulnerabilities like SQL injection and XSS at the development stage, preventing them from ever reaching production. This defense-in-depth approach is more comprehensive than any single compensating control applied after the fact.
Client-side input filtering can be trivially bypassed by an attacker intercepting and modifying HTTP requests before they reach the server, making it an unreliable primary defense.
Escaping character sequences at the application tier addresses only a subset of injection vulnerabilities and is itself a component of secure coding rather than a replacement for it.
A WAF provides perimeter-level detection and filtering but can be bypassed through obfuscation or zero-day techniques and does not remediate underlying code vulnerabilities.
Concept tested: Secure coding practices for web application protection
Source: https://owasp.org/www-project-secure-coding-practices-quick-reference-guide/
Topics
Community Discussion
No community discussion yet for this question.