ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 367 - PT0-002 discussion

Report
Export

Given the following user-supplied data:

www.comptia.com/info.php?id=1 AND 1=1

Which of the following attack techniques is the penetration tester likely implementing?

A.
Boolean-based SQL injection
Answers
A.
Boolean-based SQL injection
B.
Time-based SQL injection
Answers
B.
Time-based SQL injection
C.
Stored cross-site scripting
Answers
C.
Stored cross-site scripting
D.
Reflected cross-site scripting
Answers
D.
Reflected cross-site scripting
Suggested answer: A

Explanation:

The user-supplied data www.comptia.com/info.php?id=1 AND 1=1 is indicative of a Boolean-based SQL injection attack. In this attack, the attacker manipulates a SQL query by inserting additional SQL logic that will always evaluate to true (in this case, AND 1=1) to gain unauthorized access to database information. This type of attack exploits improper input validation in web applications to manipulate database queries. The other attack techniques listed (Time-based SQL injection, Stored cross-site scripting, Reflected cross-site scripting) involve different methodologies and are not demonstrated by the given user-supplied data.

asked 02/10/2024
DOMINIC FERNANDEZ
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first