Skip to content
Access control Write-up Beginner

***How I Exposed 1,900+ Partner Records on a Global API via Broken Access Control***

The API endpoints lacked authorization checks, allowing unauthenticated users to retrieve JSON lists of about 1,960 partner records and internal staff profiles. An attacker could access sensitive business data, employee identifiers, and internal hostnames and ports.

Hamza Follow

Published on medium.com

During a security assessment of a public API infrastructure, I identified a significant Broken Access Control (BAC) vulnerability. The system was unintentionally exposing sensitive business records, employee data, and internal infrastructure details to unauthenticated users, acting more like an open directory than a…

Hamza, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the API endpoints were missing authentication and authorization checks, so they returned data to any requester.

Impact

Unauthenticated users could access partner metadata, employee identifiers, and internal hostnames and ports, which could aid phishing and internal reconnaissance; the text does not say whether any defence limited the exposure.

What the attacker needed

No authentication required; knowledge of the API endpoint URLs

The fix

The engineering team patched the endpoints, and the report was marked as resolved.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

An API is a way for programs to talk to each other. Here, the server did not check whether the person asking for data was allowed to see it, so anyone who knew the web address could read private business and staff information. This is like leaving a filing cabinet unlocked in a public lobby.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Hamza

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.