broken object level authorization

An API flaw where changing an identifier in a request, such as /tasks/2 instead of /tasks/1, lets a caller reach an object that belongs to someone else.

Guessable identifiers expose every user’s objects to every other user.

In more detail

It is first in the OWASP API Security Top 10. Every handler that takes an identifier must check that the authenticated caller may use that particular object.

Related terms

Taught in

References