MediumScenarioAppSec and OWASP scenarios
A JWT-protected API accepts tokens with alg none. What went wrong?
This answer is part of Pro
40 of 298 Cybersecurity answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousHow does parameterised querying prevent SQL injection?Next Dependency scanner flags a critical CVE in a transitive library. How do you triage?
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?