nerdexam
Isaca

CISA · Question #147

Which of the following system attack methods is executed by entering malicious code into the search box of a vulnerable website, causing the server to reveal restricted information?

The correct answer is C. SQL injection. The attack method described, where malicious code is entered into a website's search box to make the server reveal restricted information, is SQL injection.

Submitted by haru.x· Apr 18, 2026Protection of Information Assets

Question

Which of the following system attack methods is executed by entering malicious code into the search box of a vulnerable website, causing the server to reveal restricted information?

Options

  • AMan-in-the-middle
  • BDenial of service (DoS)
  • CSQL injection
  • DCross-site scripting

How the community answered

(24 responses)
  • B
    4% (1)
  • C
    96% (23)

Why each option

The attack method described, where malicious code is entered into a website's search box to make the server reveal restricted information, is SQL injection.

AMan-in-the-middle

A man-in-the-middle attack intercepts communication between two parties, but it typically doesn't involve entering malicious code into a website's search box to exploit a database.

BDenial of service (DoS)

A Denial of Service (DoS) attack aims to make a service unavailable to legitimate users by overwhelming it, not by injecting code into a search box to reveal information.

CSQL injectionCorrect

SQL injection occurs when an attacker inserts malicious SQL code into input fields (like a search box) of a web application. This causes the application's backend database to execute unintended queries, potentially revealing, modifying, or deleting sensitive data, or even granting unauthorized access.

DCross-site scripting

Cross-site scripting (XSS) involves injecting malicious client-side scripts into web pages viewed by other users, primarily affecting the user's browser, not directly causing the server to reveal its own restricted database information.

Concept tested: SQL injection attack method

Source: https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/sql-injection

Topics

#SQL injection#Web application security#Vulnerability#Information disclosure

Community Discussion

No community discussion yet for this question.

Full CISA Practice