GLOSSARY · A WORD, UNPACKED
BOLA
an API that checks the caller is logged in and then returns whatever id they asked for.
A little more detail
Broken object level authorization is the gap between authentication and ownership. The session is valid and the id exists, so the handler returns the record. It never compared the record's owner with the caller. The fix is that compare, and a 403 that does not include the other person's data.
See it in practice
These lessons pair the idea with examples you can change and run.