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

EC-CouncilWeb Application Hacking and Security

Domain 2Objective 3

Remote Code Execution (RCE) WAHS Practice Questions (Page 3)

Part of the Injection Attacks domain, which makes up ~12% of our current practice bank. EC-Council does not publish an official question count, but from its 360-minute exam (~145–240 total, ~17–29 in this domain), expect 6–10 from this objective — we provide 46 practice questions to prepare you well beyond it. (estimate)

46questions here
10free pages
8concepts

Questions 11–15

  1. 11application · medium

    A web application uses an XPath query to retrieve user details: `//user[name='<input>' and pass='<password>']`. The input is not sanitized. Which XPath injection payload could bypass authentication?

    Select an answer first
  2. 12application · medium

    A penetration tester is assessing a web application that passes a user-supplied filename to a `grep` command on the server. The application does not validate the input. Which manual test would most safely confirm command injection?

    Select an answer first
  3. 13application · medium

    A development team is hardening a web application that previously suffered from command injection and code injection. They want to implement a single, high-impact control that addresses both vulnerability classes. Which control is most effective?

    Select an answer first
  4. 14foundation · easy

    What is a web shell in the context of file upload attacks?

    Select an answer first
  5. 15application · medium

    A SQL Server database has `xp_cmdshell` enabled. A web application builds a dynamic SQL query from user input. An attacker injects `'; EXEC xp_cmdshell 'whoami'; --` and the response includes the OS user. Which of the following is the most effective mitigation?

    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. “WAHS” is a trademark of its owner, used for identification only.