An authenticated user changes the ID in a REST API request and receives another customer's record. Which weakness does this indicate?
Show the answer
Correct answerA. Broken object-level authorization
AWhy this is right: The API fails to verify the caller's right to the requested object, so changing the ID exposes others' data.
BWhy not this: Verbose errors leak implementation details; they are not how another user's record was returned.
CWhy not this: Missing encryption exposes traffic to interception; it does not let a user retrieve another customer's record.
DWhy not this: Rate limiting slows enumeration but does not decide whether a caller may read a given record.
The API returns an object without checking that the authenticated caller is allowed to access it, which is broken object-level authorization. Missing rate limiting could ease bulk enumeration but does not cause the unauthorized disclosure.