Business Logic error leads to bypass 2FA requirement
The platform's 2FA requirement for accessing reports in certain programs was not enforced for invited collaborators. An attacker without 2FA could accept a collaboration invitation and view sensitive report details, bypassing the organisation's security policy.
- Disclosed after 17 days
Hi team,
##Summary I have identified a business logic issue in the 2FA requirement. I noticed that the organization enables the 2FA requirement so that only reporters who have set up 2FA can report, due to security reasons. This is because the report contains sensitive information, and if a hacker's credentials are compromised, the 2FA protection should be in place. This ensures that the vulnerability reported by the hacker remains secure. However, if the hacker adds another hacker as a collaborator, the hackerone does not check whether the invited hacker has set up 2FA or not. The invited hacker can join the report without any 2FA requirement, which contains the same sensitive information that the organization has mandated 2FA to protect. Therefore, it is necessary to ensure that the invited hacker also has 2FA set up. Otherwise, they should not be able to accept the invitation until they set up 2FA. This would ensure that only those hackers who have set up 2FA can access the organization's report.
##Step to Reproduce: Step 1: Create 2 account one with 2FA enable (A) & another without 2FA (B) Step 2: Select Program which required 2FA & allow collabration Step 3: Create Report Using account (A) & add account (B) ass collaborator Step 4: Submit Report Step 5: Observe that invitation sent Successfully Step 6: Now accept Invitation & observe that now you can access the report without 2FA requirement
Impact
Sensitive Information Exposure: The primary objective of implementing 2FA is to secure sensitive information in reports. If a hacker without 2FA is invited as a collaborator, they can access this sensitive information without the additional security layer. This defeats the purpose of having 2FA, leaving sensitive data vulnerable to unauthorized access.
Increased Risk of Data Breaches: If a hacker's credentials are compromised, the 2FA protection is supposed to mitigate this risk. Allowing a collaborator without 2FA exposes the organization to potential data breaches, as the compromised credentials can be used to gain access to reports containing critical vulnerabilities.
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 and acceptance flow did not check the invitee's 2FA status against the program's 2FA requirement.
Impact
A collaborator without 2FA could access sensitive report information, defeating the organisation's 2FA policy and increasing the risk of data exposure if credentials are compromised.
What the attacker needed
Two accounts, one with 2FA and one without; program requires 2FA and allows collaboration; attacker controls the account without 2FA
The fix
The platform should enforce the program's 2FA requirement when a user accepts a collaboration invitation, blocking access until 2FA is set up.
How it was found
- Create two accounts: one with 2FA enabled (A) and one without 2FA (B).
- Choose a program that requires 2FA and allows collaboration.
- Using account A, create a report and add account B as a collaborator.
- Submit the report and observe that the invitation is sent successfully.
- Accept the invitation as account B and observe that the report can be accessed without 2FA.
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 keeps accounts safe even if a password is stolen. Some bug bounty programs require 2FA before you can see their reports because those reports contain sensitive details. This report shows that if someone with 2FA invited a friend to help on a report, the friend could join without ever setting up 2FA, so the protection was skipped.
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.