Skip to content
CSRF Disclosed report Beginner

Same CSRF token is being used for deleting other platform login’s within an account and across other liberapay Account’s

The reporter observed that the same CSRF token value was reused when deleting linked third-party platform logins, both within one Liberapay account and across separate accounts. The text does not demonstrate that an attacker could actually perform a cross-site request forgery; it only notes the token reuse.

mah1ndra Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Disclosed after 39 hours

We’ve got “Accounts Elsewhere” option in the profile section. where we can connect our liberapay account with multiple other platform accounts.

While deleting those Multiple other platform accounts same CSRF token is being used.

I’ve signed up with a couple of liberapay accounts. Where I found the using of same CSRF token within the account and across other accounts.

Impact

In the first account in "Accounts ElseWhere" section, I've logged in with Google+ account successfully and while deleting the account I got CSRF token = J0Lk5iXTpp40iDN5KNcrI24bulPcF0PV Next, I found the same CSRF token is being during deleting all other available other platform logins.

I've created another liberapay account and in "Account ElseWhere" section. I've logged in with my Facebook account and while deleting it I came across same CSRF token used in other account = J0Lk5iXTpp40iDN5KNcrI24bulPcF0PV.

So, I'Ve found same CSRF token is being used for deleting other platform accounts within a liberapay account and across liberapay accounts.

I'm dropping the POC video below.

The original report as published on HackerOne, by mah1ndra. 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 application generates or caches a single CSRF token value rather than issuing a fresh, per-session or per-request token.

Impact

The report claims token reuse but does not show that an attacker could forge a deletion request, so the practical impact is unproven.

What the attacker needed

A Liberapay account; a linked third-party login

How it was found

  1. Sign up for a Liberapay account and open the Accounts Elsewhere section.
  2. Connect a Google+ account and start deleting it, noting the CSRF token value.
  3. Delete other linked platform logins and compare the token values.
  4. Create a second Liberapay account, connect a Facebook account, and compare the token on deletion.

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 CSRF token is a random value a website puts in forms so that another site cannot silently submit actions on your behalf. If the same token value is reused everywhere, it may weaken that protection, but reuse alone does not prove an attack works. This report only shows the token looked identical in several places.

What is CSRF?

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

More by mah1ndra

View all

1 more disclosed report, 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.