Skip to content
Account takeover Disclosed report Beginner

Security misconfiguration

A magic login link could be reused multiple times across different browsers, with no limit on its use. If an attacker obtained a victim's magic link, they could log into the victim's account.

Saransh Saraf Follow

Originally disclosed on HackerOne

High 8.8 View original
  • Triaged in 2 days
  • Fixed in 2 months
  • Disclosed after 3 months

Description :

When we request a magic link to login into the application, and use that same link in multiple browsers, it working there isn't any limit on use of link.

Steps to reproduce :

  1. go to app.lemilist.com
  2. create a magic link
  3. use it to login
  4. now open another browser or incognito window
  5. use that same magic link

And You'll be logged in in your account.

Impact

If Attacker gets the magic link of user he can login into victim's account. Account takeover.

Mitigation :

  1. Add a limit to magic link and remove the magic link from database after 1 use.
  2. only allow the Requester IP to login using the magic link.

The original report as published on HackerOne, by mr23r0. 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 magic link token was not invalidated after first use and was not bound to the requesting client.

Impact

If an attacker obtains a user's magic link, they could log into the victim's account, leading to account takeover.

What the attacker needed

Attacker obtains the magic link

The fix

The magic link should be limited to a single use and removed from the database after use, and optionally restricted to the requester's IP address.

How it was found

  1. Go to the application.
  2. Create a magic link.
  3. Use it to log in.
  4. Open another browser or an incognito window.
  5. Use the same magic link again and you are logged in.

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 magic link is a login URL. Here it kept working after use, so anyone who got it could log in as that user. The fix is to make it single-use and tie it to the requester.

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 from lemlist

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.