January 3, 2018

Comments

  1. Anything that adds usability overhead to password manager auto-fill feels like a challenging proposal. (And user opt-out is always a relatively ineffective control to mitigate systemic issues like this.)

    But what about auto-applying the write-only property to a form as soon as it’s been auto-filled? In other words, once the browser has auto-filled a field, the field is considered to be in a locked-down state with no further DOM access. That could create some publisher pain for those who are using JS to access the email field in legit ways to instrument a better login form, but that would be putting the burden on a small class of websites, and not on users using auto-fill.

    • Gunes Acar says:

      That sounds like an interesting idea to explore. One can imagine autofilled credentials are not needed to be checked for password strength or duplicate usernames – common cases of legit script access to login forms. Still, one needs telemetry or web measurement data to back this up.

      The question is whether browsers will ever ship write-only elements or similar protections 🙂

  2. Here, firefox addon Privacy Badger (PB) immediately flagged rawgit.com as a tracker and blocked the sniffer script. Probably it was known before? Sadly, it is not really an option to recommend PB: users do enjoy the faster page-loads, but when a site breaks, and that can happen, they are clueless at first, and then annoyed by the fact, that PB cannot read their minds and so they have to manage something; even though the PB interface is quite easy to use, IMO.

  3. Jeffrey Goldberg says:

    Disclosure: I work for AgileBits, the makers of 1Password.

    1Password is not vulnerable to this attack specifically because we have never allowed for “automatic autofill”. (Despite strong user request for such a behavior.) 1Password will automatically fill a form on the user’s command, but never without some user action.

    We’ve required user action precisely because we consider the web page to be a very hostile environment. What David Silver refers to as “sweep attacks” have been known about both in theory and practice for quite some time. But even prior to learning of those, we felt that user action should be required.

    Here is something I wrote in 2014 in response to some of the many customer requests for more automated behavior.

    https://discussions.agilebits.com/discussion/comment/153916/#Comment_153916

    • Kevin Blake says:

      That was what I thought when I read about this on BGR, but they specifically called out 1Password and LastPass browser plugins:
      “To quickly fill in usernames and passwords saved in a password management app like 1Password and LastPass, you have probably installed browser addons. It’s those tiny browser apps that are targeted by scripts.“

    • Anonymous says:

      If the 3rd party script is on a login page (which happens less according to the analysis, but still happens), a user might use the 1Password keyboard shortcut to fill in the legitimate form. Will 1Password fill in the credentials into the fake form too?

    • Donald Wardlaw says:

      1 password does indeed autofill some sites I go to, including banking sites. I don’t understand Goldberg’s comment

      • Anonymous says:

        You must have had some other password manager (most likely that built-in to the browser) save those passwords if they’re being filled with no interaction on your part. 1Password indeed does not fill anything until you ask it to. It has no option to autofill a password upon page load.

  4. I’ve tried the demo, but after sending the fake e-mail/password I’ve got an error page (404) only…
    At the next try it was working, but the result is two question marks 🙂
    (I use Firefox with NoScript addon)
    But you’re right, if I allow running JS from rawgit, then it can steal my e-mail-password couple.
    It is a little bit scarie… 🙁

  5. Per the 1Password comment above, would something like LastPass, with autofill enabled, also be vulnerable? I am guessing it would be.

  6. Craig Lurey says:

Speak Your Mind