Skip to content
Access control Disclosed report Intermediate

Fabric.io: Ex-admin of an organization can delete team members

An ex-admin of an organisation retained the ability to delete team members from that organisation after being removed. An attacker could use a modified request to remove any member from an organisation they no longer belonged to.

satishb3 Follow

Originally disclosed on HackerOne

Bounty$280 View original
  • Triaged in 3 days
  • Fixed in 4 months
  • Paid in 13 days
  • Disclosed after 7 months

When an admin is deleted from an organization, his access rights are not removed properly. This allows an ex-admin to delete team members from the organization.

Before proceeding with attack,

  1. Create an organization with two accounts. Lets say, VictimOrg - Victimadmin, Victimmember

  2. Invite Hackeradmin to VictimOrg and change his role to admin. At this point Hackeradmin can login and grab VictimOrg & Victimmember ids.

    VictimOrg id:54af7e07b8568e8c6a0001e Victimmember id:552787195127ae16b8000987

  3. Delete Hackeradmin from VictimOrg. Now, Hakeradmin is not a member of VictimOrg anymore. Ideally, he does not have rights to access/make changes to VictimOrg. However, he can still delete team members from the VictimOrg.

Steps listed below shows that Hackeradmin can delete Victimmember from VictimOrg:

  1. Log into fabric.io as Hackeradmin.

  2. Navigate to settings->organizations->HackerOrg->Team member link.

  3. Click on x symbol corresponding to Hackermember to remove him from HackerOrg. Intercept this request using burp proxy.

    Proxy shows a similar request as below,

    DELETE /api/v3/accounts/54c1e78b9ea696b3cb00026a/organizations/54aa36e3937ae35559011d17/leave HTTP/1.1 Host: fabric.io

  4. In the intercepted request replace the account id with Victimmember id and org id with VictimOrg id.

    Modified request is,

    DELETE /api/v3/accounts/552787195127ae16b8000987/organizations/54af7e07b8568e8c6a0001e/leave HTTP/1.1 Host: fabric.io

  5. Send the modified request to the server and it removes Victimmember from VictimOrg.

  6. To confirm, login as Victimadmin and look at the VictimOrg team members.

The original report as published on HackerOne, by satishb3. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Root cause

Likely the application did not revoke the ex-admin's permissions or session upon removal, allowing them to perform actions on the organisation.

Impact

An ex-admin could delete team members from an organisation they no longer belonged to.

What the attacker needed

Attacker must have been an admin of the target organisation; Attacker must know the victim member's account ID; Attacker must know the victim organisation's ID

How it was found

  1. Create an organisation with two accounts: a victim admin and a victim member.
  2. Invite a hacker admin to the organisation and change their role to admin.
  3. Delete the hacker admin from the organisation.
  4. Log in as the hacker admin and intercept the request to remove a team member from their own organisation.
  5. Modify the request to target the victim member and victim organisation.
  6. Send the request, which removes the victim member from the victim organisation.

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 report has not been written yet. The Original tab links to the source.

When someone is removed from a team, the system should also take away their ability to change that team. Here, the system forgot to do that, so a removed admin could still delete other members. This is like keeping a key to an office after you are fired.

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 satishb3

View all

12 more disclosed reports, best first.

More from X / xAI

View all

The newest disclosed reports for this program.

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.