MediumConceptAppSec and OWASP scenarios
How does parameterised querying prevent SQL injection?
This answer is part of Pro
40 of 298 Cybersecurity answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousYour API accepts a URL to fetch images and an attacker reaches the cloud metadata endpoint. What is the attack and mitigation?Next A JWT-protected API accepts tokens with alg none. What went wrong?
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?
- MediumA JWT-protected API accepts tokens with alg none. What went wrong?