Slide 27 of 28
QuizSlide 27
Slide 27 · Quiz
Five questions on Unsafe Consumption of APIs.
1. In the Ticketmaster / Magecart / Inbenta incident (2018), how did the attackers steal payment card data from Ticketmaster customers?
2. An API consumes a third-party address validation service. The service returns the canonical address as a string. The API inserts this string into a SQL query using string concatenation rather than parameterized queries. A compromised third-party returns SQL injection in the address field. What API10 mitigation would have prevented this?
3. Which HTML attribute on a script tag allows a browser to verify the integrity of a third-party CDN script before executing it?
4. An API follows all redirects returned by a trusted OAuth identity provider. An attacker compromises a subdomain of the identity provider and returns a redirect to http://169.254.169.254/latest/meta-data/. The API follows the redirect and retrieves IAM credentials. Which mitigation addresses this?
5. What is the fundamental difference between input validation applied to user data vs. third-party API responses in most API implementations — and what does OWASP API10 say about this?
← Back Finish module →