Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilEthical Hacking Essentials

Domain 6Objective 3

SQL Injection Attacks and Countermeasures EHE Practice Questions (Page 7)

Part of the Web Application Attacks and Countermeasures domain, which makes up ~9% of our current practice bank.

43questions here
9free pages
7concepts

Questions 31–35

  1. 31application · medium

    A financial services company discovers that an attacker exploited a SQL injection vulnerability in its customer portal. The attacker was able to modify the 'balance' column in the accounts table for multiple users. Which type of impact does this scenario primarily illustrate?

    Select an answer first
  2. 32application · medium

    A penetration tester is testing a login form that is vulnerable to SQL injection. The tester wants to bypass authentication and log in as the first user in the 'users' table without knowing a valid password. Which payload should the tester use in the username field?

    Select an answer first
  3. 33expert · hard

    A security analyst is investigating a potential SQL injection in a web application. The analyst notices that the application returns a 500 error when a single quote is added to a parameter, but returns a 200 OK with normal content when the parameter is a valid number. The analyst wants to confirm the vulnerability without causing a denial of service. Which step should the analyst take first?

    Select an answer first
  4. 34application · medium

    A company's web application allows users to view their own order history. A security audit reveals that the application concatenates the user ID from the URL into SQL queries. Which combination of countermeasures would most effectively reduce the risk of SQL injection and unauthorized data access?

    Select an answer first
  5. 35application · medium

    A developer is reviewing code for a login form and finds the following line: SELECT * FROM users WHERE username = '$_POST['username']' AND password = '$_POST['password']'. What is the most immediate and severe risk of this code?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “EHE” is a trademark of its owner, used for identification only.