lemlist · Report #1486327
Security misconfiguration
Validstatus
highseverity
15upvotes
16 May 2022disclosed
How it was found
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 :
- go to app.lemilist.com
- create a magic link
- use it to login
- now open another browser or incognito window
- 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 :
- Add a limit to magic link and remove the magic link from database after 1 use.
- only allow the Requester IP to login using the magic link.