MediumScenarioAppSec and OWASP scenarios
Mass assignment lets users set isAdmin through a profile update. Fix it.
This answer is part of Pro
40 of 298 Cybersecurity answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousFile upload feature lets users upload documents. List the risks and controls.Next What is the purpose of threat modelling and what is STRIDE?
More on AppSec and OWASP scenarios
Flashcards for this topic- MediumA pen test finds that changing /api/orders/123 to /124 shows another user's order. What is it and how do you fix it?
- MediumA search page reflects input into HTML and an attacker steals session cookies. Describe the defences.
- HardYour API accepts a URL to fetch images and an attacker reaches the cloud metadata endpoint. What is the attack and mitigation?
- MediumHow does parameterised querying prevent SQL injection?