Skip to content
Business logic Disclosed report Beginner

Auto Approval of Invitation to join Team as a Team member

When a team manager invited a user who was not logged in, clicking the invitation link and then signing in automatically added the user to the team without showing an accept or reject choice. An attacker could add a user to a team without that user's consent.

h122- Follow

Originally disclosed on HackerOne

  • Triaged in 2 days
  • Fixed in 3 days
  • Disclosed after 11 days

Hi Hackerone,

I have found a vulnerability wherein once a Team manager of any team sends out an Invitation to another Hackerone user to join his team, the invited team member gets auto accepted into the team to which he is being invited to join.

The choice of "Accept" or "Reject" invitation which should have been displayed to the invited hackerone user is not not being displayed and the invited user without his knowledge becomes a Team member of the invited team

The above scenario will only happen when the invited user is not logged into his hackeone account. Once the invited user gets an email notification regarding the invite, he will just simply click on the invitation link provided in the mail.

The link will redirect the user to hackerone page wherein he either has to "Create" new hackerone account or Sign In with an existing hackerone account.

Once the user signs in with existing hackerone account, the automatically becomes a Team member of the invited team

Vulnerability:

The invited hackerone user should have been directed to a page where he should decide to 'Accept' or 'Reject' the invitation. But since the above page was not being displayed, he became a member even though he didn't wanted to be or he wanted to reject.

Hope this is clear enough. Do note that the above scenario only works if the invited hackerone user is not currently logged into Hackerone when he received the invitation.

Regards, Vivin Joseph

The original report as published on HackerOne, by h122-. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 flow did not preserve the pending invitation state across the login step, so signing in completed the join action automatically instead of showing a confirmation page.

Impact

An invited user could be added to a team without their consent, though the issue only occurs when the user is not logged in at the time of the invitation.

What the attacker needed

A team manager sends an invitation; invited user is not logged in; invited user clicks the email link and signs in

How it was found

  1. A team manager sends an invitation to another user.
  2. The invited user is not logged in and receives the invitation email.
  3. The user clicks the invitation link in the email.
  4. The user is redirected to a page to create an account or sign in.
  5. The user signs in with an existing account.
  6. The user is added to the team without being shown an accept or reject option.

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.

A team invitation should let the invited person decide whether to join. Here, if the person was logged out when they clicked the email link, signing in skipped that choice and added them to the team straight away. This means someone could be made a member of a team they never agreed to join.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.