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

EC-CouncilWeb Application Hacking and Security

Domain 7Objective 1

Local File Inclusion (LFI) WAHS Practice Questions (Page 4)

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 16–17

  1. 16expert · hard

    A development team is remediating an LFI vulnerability in a PHP application. The application must continue to support user-selected language files from the /lang directory. The team has implemented a filter that removes ../ from the input. A security review finds that the filter can be bypassed. Which additional control would be most effective in preventing LFI?

    Select an answer first
  2. 17application · medium

    A security analyst is testing a Java web application that uses a parameter named file to select a report template. The analyst submits file=../../../../etc/passwd and receives an error page. Which observation would most strongly indicate that the application is still vulnerable to LFI?

    Select an answer first
Finished these 2 questions?

Review the revealed explanations, or continue through the curriculum.

No more pagesBack to WAHS

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.