Lastpass for assholes. Critical bugs have been identified in the LastPass password manager, extensions for Chrome and Firefox. Adding personal information

Back in the summer of 2016, Google Project Zero specialist Tavis Ormandy sincerely said: “Do people really use this LastPass thing?” Then Ormandy discovered a vulnerability in the code of the LastPass add-on for Firefox 0-day, which made it possible to remotely compromise all user passwords.

Now, almost a year later, the expert has once again decided to put LastPass's security to the test, and, unfortunately, the application cannot be said to have passed the test. Ormandy writes that he discovered a problem in the official LastPass extension for the Chrome browser. According to the researcher, the extension's content_scrip contains a vulnerability that, if attacked, could lead to the compromise of all credentials stored in the application. Moreover, to carry out an attack, the attacker only needs to lure the user to a malicious site.

The researcher explains that the script is only used to access a specific domain on lastpass.com, and if you take a closer look at how it works, it looks like this:

Here, as Ormandy notes, lies the mistake. The script proxies unauthenticated window messages to the extension, which can be dangerous because anyone can do the following:

This will give the attacker full access and force LastPass to execute RPC commands, of which there can be hundreds, but the most dangerous, of course, is the ability to copy and fill passwords. In some cases, this can even lead to the execution of arbitrary code on the user's machine, through the exploitation of openattach. As an example, Ormandy demonstrates running a regular calculator (calc.exe).

LasPass developers, apparently, have already fixed the problem in the Chrome extension by disabling 1min-ui-prod.service.lastpass.com. However, some users note that the server is still running for them, and the vulnerability is still relevant. Users of LastPass for Chrome should probably disable the extension for now and wait for a full patch to be released, as version 4.1.42, dated March 14, 2017, was still vulnerable.

It is worth noting that last week Tavis Ormandy found another very similar bug in the LastPass add-on for Firefox. The vulnerability also allows you to extract all user passwords if he visits a malicious site.

This problem has not yet been fixed. The LastPass developers have already prepared a patch, but the corrected version 3.3.2 is still being reviewed by Mozilla specialists. The LastPass authors also emphasized that the 3.x branch is still considered obsolete, and users are recommended to switch to the more secure 4.x branch.

But LastPass's problems don't end there. Today, March 22, 2017, Tavis Ormandy warned that the LastPass add-on for Firefox contains another bug that allows you to steal other people's passwords for any domain. Moreover, this time the more modern and secure version 4.1.35 is vulnerable. The expert promises to publish the details in the near future.