Certified Ethical Hacker (CEH v13) — Question 31

In an intricate web application architecture using an Oracle database, you, as a security analyst, have identified a potential SQL Injection attack surface. The database consists of 'x' tables, each with 'y' columns. Each table contains 'z' records. An attacker, well-versed in SQLi techniques, crafts 'u' SQL payloads, each attempting to extract maximum data from the database. The payloads include 'UNION SELECT' statements and 'DBMS_XSLPROCESSOR.READ2CLOB' to read sensitive files. The attacker aims to maximize the total data extracted 'E=xyz*u'. Assuming 'x=4', 'y=2', and varying 'z' and 'u', which situation is likely to result in the highest extracted data volume?

Answer options

Correct answer: D

Explanation

The correct answer is D because it maximizes the product of extracted data based on the formula E=xyz*u. With z=400 and u=4, the total data extracted is E=4*2*400*4=12800, which is greater than the other options. The other scenarios have either fewer payloads or a lower number of records, resulting in less total data extraction.