8 ms·
Autofill abuse allows websites to grab sensitive userdata
several browser, leak vcards and userdata through their autofill feature - i am happy about any support and comments!
- rmoriz 15y agowell, at least it requires explicit user action. If I enter my real name somewhere, I'm probably fine with providing my phone and post address, too. When in doubt I use a fake identity. what about chrome's credit card autofill?
- Lewton 15y ago>If I enter my real name somewhere, I'm probably fine with providing my phone and post address, too. Aye. But when I enter my email adress somewhere, I don't necessarily feel comfortable giving them my real name + phone number
- Jgrubb 15y agoI always wondered about this. Also, wouldn't it be really easy to have a form pull autofilled CC info via ajax without even needing the user to hit submit?
- alanbyrne 15y agoI was just wondering the same thing, using the onchange action.
- ceejayoz 15y agoIf I'm remembering correctly, Chrome's autofill doesn't fire change events for the fields. Has annoyed me from a developer standpoint at times, but the reason behind it is valid.
- mattstreet 15y agoThough to grab this info with ajax it doesn't have to fire off an event when the auto-complete changes it. It could just check every second itself if the form changed and if so send off the info.
- eli 15y agoIf all web developers set autocomplete="off" on their CC forms this wouldn't be an issue. But if it were up to me, browsers would refuse to remember numbers that "look like" credit cards and match the checksum. Does autocomplete even trigger on HTTPS forms? Maybe this isn't even that big an issue in the wild.
- ArekDymalski 15y agoNice find - you've noticed important threat. However on my Chrome (despite having autofill swithced on) your demo doesn't work.
- ydant 15y agoIt, sadly, does on my install of Chrome (18.0.1025.113 beta) - Linux 32 bit.
- wglb 15y agoYou probably want to upgrade to the .151 version, which fixes other vulnerabilities as well.
- ianterrell 15y agoI'm on that version (18.0.1025.151) on OS X 10.7.3 and the vulnerability was present for me.
- wglb 15y agoAnd after I wrote the above comment, I tested it and I am as well, on Linux. The fun thing about this type of vulnerability is if you know the user's name, you can build an invisible form component to get the browser to spill the stored password.
- ladino 15y agois autofill enabled? - i even tested it on Chrome 19 and the bug is still there!
- Kadrith 15y agoI have autofill enabled with Chrome 19.0.1081.0 on Windows 7 and it did not fill the hidden fields. I have an update pending for Chrome, maybe it will reintroduce the issue.
- k33n 15y agoUsing Chrome 18.0.1025.151 and it doesn't seem to be susceptible to this.
- wgx 15y agoSame build here (on OSX 10.7.3) and it does indeed pre-populate the hidden fields for me.
- ladino 15y agousing 19.0.1084.15 beta + OSX + still vulnerable
- stordoff 15y ago19.0.1084.15 on Windows 7 populated the hidden fields.
- mattmanser 15y agoI hope I'm not teaching you how to suck eggs, but you have to type something into the name field and it has to be a name you've used before.
- babarock 15y agoThis raises another issue I have been concerned with for a while. The WWW model is broken, namely the use of Javascript. I'm not talking about the language itself, it has been getting enough love lately as it is. Just the idea of a webserver sending me code, obfuscated code at that [1], that my browser executes by default; how did this idea prevail on the web, I wonder. Am I the only one to see the horrendous security flaw? "Come to my website, I'll distract you with my pretty pictures while my code roams freely on your computer[2]". [1] - I know obfuscation is minification meant for minimizing bandwith consumption. It's still obfuscated code, despite best intent. [2] - I understand that the code execution is sandboxed inside the web browser, but really is it at all possible that, you know, these guys let the occasional security flaw slip?
- omgtehlion 15y agoJavascript has nothing to do with auto fill
- pagekalisedown 15y agoYou're correct, but the parent brings up a valid (if a bit off topic) point. Eye candy is great, but Javascript has often been a vector for privacy issues. Hence the popularity of Noscript and most browsers having an option to disable Javascript.
- Jach 15y ago> Am I the only one to see the horrendous security flaw? No, every user of NoScript sees it. At the end of the day, your computer has executed billions upon billions of instructions, most of which you have no idea what their purpose is or if they leak your security or privacy. Even those of us running a Linux box have this problem. I trust a lot of code, I trust my CPU and my BIOS and my OS, and my NoScript whitelist has only grown, it doesn't shrink. (It does gain temporary permissions every so often when I don't quite trust the source but figure the risks are negligible.) The vast majority of people (and website owners) don't want to harm you or your computer or society as a whole (There is a lot of low-hanging fruit for the studious domestic terrorist.) People have good reason to think they'll be safe executing unknown code. The model caught on because it's useful and because the web of trust extends far. NoScript is still used by the minority and that's unlikely to change.
- andrewjshults 15y agoSame problem happens with Lastpass (which at least requires you to click the fill form button, rather than auto populating the fields).
- joshuahedlund 15y agoStopping autofill of hidden fields is easy and must be done. To truly fix this bug, though, it would be nice to also stop autofill of technically "visible" fields that are tiny or under another object or otherwise obscured. But that might be orders of magnitude more difficult.
- ilmare 15y agoOne workaround for this in chrome is to remove name/email values from address auto-fill form, so it will only populate when you actually enter address. And it's generally good idea to separate general browsing from personal/finance/etc using user profiles.