PT0-002 · Question #244
A penetration tester is looking for vulnerabilities within a company's web application that are in scope. The penetration tester discovers a login page and enters the following string in a field…
The correct answer is C. Stacked queries. The penetration tester is using a type of injection attack called stacked queries, which means appending multiple SQL statements separated by semicolons in a single input field. This can allow the penetration tester to execute arbitrary SQL commands on the database server, such…
Question
A penetration tester is looking for vulnerabilities within a company's web application that are in scope. The penetration tester discovers a login page and enters the following string in a field:
1;SELECT Username, Password FROM Users; Which of the following injection attacks is the penetration tester using?
Options
- ABlind SQL
- BBoolean SQL
- CStacked queries
- DError-based
How the community answered
(43 responses)- A5% (2)
- B16% (7)
- C72% (31)
- D7% (3)
Explanation
The penetration tester is using a type of injection attack called stacked queries, which means appending multiple SQL statements separated by semicolons in a single input field. This can allow the penetration tester to execute arbitrary SQL commands on the database server, such as selecting username and password from users table.
Topics
Community Discussion
No community discussion yet for this question.