Hackers can Invite Collaborators Without 2FA on Programs Requiring 2FA
A program requiring two-factor authentication (2FA) could still have reports accessed by collaborators without 2FA, because the invitation system did not enforce the program's 2FA requirement. An attacker without 2FA could be invited to a report and accept the invitation, gaining access to sensitive report content.
Originally disclosed on HackerOne
- Disclosed after 15 days
Summary: Hackers can invite collaborators that don't have 2FA enabled in reports sent to programs that require 2FA.
Steps To Reproduce
- Create a new program and enable 2FA.
- Submit a report to that program. Create a new account without 2FA and invite that account as a collaborator to the report.
- The new account will be able to accept the invite.
Impact
This defeats the point of having 2FA enabled as hackers who don't have 2FA can still access the report.
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 collaborator invitation flow did not check whether the invited account had 2FA enabled, even when the program required it.
Impact
This defeats the point of having 2FA enabled as hackers who don't have 2FA can still access the report.
What the attacker needed
A program that requires 2FA; ability to submit a report; a second account without 2FA
How it was found
- Create a new program and enable 2FA.
- Submit a report to that program.
- Create a new account without 2FA and invite it as a collaborator to the report.
- The new account accepts the invitation.
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.
Two-factor authentication (2FA) is an extra login step, like a code from your phone, that makes an account harder to break into. Some bug bounty programs require everyone who can see their reports to have 2FA turned on. This report shows that a person without 2FA could still be added to a report and read it, so the rule was not actually enforced.
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.