Mass Account Takeover at https://app.taxjar.com/ - No user Interaction
An IDOR in the invitation deletion feature leaked a token that could have allowed an attacker to take over a user's account.
Originally disclosed on HackerOne
- Triaged in 2 hours
- Fixed in 47 hours
- Paid in 22 days
- Disclosed after 47 days
Summary by the program
@beerboy_ankit discovered an IDOR in the user invite link in Taxjar. This could have allowed an attacker to take over a user's account. The vulnerability was caused by a leaked token in the delete invitation request feature and resolved by using the invitation ID instead of the token to look up the user’s invite when deleting an invitation. Validation was added to ensure the ID belongs to the user’s organization.
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 invitation deletion endpoint used a leaked token to identify the invitation without verifying that the token belonged to the requesting user's organisation.
What the attacker needed
Access to the invitation deletion feature
The fix
The issue was fixed by using the invitation ID instead of the token to look up the invite and by validating that the ID belongs to the user's 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.
An IDOR (Insecure Direct Object Reference) is when a program uses a user-supplied identifier to look up a record without checking that the user is allowed to access it. Here, the invitation deletion feature leaked a secret token, and that token could be used to take over someone else's account. The fix was to use the invitation ID instead of the token and to check that the ID belongs to the user's organisation.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.