
EC-CouncilCertified Penetration Testing Professional
Domain 3Objective 1
Web Application Penetration Testing CPENT Practice Questions (Page 8)
Part of the Web and API Penetration Testing domain, which makes up ~15% of our current practice bank.
63questions here
13free pages
16concepts
Questions 36–40
- 36
You are testing a file upload feature that allows users to upload profile pictures. The application checks the file extension and MIME type but does not inspect the file content. You successfully upload a file named 'avatar.php.jpg' and the server executes it as PHP. Which vulnerability is present, and what is the most effective remediation?
Select an answer first - 37
An e-commerce site applies a 10% discount coupon at checkout. You notice that by changing the 'discount' parameter in the POST request from 0.1 to 0.5, the final price is reduced by 50%. The application does not recalculate the discount server-side. What is the most appropriate finding and remediation?
Select an answer first - 38
A tester notices that by changing the quantity of an item to a negative number in a shopping cart, the total price decreases. Which type of vulnerability is this?
Select an answer first - 39
You have completed a penetration test and identified a critical IDOR vulnerability that allows users to access other users' invoices. You also found a business logic flaw that allows users to apply a discount code multiple times. Which remediation guidance is most appropriate for the IDOR vulnerability?
Select an answer first - 40
You are testing a web application and successfully exploit a stored XSS vulnerability. You notice that the application does not log any security-relevant events, such as failed login attempts or admin actions. Which finding is the most critical logging and monitoring gap?
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. “CPENT” is a trademark of its owner, used for identification only.