Skip to content
Access control Write-up Beginner

From a Simple Export Button to Full Data Exposure — Discovering

The export data feature accepted a client-supplied team identifier without checking whether the requesting user was authorised to access that team's data. A low-privileged employee could therefore export sensitive internal information belonging to higher-privileged teams.

Dedrknex Follow

Published on medium.com

The target was a SaaS collaboration platform used by organizations to manage teams, projects, and internal communication.

Dedrknex, 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 export feature relied solely on a client-supplied team identifier without performing server-side authorisation checks.

Impact

A low-privileged employee could extract private data belonging to executive or restricted teams, potentially leading to data leaks and exposure of confidential communications.

What the attacker needed

A low-privileged account on the platform; access to the export data feature

The fix

The export feature should perform the same server-side authorisation checks as other endpoints before returning any team's data.

How it was found

  1. As a member of a lower-privileged team, confirm that basic access control blocks access to higher-level teams.
  2. Intercept the request sent when initiating a data export and note the team identifier parameter.
  3. Replace the team identifier with the ID of a higher-privileged team and send the request.
  4. Observe that the server returns a downloadable file containing the higher-privileged team's data.

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.

The platform lets people in different teams see different amounts of data, and it normally checks that you are allowed to see a team's information. The export button, however, did not perform that check, so changing the team number in the request let a low-level user download files belonging to senior teams.

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 Dedrknex

View all

3 more disclosed reports, 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.