Skip to content
Access control Disclosed report Beginner

Invitation is not properly cancelled while inviting to bug reports.

Cancelling a pending invitation to a bug report only invalidated the invitation email link, not the access already granted when the invitee accepted. An attacker who accepted before cancellation could still view the bug report despite the inviter believing access was revoked.

boredengineer21 Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 34 days
  • Paid in 34 days
  • Disclosed after 34 days

This issue is a little confusing. So, if you are not able to reproduce let me know i will send you a video to help reproduce the issue.

Reproduction Steps :

  1. Let's say you are User A who is inviting a user B to abug report, User A goes to + sign(adding participants) and adds a email address there.
  2. User B gets an email immediately about an invitation, he accepts it and sees the bug report.
  3. User A after few minutes of sending invitations realizes he made a mistake in email, and cancels the invitation which is still showing pending in his side.
  4. User A is shown a message " The invitation to UserB has been successfully rejected.", he thinks now the User B is not able to see the bug report anymore. But to his expectation, User B can still see the bug report.

So what is happening? When User A clicked on the cancel sign to invitation that showed "pending", the cancel signed only made the invitation send to email invalid. But since user B has already accepted the invitation, User A's clicking on him won't remove User B from the bug report.

So what should have actually happened? When User A clicked on cancel sign to invitation that was showing "pending", it should check if the user B has already join the bug report or not. And if User B hasn't it should make invitation code invalid, and if User B has already accepted and joined the Bug report, it should revoke the User B's access from Bug report.

I hope this clear enough to understand.

The original report as published on HackerOne, by boredengineer21. 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 cancel action only invalidated the pending invitation token and did not revoke the membership that was created when the invitation was accepted.

Impact

A user whose invitation was cancelled could still access the bug report, so the inviter wrongly believed access was revoked.

What the attacker needed

User A can invite participants to a bug report; User B accepts the invitation before cancellation; User A cancels the pending invitation

The fix

The cancel action should check whether the invitee has already joined and, if so, revoke their access to the bug report rather than only invalidating the invitation link.

How it was found

  1. User A adds an email address as a participant to a bug report.
  2. User B receives the invitation email, accepts it, and views the bug report.
  3. User A cancels the still-pending invitation and sees a success message.
  4. User B can still view the bug report after the cancellation.

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.

When you invite someone to a private bug report, the system sends them an email link. If you later cancel the invite, you expect that person to lose access. Here, cancelling only broke the email link, but the person had already clicked it and joined, so they kept seeing the report.

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.

More by boredengineer21

View all

2 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.