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 7)

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 31–35

  1. 31foundation · easy

    Which of the following is a classic example of code injection in a server-side scripting language?

    Select an answer first
  2. 32expert · hard

    A web application uses a SQL query to fetch a user's profile: `SELECT * FROM users WHERE id = <input>`. The application is vulnerable to SQL injection, and the database user has `FILE` privilege. The tester wants to achieve RCE by writing a web shell to the web root. Which SQL injection technique is most appropriate?

    Select an answer first
  3. 33foundation · easy

    Which of the following is an effective mitigation against file upload-based RCE?

    Select an answer first
  4. 34application · medium

    A PHP application has a template engine that allows users to submit custom templates. The application uses `eval()` to render the templates. An attacker submits a template containing `system('id')` and the output is displayed. Which remediation is the most effective?

    Select an answer first
  5. 35foundation · easy

    Which of the following is a common language-specific function that can be exploited for insecure deserialization?

    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.