Cloud Application Security
An API returns an order record for any order ID in the URL, and an authenticated user changes the ID to view another customer's order. Which OWASP API Security Top 10 risk is this?
Show the answer
Correct answerB. Broken object level authorization
AWhy not this: The user logged in legitimately; the weakness is in access checks, not identity proof.
BWhy this is right: The API fails to verify the caller's right to the specific object, letting IDs be swapped.
CWhy not this: This risk concerns excessive requests or resource use, not access to other users' data.
DWhy not this: This involves the server fetching attacker-chosen URLs, which is not occurring here.
The user is authenticated, but the API does not check whether that user may access the specific object requested; this is broken object level authorization. Broken authentication concerns weak identity verification, which is not the flaw here.