Security

API security: the open back door of modern software

The website looks tidy and the login is secure. But behind the interface, an API politely answers every question, including the one about other customers' data.

Airnite Editorial Team22 November 2026 · 3 min
Published
Reading time
3 min
Author
Airnite Editorial Team

In short

  • APIs are interfaces through which programs exchange data, and they are often less protected than the front end.
  • The most common flaw according to OWASP: the API does not check whether a user may see the requested object.
  • Protection needs a check on every call, a list of all interfaces and limits on requests.

What it is about

Behind almost every modern application sits an API, an application programming interface. The app uses it to fetch orders, the customer portal loads invoices, the ERP talks to the shop. For people this layer is invisible; for attackers it is a menu.

The problem: front ends get tested because you can see them. Interfaces, on the other hand, often answer every formally correct request, even if it comes from someone who should never see the answer.

How it works

Alongside its well-known Top 10 for web applications, the security community OWASP maintains a separate list for APIs, most recently in the 2023 edition. In first place is "Broken Object Level Authorization": the API checks whether someone is logged in, but not whether the requested object belongs to them. Anyone who swaps invoice number 1001 for 1002 in the address then sees another customer's invoice.

Further entries cover weak authentication, too much data in responses, missing limits on requests and forgotten old versions. For token-based sign-in, the IETF defines the framework with OAuth 2.0 (RFC 6749) and published current security rules for it in January 2025 as RFC 9700.

Where it goes wrong

Many teams rely on their own app only making the right requests. But attackers do not use your app; they send the requests directly. Any check that happens only in the front end is therefore no check at all.

Second, interfaces like to return whole records, and the app merely hides what should not be displayed. Everything is still in the network traffic. Third, old versions such as /v1 keep running long after /v3 is in use, without the fixes of the new one.

How to proceed

Create a list of all interfaces with version, purpose and responsible team. On the server, check on every single call whether the user may read or change exactly this object. Return only the fields that are needed. Limit requests per user and period. Switch old versions off after an announced deadline, and have the APIs tested specifically, not just the website.

Read more: OWASP Top 10: the ten most common web risks, clearly explained, Secure software development: what the NIST SSDF requires and What a penetration test really checks, and what it doesn't.

How Airnite helps

Airnite builds interfaces with object checks from the first line and tests existing APIs in a penetration test exactly as an attacker would: directly, without your app, with other people's numbers.

Checklist

Sources

Every fact in this article is based on the following publications. Primary sources are marked.

  1. OWASP FoundationOWASP API Security Top 10 – 2023StandardPrimary source
  2. IETF / RFC EditorRFC 9700: Best Current Practice for OAuth 2.0 SecurityStandardPrimary source
  3. IETF / RFC EditorRFC 6749: The OAuth 2.0 Authorization FrameworkStandardPrimary source

Matching services

Read on

Current incidents and warnings are covered in the Zero Day magazine. Go to the magazine

Want to put this into practice in your company?

We assess your situation and tell you clearly what to do. For businesses, in confidence.

Talk to an expert now