312-50V12 · Question #153
As a cybersecurity professional, you are responsible for securing a high-traffic web application that uses MySQL as its backend database. Recently, there has been a surge of unauthorized login…
The correct answer is B. The hacker switches tactics and resorts to a 'time-based blind' SQL Injection attack, which would. Despite character filtering hindering UNION-based SQL injection, a seasoned hacker is most likely to switch to a time-based blind SQL Injection attack to continue exploiting the vulnerability.
Question
Options
- AThe hacker tries to manipulate the 'UNION' keyword in such a way that it triggers a database
- BThe hacker switches tactics and resorts to a 'time-based blind' SQL Injection attack, which would
- CThe hacker attempts to bypass the special character filter by encoding his malicious input, which
- DThe hacker alters his approach and injects a DROP TABLE' statement, a move that could
How the community answered
(40 responses)- A15% (6)
- B75% (30)
- C3% (1)
- D8% (3)
Why each option
Despite character filtering hindering UNION-based SQL injection, a seasoned hacker is most likely to switch to a time-based blind SQL Injection attack to continue exploiting the vulnerability.
If character filtering is effective against SQL Injection, merely 'manipulating' the 'UNION' keyword is unlikely to bypass the filter and will still prevent successful data retrieval.
A time-based blind SQL Injection attack does not rely on direct error messages or union-based data retrieval, which are blocked by character filtering. Instead, it infers information by observing the database server's response time to injected conditional queries, allowing data exfiltration even when direct output is filtered or suppressed.
While encoding is a common technique to bypass character filters, the question implies the existing filtering is effective, suggesting that encoding attempts for direct data retrieval methods like UNION have either failed or are not the most effective next step when dealing with no visible output.
Injecting a 'DROP TABLE' statement is a destructive action aimed at data deletion, not at 'returning additional data' through the login process, and would still be subject to the same character filtering that prevents UNION-based attacks.
Concept tested: SQL Injection bypass techniques (blind injection)
Source: https://learn.microsoft.com/en-us/azure/security/fundamentals/sql-injection#blind-sql-injection-time-based
Topics
Community Discussion
No community discussion yet for this question.