Question 351 · 856 in bank
A security analyst reviews web server logs and notices the following line:
Which of the following vulnerabilities is the attacker trying to exploit?
Show answer
Answer: D
Explanation
Never heard of this before...again this came from Pentest+ "Union Query SQL Injection This type of injection builds two or more SELECT() statements that already exist within the application to create a single result in the application response. This is often useful in getting information from parts of the database that are not designed to be exposed to part of the application that allows user interaction. To perform a successful UNION attack, both queries must return the same number of columns and the data types in each column have to match. Another way is to use NULLs in a UNION SELECT statement until you have enough to match the queries and the error condition stops." -Pentest+ All-in-one Certification PT0-002 by Heather Linn & Raymond Nutting
Source: Adapted from community discussion — LeonardSnart
