Skip to content
Account takeover Disclosed report Beginner

Liberapay Non Verified Account Takeover with signup feature

A newly created Liberapay account could be accessed by anyone who knew the email address, because signing up again with the same email logged the attacker straight into the existing unverified account. This allowed unauthorised access to accounts that had not yet been verified and had no password set.

khizer47 Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 13 hours

Hi,

So i saw a strange behaviour of your web on signup feature when that can be escalated to Account Takeover but for limited timeline,

#Issue: When a New user signup for an account on https://en.liberapay.com/ he have to enter his email address only and it doesn't say anything about sending a confirmation/verification email to the user. and thus user gets login to his account, and also as there is an option for user to chose not to use a password for his account user account can be compromised

#POC:

  1. Go to https://en.liberapay.com/sign-in?back_to=/
  2. in "Create Your account" Field add your email address
  3. You will be logged into your account
  4. You will also receive a Verification email ( But no need to open it or use that link )
  5. Now if you go again to https://en.liberapay.com/sign-in?back_to=/ and in login field enter your email ( No password needed as your account don't have a Password yet )
  6. after you press login you will see a message saying

We've sent you a single-use login link. Check your inbox, open the provided link in a new tab, then come back to this page and click on the button below to carry on with what you wanted to do. 7) Now this means that you will have to get the URL send to the email but this can be bypassed 8) go to https://en.liberapay.com/sign-up and enter the email Address of that account 9) You will see that you will be in that account

#Fix Maybe: This can be fixed by not letting user login without Verification and also make sure again the same email can't be used

#NOTE: this will not work with verified accounts also if someone signup for your email after you did for 1st time he will get access to your account but if he tried 2nd time he will get an error saying A verification email has already been sent to [email protected] recently. But this can be bypassed by waiting for like 2-3 hours i have tried like 3 times and if a user is verified the error will be like [email protected] is already connected to a different Liberapay account.

#Video POC:

https://www.youtube.com/watch?v=P-76XHx-GkE&feature=youtu.be

Impact

unauthorized person can get access to user account by knowing their email if user account is not verified and have no password set by using signup feature

The original report as published on HackerOne, by khizer47. 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 sign-up flow treated an existing unverified email as a new login and issued a session without requiring proof of email ownership.

Impact

An unauthorised person who knows a victim's email could gain access to that account, but only while it remains unverified and has no password set.

What the attacker needed

Victim's account is unverified; victim has no password set; attacker knows victim's email

How it was found

  1. Open the sign-in page and enter an email address in the create-account field.
  2. Observe that you are logged in and a verification email is sent but not required.
  3. Return to the sign-in page and enter the same email without a password.
  4. Note the single-use login link message that is meant to be required.
  5. Go to the sign-up page and enter the same email address again.
  6. Observe that you are placed into the existing account.

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 create an account on a website, the site usually sends a link to your email to prove the address is yours. Here, the site let someone log in just by typing an email address into the sign-up form, without proving they owned it. So if an attacker knew your email and you had not yet confirmed your account, they could get into it.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by khizer47

View all

13 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.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.