Is changing an object ID enough to identify an IDOR vulnerability?
I've been trying to understand IDOR properly, and there's one thing I think beginners can easily misunderstand. When we hear about IDOR, the usual explanation is to change an object ID in a request and see whether another user's data becomes accessible. But is that really enough? For example, imagine an application has a request like: "GET /api/account/1001/profile" Changing "1001" to "1002" might return a response. However, that alone doesn't prove an IDOR exists. The important questions are: - Does the resource actually belong to another user? - Is the server checking whether the current user is authorized to access it? - Can an unauthorized user view or modify the resource? - Does the
…