3 ms·
Very simply, I have a password stored for "login.example.com". LastPass knows that companies like to change URLs - so next week it might be "userlogin.example.
by edent 10y ago
Very simply, I have a password stored for "login.example.com". LastPass knows that companies like to change URLs - so next week it might be "userlogin.example.com" or "secure.example.com/login" or "www2.uk.vpn1.example.com" etc.
Essentially, LastPass made the mistake of writing code which said "If you see `example.com` anywhere in the URL - assume that you're on the right site.
LastPass will allow you to automatically fill in the username and password as soon as you visit a site (I think this is an optional feature).
An attacker convinces you to visit "badsite.wtf/@example.com/". LastPass sees the "example.com" and autofills the password field. The site has some JavaScript to detect the filled in details - and steals them.
- giuscri 10y agoOk, when is ever used a @ in the middle of url? I've never seen it. Also, what's the return value of the funcion?, and why are there 2 variable named URL?
- nchelluri 10y agohttp://user:password@example.com http://user:password@example.com is valid syntax to supply u/p. Also, I suspect uri is first used up above in code we're not shown.