browserpass / browserpass-legacy

Legacy Browserpass repo, development is now happening at:
https://github.com/browserpass/browserpass-extension
MIT License
1k stars 80 forks source link

[SECURITY] Credential leak vector #230

Closed erayd closed 6 years ago

erayd commented 6 years ago

224 introduces a credential leak via HTTP basic authentication.

In order for credentials to leak, all of the following conditions must be true:

If all those are true, then the credentials of the launched site will be invisibly provided to the modal authentication request.

This scenario can occur in two ways:

  1. A site is launched which does not require modal authentication; or
  2. A site is launched which does require modal authentication, but has already been authenticated, so the auth request never occurs.

I apologise for this oversight - this is my fault. I will submit a PR that fully closes this vector ASAP, and within the next 24 hours.

In the meantime, in order to avoid the vulnerability, users should not launch sites via the browserpass extension unless they know that a basic auth request will occur before they navigate away from the site, or they should ensure that any navigation away from a browserpass-launched site occurs in a different tab.

maximbaz commented 6 years ago

Fix merged in 2.0.16, it is published in both webstores now.

erayd commented 6 years ago

@maximbaz Thanks very much - I really appreciate your speedy review and merge to help get my mess cleaned up quickly.