A $25 Easy Bug.
After a user deleted their account on the main accounts domain, their existing session on a separate forums domain remained valid, allowing continued posting and other actions. An attacker with a stolen or shared session could keep using the forums even after the account was deleted.
This post is about a security bug i have found in one of the bug bounty program which was very easy to find and accepted by the company which leads to $25 bounty.
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 forums domain did not check account deletion status or share session invalidation with the accounts domain, so old sessions stayed valid.
Impact
A deleted account's session could still be used on the forums domain to post comments and perform other actions, though the report does not show takeover of another user's account.
What the attacker needed
A user account on the site; access to the forums domain
The fix
The issue was fixed according to the report, though the exact fix is not described.
How it was found
- Log in to the accounts domain with a user account.
- Log in to the forums domain with the same credentials.
- Delete the user account from the accounts domain.
- Observe that the forums session still works and can post comments.
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 log in, the website gives your browser a session token so it remembers you. Deleting your account should make that token useless everywhere. Here, the forums site kept accepting the old token, so someone could still act as the deleted user.
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.