
EC-CouncilWeb Application Hacking and Security
Domain 7Objective 1
Local File Inclusion (LFI) WAHS Practice Questions (Page 3)
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 17 practice questions to prepare you well beyond it. (estimate)
17questions here
4free pages
4concepts
Questions 11–15
- 11
A penetration tester is reviewing a PHP application that displays user-selected documentation. The URL is: https://example.com/view.php?doc=manual.txt. The tester suspects the application uses the doc parameter directly in an include() statement. Which test would most reliably confirm an LFI vulnerability without relying on a known file path?
Select an answer first - 12
A security team is hardening a PHP application that had an LFI vulnerability. The application must still include user-selected templates from a directory. The team wants to implement a defense-in-depth strategy. Which combination of controls is the most effective?
Select an answer first - 13
A tester has LFI in a PHP application and wants to escalate to remote code execution. The application runs on Apache with PHP. Which file is the most reliable to poison and include?
Select an answer first - 14
A security analyst is responding to an incident where an attacker exploited an LFI vulnerability in a PHP application. The analyst has confirmed that the attacker read /etc/passwd and /var/www/html/config.php. Which additional impact is most likely?
Select an answer first - 15
An attacker exploits an LFI vulnerability to read the file /etc/apache2/apache2.conf. What is the most likely sensitive information the attacker can obtain from this file?
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.