API Security · Learn

OWASP API Security Top 10 (2023).

The community-maintained risk list for APIs. The 2023 revision moved authorization to the top because that is where the high-impact failures actually live in production APIs.

API Security · LearnAPI Penetration Testing
TL;DR

The OWASP API Security Top 10 is a list of the ten biggest security risks for APIs. OWASP (the Open Worldwide Application Security Project) is the non-profit that maintains it, and most security teams treat it as the starting checklist. The 2023 version moved the access-control risks to the top, because that is where real-world breaches happen most, and it added two new ones: APIs that let callers use too many resources, and APIs that blindly trust the other APIs they call.

By Shubham Khandare, Delivery Manager, SecureLayer7Updated

What is the OWASP API Security Top 10?

OWASP, the Open Worldwide Application Security Project, is the non-profit behind the most-used security risk lists for software. The OWASP API Security Top 10 is their list for APIs, the REST, GraphQL, and gRPC interfaces that modern apps expose.

Why a separate list for APIs? Because APIs fail in different ways than web pages. Each API endpoint checks permissions on its own. API responses are neat, structured data that a script can scrape fast. And one flaw in an API often exposes far more data than the same flaw on a web page.

The first edition came out in 2019. The 2023 edition is current, and it reflects how API attacks changed over those four years.

What are the ten risks in the 2023 list?

What changed between the 2019 and 2023 lists?

The big shifts:

  • Access control moved to the top. Broken Object Level Authorization is now API1, ahead of authentication. This matches what breaches show: login is usually present and roughly right, but access checks are where mistakes pile up.
  • New: Unrestricted Access to Sensitive Business Flows (API6). Not the same as a missing rate limit. This is for flows, like buying, transferring, or signing up, that need more than rate limits to protect.
  • New: Unsafe Consumption of APIs (API10). APIs lean on other APIs more and more. If the API you call is compromised, or sends back attacker-controlled data, your trust in it backfires.
  • Object access and property access split apart. API3, Broken Object Property Level Authorization, is now its own entry. Same root cause as API1, different fix.

How does SecureLayer7 use this list?

As a coverage map, not a tick-box list. Every engagement starts with one question: which of these ten apply to this API? An internal admin API has a different scope than a public consumer API. A read-only API can often skip API6.

For each category in scope, we run a set of payloads and requests aimed at the real endpoints, then hand-build follow-up attacks wherever one half-works. The report shows per-category coverage, so an auditor can see which API risks were checked.

References

  1. [1]OWASP API Security Top 10 (2023)(OWASP)
  2. [2]OWASP API Security Project(OWASP)
  3. [3]OWASP Top 10 (2021)(OWASP)
  4. [4]MITRE ATT&CK for Enterprise(MITRE)
Related terms

Common questions

OWASP API Top 10, asked often

Need an API-focused engagement?

Scope an engagement

Map your API to the OWASP API Top 10.

We scope engagements against the API Top 10 categories that actually apply to your specific API, run real attacks against each, and deliver a per-category report your security and audit teams can use.

See the methodology30-min scoping call, fixed-price proposal in 48 hours.