Should you be concerned about LastPass uploading your passwords to its server?
The LastPass browser extension exposes an API that returns the user's local encryption key to pages on lastpass.com or lastpass.eu, and this API is unlocked by clicking a link in a server-controlled breach notification. A malicious server or rogue insider could therefore send a crafted notification, get the user to click it, and receive the key needed to decrypt all stored passwords.
Published on palant.info
2019-03-18 Lastpass/Security/Password-Managers 6 mins
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the extension trusts server-provided web pages and unlocks its key-export API on a server-controlled action (a breach notification link), so the server can obtain the decryption key.
Impact
A malicious server operator or rogue insider could obtain the key and decrypt all of a user's stored passwords, though the text notes the fix adds extra text to the notification that only slightly limits social engineering.
What the attacker needed
Victim uses LastPass extension; victim clicks a server-sent link; server or insider controls notification
The fix
The issue was reported and considered resolved in LastPass [redacted], but the author notes the server can still send freely chosen notification text and clicking still gives it access, so the design should be changed to keep the extension's interface self-contained.
How it was found
- The server sends the user a breach notification with attacker-chosen text and a link.
- The user clicks the link, which unlocks the keyplug2web API for the page.
- The page calls the API and receives the local encryption key.
- The page downloads the encrypted vault data and decrypts it with the key.
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 write-up has not been written yet. The Original tab links to the source.
A password manager keeps your passwords locked in an encrypted vault, and the key to that vault normally stays on your own device. Here, the browser add-on would hand that key to a web page when the user clicked a link in a message the company's own server had written. That means whoever controls the server could get the key and read every stored password.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.