Research

API authorisation flaws: the gap between “authenticated” and “authorised”

“Our API requires authentication” is one of the most common reassurances we hear during scoping calls — and it's almost never the question that matters.

Published29 Jul 2026
Reading time5 min read

Authentication tells you who someone is. Authorisation tells you what they're allowed to do. The two get conflated constantly, and the gap between them is where most of our high-severity API findings come from.

Why authentication isn't authorisation

A valid token or session cookie proves identity. It says nothing about whether that identity should be able to view invoice #4821, delete another team's project, or call an admin-only endpoint. An API can have flawless authentication — properly signed tokens, short expiry, MFA on login — and still leak every customer's data to every other customer, because nothing on the server checks ownership before returning the record.

Common patterns we see in the wild

The most frequent version is straightforward object-ID enumeration: increment a numeric ID in the URL, get back someone else's data. Slightly less obvious is function-level authorisation — a regular user calling an endpoint that was only ever meant to be reachable from the admin panel, because the endpoint itself never checks the caller's role. Both are trivial to exploit once found, and both routinely slip past automated scanning because the request looks entirely legitimate.

How we test for it

This is inherently manual work. We map out every role and tenant boundary the application is supposed to enforce, then systematically try to cross those boundaries — viewing another user's data, calling another role's endpoints, acting across tenants. A scanner can tell you an endpoint exists and returns a 200. It can't tell you that the 200 shouldn't have happened for that particular user.

The most dangerous authorisation flaws don't look like attacks. They look like a normal, valid request — for the wrong resource.

If your last security review focused on authentication — SSO, MFA, token handling — and didn't specifically test authorisation boundaries between users, roles and tenants, there's a good chance this is where your next finding is waiting.

Keep reading

More field notes

Website Development6 Oct 2026 · 7 min read

How much does a website cost in Egypt, and how long does it take?

A focused business website takes 3–5 weeks. Here is what moves the price, and what to ask before you sign.

Read article
Software Development6 Oct 2026 · 7 min read

Custom software or off-the-shelf? How to decide, and what a custom build involves

Buy when your process is standard; build when it is your advantage. A first release usually takes 10–16 weeks.

Read article
Mobile App Development6 Oct 2026 · 7 min read

Native or cross-platform? A practical guide to building a mobile app

Most business apps are best built cross-platform. A first release usually takes 8–12 weeks, including the backend.

Read article
E-commerce6 Oct 2026 · 7 min read

How to launch a secure online store in Egypt: platforms, payments and shipping

Pick the platform by catalogue size and how custom your checkout is. A secure store usually takes 5–8 weeks.

Read article
Cyber Security6 Oct 2026 · 7 min read

How much does a penetration test cost, and what should it include?

Cost follows scope: the number of apps, roles, APIs and IPs. A single web app usually takes 5–10 testing days.

Read article
Pen Test Debrief12 Aug 2026 · 6 min read

Three ways we still get into “PCI compliant” web apps

A walkthrough of the logic flaws and misconfigurations that keep showing up in engagements, despite a clean compliance report.

Read article
Incident Response5 Aug 2026 · 5 min read

What the first 60 minutes of a ransomware incident actually look like

Containment decisions, stakeholder communication, and the mistakes that turn a bad day into a bad quarter.

Read article