Hidden, Persistent Editor: a business-logic flaw I love.
A deleted account could sign back in via Google OAuth and still accept a pending company invite, becoming an invisible Editor with full privileges. The owner could not see this ghost member, yet the account could create invites and perform Editor actions.
medium.com
Published on medium.com
I have a soft spot for business-logic flaws. They don’t rely on flashy memory corruption or exotic payloads — they rely on clever, unexpected user behavior and the way server logic (or its assumptions) handles that behavior.
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 platform did not properly invalidate deleted accounts or their pending invitations, and the membership and visibility systems fell out of sync.
Impact
A deleted account could regain Editor privileges in a company and act invisibly to the owner, potentially creating further invites.
What the attacker needed
A Google account; an invite from a company Owner; ability to delete and re-sign in
The fix
The product team said they will require re-verification for deleted accounts and fix membership sync issues.
How it was found
- Create a test attacker account on the platform.
- Have the company Owner send an invite to the attacker as Editor.
- Delete the attacker account without accepting the invite.
- Sign back in with the same Google email without signing up again.
- Accept the still-pending invite and access the company as an invisible Editor.
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.
When you delete an account on a website, you expect it to be gone for good. Here, the site let the same person sign back in with Google even though the account was deleted, and an old invitation to join a company still worked. The company owner could not see this person in the member list, but the person still had real editing powers.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.