JN0-336 practice question 8 of 10

Which of the following is a security vulnerability that allows an attacker to manipulate the sequence of SQL statements executing in a web application?

Full set: 75 questions
Answer options
A: Cross-Site Scripting (XSS)
B: SQL Injection Correct answer
C: Cross-Site Request Forgery (CSRF)
D: Distributed Denial of Service (DDoS)
Correct Answer:
B. SQL Injection
Explanation

SQL Injection is a code injection technique used to attack data-driven applications. It occurs when an attacker inserts or "injects" malicious SQL statements into an entry field for execution by the backend database. A successful SQL injection exploit can read sensitive data from the database, modify database data, execute administration operations on the database, and in some cases, issue commands to the operating system. This perfectly matches the description of manipulating the sequence of SQL statements.

Why Incorrect

A. Cross-Site Scripting (XSS) involves injecting malicious scripts into web pages viewed by other users, targeting the user's browser, not the backend database.
C. Cross-Site Request Forgery (CSRF) tricks an authenticated user into performing an unwanted action, but does not involve injecting or manipulating SQL code.
D. A Distributed Denial of Service (DDoS) attack aims to make a service unavailable by overwhelming it with traffic, not by manipulating its database queries.

References

1. Juniper Networks TechLibrary. (2023). Understanding Predefined IDP Attack Objects. The section on "Injection" attacks describes SQL-injection as a high-severity attack where an attacker can gain unauthorized access to a database.

2. Myers, A. C., & Liskov, B. (2000). Protecting privacy using the decentralized label model. ACM Transactions on Software Engineering and Methodology (TOSEM), 9(4), 410-442. (https://doi.org/10.1145/363516.363526). This academic paper discusses information flow control, a principle for preventing vulnerabilities like SQL injection.

3. OWASP Foundation. SQL Injection. The Open Web Application Security Project (OWASP) provides a canonical definition, stating it's a vulnerability that allows an attacker to interfere with the queries that an application makes to its database.

Scroll to Top