Skip to content
Access control Write-up Beginner

How I Found That a “Disabled” Export Button Doesn’t Actuall

A booking management platform let admins disable customer data export for low-privilege staff, but the restriction was only enforced in the front-end UI. A staff member could send the export request directly to the API and receive up to 1,000 customer records including names, emails, phone numbers and revenue data.

default_0x Follow

Published on medium.com

I was doing some routine testing on a booking management platform when I stumbled onto something that made me do a double take. An admin had turned off the customer data export feature for a low-privilege staff role.

default_0x, 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

The server did not check the user's role permissions before returning export data; the restriction was implemented only by hiding the button in the UI.

Impact

Any staff member who can replay the request could download up to 1,000 customer records per request and loop through the entire database, exposing names, emails, phone numbers and revenue data without the admin knowing.

What the attacker needed

A low-privilege staff account; export permission disabled for that role; ability to send HTTP requests directly

The fix

The server should check the user's role permissions before returning export data and respond with 403 Forbidden when export is disabled for that role.

How it was found

  1. Log in as a staff account whose export permission has been disabled and confirm the export button is absent.
  2. Use a proxy to capture or craft the export API request.
  3. Send the export request directly to the API with the low-privilege session.
  4. Observe HTTP 200 and a full list of customer records in the response.

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.

A website has two parts: the front end (what you see and click) and the back end (the server that actually holds the data). Here, the company hid the export button in the front end but never told the back end to refuse the request. So anyone who can send a request directly to the server, for example with a browser's developer tools or a proxy, can still get the data.

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 default_0x

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.