CCSP · Question #282
The Open Web Application Security Project (OWASP) Top Ten is a list of web application security threats that is composed by a member-driven OWASP committee of application development experts and publi
The correct answer is C. Input validation/bounds checking. Injection attacks, such as SQL injection or command injection, exploit applications that process untrusted input without proper validation; therefore, input validation and bounds checking are the primary defenses.
Question
The Open Web Application Security Project (OWASP) Top Ten is a list of web application security threats that is composed by a member-driven OWASP committee of application development experts and published approximately every 24 months. The 2013 OWASP Top Ten list includes "injection." In most cases, what is the method for reducing the risk of an injection attack? Response:
Options
- AUser training
- BHardening the OS
- CInput validation/bounds checking
- DPhysical locks
How the community answered
(55 responses)- A4% (2)
- B2% (1)
- C93% (51)
- D2% (1)
Why each option
Injection attacks, such as SQL injection or command injection, exploit applications that process untrusted input without proper validation; therefore, input validation and bounds checking are the primary defenses.
User training helps prevent social engineering but does not directly protect against technical injection vulnerabilities in applications.
Hardening the operating system improves overall system security but does not directly prevent vulnerabilities in application code that lead to injection attacks.
Injection attacks occur when an application sends untrusted data to an interpreter as part of a command or query. The most effective method to prevent injection attacks, like SQL injection, command injection, or cross-site scripting (XSS), is rigorous input validation and bounds checking, which ensures that user-supplied data conforms to expected formats and lengths and does not contain malicious code or commands.
Physical locks protect hardware and facilities and are entirely unrelated to software-based injection vulnerabilities.
Concept tested: Preventing injection attacks
Source: https://owasp.org/www-project-top-ten/OWASP_Top_Ten_2013/
Topics
Community Discussion
No community discussion yet for this question.