
EC-CouncilEthical Hacking Essentials
Domain 6Objective 2
Web Application Attack Techniques and Exploitation EHE Practice Questions (Page 4)
Part of the Web Application Attacks and Countermeasures domain, which makes up ~9% of our current practice bank.
57questions here
12free pages
11concepts
Questions 16–20
- 16
A web application allows users to access a URL like `/admin` by simply changing the URL in the browser, even if they are not administrators. Which type of flaw is this?
Select an answer first - 17
A web application uses cookies for session management but does not set the SameSite attribute. A user is logged in and visits a malicious site. The malicious site contains a form that auto-submits a POST request to the application's change-password endpoint. Which defense would most effectively prevent this attack?
Select an answer first - 18
A development team is fixing a SQL injection vulnerability in a login form. The application is written in Java and uses JDBC. Which coding practice is the most effective and secure way to prevent SQL injection?
Select an answer first - 19
A security team is hardening a web application against CSRF. The application uses cookies for session management and has a state-changing endpoint that accepts POST requests. The team wants to implement a defense that does not break existing functionality where users open multiple tabs. Which CSRF defense is most appropriate?
Select an answer first - 20
Which technique is commonly used to steal a session token from a victim's browser?
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.