Breaking the Invite: 3 Easy-to-Find Vulnerabilities in invite use
The report describes three logic flaws in an invite-user feature: an IDOR allowing name changes across organisations, a privilege escalation where an admin can downgrade and delete a super admin by re-inviting them with a lower role, and an email lockout caused by deleting an invitation before acceptance combined with missing rate limiting. An attacker could modify other users' profiles, remove higher-privileged users, and lock many email addresses out of the application.
👋 Hello everyone! I hope you’re all doing well.
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 application stores user profile data globally rather than per organisation, and the invitation logic does not check whether the invited email already belongs to a user with a higher role, allowing role overwrite and cross-organisation name changes.
Impact
An admin could downgrade and delete a super admin, change user names across organisations, and lock many email addresses out of the application by automating invitation and deletion due to missing rate limiting.
What the attacker needed
An admin account in an organisation; ability to invite users; victim email address known
The fix
The application should validate that an invited email does not already belong to a user with a higher role, store profile data per organisation, and implement rate limiting on invitations.
How it was found
- Log in as an Admin and go to the User Management page.
- Click 'Add User' and enter the same name and email as an existing Super Admin.
- Assign a lower role such as User and click OK.
- The Super Admin now appears as a User; click delete to remove them.
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.
This report is about a website's 'invite a user' feature. The author found that by re-inviting someone who already has an account, they could change that person's name everywhere and even lower a powerful user's role so they could delete them. They also found that deleting an invitation before it is accepted can lock the invited email out of the site entirely.
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.