Menu

IDOR vulnerability: a local example with PUT and DELETE
📰

IDOR vulnerability: a local example with PUT and DELETE

DEV Community: appsec·Vladimir Osipov·5 days ago
#wPyFmk3B
#devtoappsec#devto#dev#invoices#server
Reading 0:00
15s threshold

IDOR vulnerability: a local example with PUT and DELETE

An IDOR vulnerability (insecure direct object reference) lets a signed-in user act on another user's record by sending that record's ID. In a small local invoices API, a second user listed, edited and deleted the first user's invoices. Replacing numeric IDs with UUIDs did not stop the attack, because a list endpoint returned every ID. An ownership check on each method stopped all of it.

This is a scripted Python and curl experiment with downloadable source and responses. No AI agent or model ran the test.

On this page: What it is · Scope · Reproduce the run · Observed results · UUIDs · Verify the finding · Fix and retest · Evidence · Limits

What an IDOR vulnerability is

The OWASP IDOR Prevention Cheat Sheet defines IDOR as a flaw that arises when attackers can access or modify objects by manipulating identifiers in URLs or parameters.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.