Skip to content
CSRF Disclosed report Beginner

CSRF to make any user accept the invitation to the team

Accepting a team invitation was performed via a GET request, so an attacker could craft a link that makes a logged-in user join a team without their intent. The impact is low, but it can force a user to accept an invitation they did not want.

albatraoz Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 21 hours

#Description: The victim can be tricked into accepting the invite as a normal GET request is sent while accepting the request.

#Steps to reproduce Make an html page using the following code:

<a href="https://liberapay.com/test/membership/accept">click here</a>

Change" test" with your team mate.

Impact

The impact is low but still it can make a user to accept the request even if he wanted not to.

The original report as published on HackerOne, by albatraoz. 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 acceptance endpoint used a GET request without a CSRF token, so a simple link could perform the action.

Impact

A logged-in user could be made to join a team against their wishes, though the impact is low.

What the attacker needed

Victim is logged in; victim clicks a crafted link

How it was found

  1. Create an HTML page containing a link to the team invitation acceptance URL, replacing the team name with the target team.
  2. Get the victim to click the link while logged in, which sends the GET request and 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.

When you click a link, your browser sends a request to the website. If that request changes something on your account, like joining a team, another site can trigger it just by getting you to click a link. This is called cross-site request forgery (CSRF): the site trusts the request because it comes from your browser, even though you did not mean to do it.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by albatraoz

View all

5 more disclosed reports, best first.

More from Liberapay

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.