API security
API security: protecting programming interfaces
API security is the protection of the interfaces through which mobile apps, frontends and services talk to each other. Today most traffic and most attacks go through APIs.
The most common problem is BOLA. The server does not check whether the requested object belongs to the user, and returns someone else's data when an identifier is swapped.
How it works
- Inventory: which APIs exist, including forgotten and shadow versions.
- Check authorization at the object and function level.
- Limit request rates and the volume of returned data.
- DAST driven by the OpenAPI specification and manual testing of the logic.
Tools
OWASP ZAPNucleiPostman + testsBurp Suite
Questions and answers
Which standard should I use for APIs?
OWASP API Security Top 10 (2023 edition), a list of the most frequent risks, starting with broken object level authorization.