
EC-CouncilWeb Application Hacking and Security
Domain 7Objective 3
Arbitrary File Upload and Download 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 30 practice questions to prepare you well beyond it. (estimate)
30questions here
6free pages
10concepts
Questions 11–15
- 11
A web application has a feature that downloads files based on a 'filename' parameter. An attacker changes the parameter to '../../etc/passwd'. What is the likely vulnerability?
Select an answer first - 12
A developer is implementing file upload validation for a web application. The application should only accept PNG images. Which validation approach is the MOST reliable?
Select an answer first - 13
A web application allows users to upload files, and the server-side validation checks the file extension and the MIME type from the file's magic bytes. However, the application also has a feature that allows users to preview uploaded images by including them in an HTML <img> tag. An attacker wants to achieve remote code execution. Which technique is most likely to succeed?
Select an answer first - 14
A security team is assessing the risk of an arbitrary file upload vulnerability in a legacy web application. The application allows authenticated users to upload profile pictures, and the upload directory is within the web root. The server is running Apache with PHP, and the application does not perform any file type validation. The team must decide the most critical impact to prioritize in their risk assessment. Which impact should be prioritized?
Select an answer first - 15
An attacker successfully uploads a web shell to a vulnerable server. Which of the following is a direct consequence of this action?
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.