Attacks and Exploits
A tester changes invoice_id=1001 to invoice_id=1002 in a URL and sees another customer's invoice. Which weakness does this show?
Show the answer
Correct answerB. Insecure direct object reference
AWhy not this: Traversal uses ../ sequences to reach files outside a folder; this changed a record identifier.
BWhy this is right: Changing the identifier reaches another user's object because the app skips an ownership check.
CWhy not this: SSRF makes the server fetch attacker-chosen URLs; no server-side request is involved here.
DWhy not this: CSRF tricks a victim's browser into sending an unwanted request; the tester here sent the request directly.
The app uses a user-controlled identifier to reach an object without checking that the user owns it, which is an insecure direct object reference. Directory traversal changes file paths, not record identifiers.