News for hackers. Stuff that matters.
Re:Don't use autofill in your browser by viraptor on Friday November 01, 2013 @07:53AM (#6653042)
That's a misuse for the term "autocomplete" in my opinion. What he complains about is "autofill", not "autocomplete" as I understand it. Autocomplete takes the values you used previously and gives you suggestions for the stuff you're typing in yourself. Autofill tries to guess what values are required and fills them in without additional interactions.

They're very different mechanisms...

Re:Don't use autofill in your browser by yaph on Friday November 01, 2013 @08:56AM (#6653329)
Fully agree, using "autocomplete" is misleading. The suggestions that go into auto-complete fields come from the server, autofill from the client.
Re:Don't use autofill in your browser by aaronem on Friday November 01, 2013 @10:13AM (#6653849)
You conflate autocompletion provided by the browser, based on values previously submitted in identically named fields, and autocompletion against values provided by the server.
Re:Don't use autofill in your browser by AndrewDucker on Friday November 01, 2013 @06:56AM (#6652916)
Doesn't seem to be an issue in Firefox, as far as I can tell. Certainly didn't fill any other fields for me.
Re:Don't use autofill in your browser by Tobu on Friday November 01, 2013 @08:34AM (#6653242)
Even if it showed you the fields, it wouldn't be conclusive proof of a privacy leak. Firefox shows links visited without exposing that property outside of render context: https://blog.mozilla.org/security/2010/03/31/plugging-the-cs...
Re:Don't use autofill in your browser by eli on Friday November 01, 2013 @09:11AM (#6653398)
The fields in this demo are being echoed back from the server, so if you see values in them then it is indeed proof they are being leaked.
Re:Don't use autofill in your browser by Tobu on Friday November 01, 2013 @09:42AM (#6653614)
The fields appear immediately, the demo actually does this:

    $("#mine").submit( function() {
    $("#hide").css("height","auto");
Re:Don't use autofill in your browser by elwell on Friday November 01, 2013 @12:56PM (#6654837)
I think the concern is that you might submit a form to a server without knowing that you're sending all that data (just some of it).
Re:Don't use autofill in your browser by dijit on Friday November 01, 2013 @07:39AM (#6653010)
I have the same results.

Doesn't matter what I picked in autocomplete, nothing else was submitted.

(firefox 24 on linux)

Re:Don't use autofill in your browser by computer on Friday November 01, 2013 @08:10AM (#6653114)
It's an issue for me with the Lastpass addon in Firefox, if I use the Lastpass autofill. That doesn't make it a Firefox issue, of course.
Re:Don't use autofill in your browser by bcl on Friday November 01, 2013 @09:17AM (#6653427)
And then only if you opt-in for the site.
Re:Don't use autofill in your browser by elwell on Friday November 01, 2013 @12:55PM (#6654833)
Works in Chrome if I use certain autofill sets (ended up testing with email address rather than name and it worked)
Re:Don't use autofill in your browser by justincormack on Friday November 01, 2013 @04:57PM (#6656369)
Chrome would not autofill my name, just my email and then it filled in everything else. Disabled it.
Re:Don't use autofill in your browser by mortenjorck on Friday November 01, 2013 @08:58AM (#6653332)
I remeber noting with concern several years ago that Safari was blindly saving my credit card number along with all my other auto-fill data. Thing is, I recall observing that behavior stopping around Safari 4 or so – the browser appeared to be using something along the lines of the data detectors that put calendar links on times mentioned in emails, and saving everything but the credit card field.
Re:Don't use autofill in your browser by crashandburn4 on Friday November 01, 2013 @07:01AM (#6652925)
This is weird, I'm on chrome but it doesn't happen for me...
Re:Don't use autofill in your browser by DanBC on Friday November 01, 2013 @08:11AM (#6653121)
I'm using Chrome version 30.0.1599.101 m on Vista. The form did what the post said it would - all those extra fields got filled in.
Re:Don't use autofill in your browser by next89 on Friday November 01, 2013 @08:40AM (#6653269)
Same on W7, Chrome build 30.0.1599.101 m.
Re:Don't use autofill in your browser by bad_user on Friday November 01, 2013 @11:06AM (#6654243)
It did happen to me on Chrome, but Chrome also gives you hints that it will do auto-filling should you select the value from that list.
Re:Don't use autofill in your browser by hydrology on Friday November 01, 2013 @07:04AM (#6652936)
Same here.
Re:Don't use autofill in your browser by Sephiroth87 on Friday November 01, 2013 @07:10AM (#6652949)
Safari tells you what is actually going to autocomplete, so you could easily catch stuff that should not be sent...
Re:Don't use autofill in your browser by kalleboo on Friday November 01, 2013 @08:07AM (#6653097)
This is true, and actually a pretty smart feature, but you have to take the time to double-check (which I suspect most users won't).
Re:Don't use autofill in your browser by cowsandmilk on Friday November 01, 2013 @08:15AM (#6653143)
Usually I agree that people will blindly click through, but I don't see people clicking through this[1]. Especially if Safari said it would auto-fill your credit card number and you weren't buying anything?

[1] https://www.evernote.com/shard/s356/sh/dcf7867e-eb16-4e0e-83...

Re:Don't use autofill in your browser by jasonlotito on Friday November 01, 2013 @10:48AM (#6654101)
My understanding is that even credit card information is only available if the person is specifically in a credit card field, and not just the name.
Re:Don't use autofill in your browser by kalleboo on Saturday November 02, 2013 @09:57AM (#6659183)
For me if I just enter my first name, then I get the small AutoFill popup with my contact card preselected, and just hit enter, it autofills without me seeing the full popup with the detailed info in it.
Re:Don't use autofill in your browser by roc on Friday November 01, 2013 @11:57AM (#6654621)
Isn't that like claiming individual permissions pop-ups are working just fine on mobile devices, because people are carefully and individually considering whether each given app needs each requested permission?

If some autofill feature starts training users to click "Ok, Ok, Ok, Ok, whatever, just Ok!" any time they sign up for some account or site feature, how long until masses are unwittingly sending along way more data than any sober assessment suggests they ought to and we're shrugging our shoulders and saying "well, the site asked..."

Re:Don't use autofill in your browser by praseodym on Friday November 01, 2013 @10:46AM (#6654082)
Firefox and the Mozilla Suite have had a very similar problem since at least 2005: it autofilled usernames and passwords, which creates a problem with XSS or user-generated content on the same domain. The bug was marked WONTFIX: https://bugzilla.mozilla.org/show_bug.cgi?id=280469
Re:Don't use autofill in your browser by bad_user on Friday November 01, 2013 @11:10AM (#6654273)
Strange, but for me Firefox does not auto-fill passwords, unless you provide a username (and of course, you opted into auto-filling). What did it do, as I don't understand? Did it automatically auto-fill password fields that happened to get loaded on the page?
Re:Don't use autofill in your browser by praseodym on Friday November 01, 2013 @11:55AM (#6654605)
It indeed autofilled password fields on the page. Haven't re-tested it, but I think most browsers still show the same behaviour.
Re:Don't use autofill in your browser by Ellipsis753 on Friday November 01, 2013 @08:00AM (#6653068)
Seems to work correctly (only name is submitted as one would expect) on Firefox 24.0 and Chromium 30.0. Edit: This is on Gentoo Linux.
Re:Don't use autofill in your browser by elwell on Friday November 01, 2013 @12:59PM (#6654875)
You have to have an autofill set up with more information than just your name. You can tell if you have this set up because when the autofill choices show they will have your address etc in gray next to the choices you are auto-completing.
Re:Don't use autofill in your browser by michaelmartin on Friday November 01, 2013 @06:54AM (#6652907)
I just don't store credit card details in my browser. Auto-complete for emails is extremely handy and I use that all the time, but does purchasing things online really need to be any easier?

I don't mind reaching for my wallet there; it forces you to make a conscious decision to spend the money, which is at least slightly better than a 1-click impulse.

Re:Don't use autofill in your browser by elwell on Friday November 01, 2013 @12:58PM (#6654855)
Credit card details are not the main concern here (because they are separated on Chrome), but you could send your address and phone number to a server without expecting to send more than your name or email address.
Re:Don't use autofill in your browser by bad_user on Friday November 01, 2013 @11:03AM (#6654213)
True and it takes what? 1 minute of typing? Do we really need to go faster than that? Of course, companies are all in favour, but it's not in our interest.
Re:Don't use autofill in your browser by wil421 on Friday November 01, 2013 @08:07AM (#6653094)
I dont see the problem all that was filled in was my name. The other fields were left blank. Even when I reentered it after the other fields popped up.
Re:Don't use autofill in your browser by ck2 on Friday November 01, 2013 @06:57AM (#6652918)
Should be easy to make a proof of concept page to scare people dumb enough to have credit card auto-complete.

Just make hidden form fields for every field name you can think of, then make some onload javascript to welcome them to the page with any fields that aren't empty.

Re:Don't use autofill in your browser by gizmo on Friday November 01, 2013 @07:06AM (#6652942)
Oh, c'mon! Storing credit card data in Autofill is actually recommended by Google and considered secure: https://support.google.com/chrome/answer/142893?hl=en

You shouldn't call people dumb for following Google's instructions. I agree with you that storing CC details in a web browser is a bad idea, but we should take issue with Chrome here (and other browsers) not with regular "dumb" users.

Re:Don't use autofill in your browser by kalleboo on Friday November 01, 2013 @08:03AM (#6653076)
Apple are also touting credit card autofill with their new version of OS X, with strong claims of security. http://www.apple.com/osx/whats-new/#gallery-icloud-keychain-...
Re:Don't use autofill in your browser by ams6110 on Friday November 01, 2013 @07:48AM (#6653029)
I always disable all "auto" functions in any browser. Autocompete for forms and URLs, remember passwords, everything I can find a switch for I turn off. Makes the browser faster and I feel like I'm more in control of it.
Re:Don't use autofill in your browser by ubercow13 on Friday November 01, 2013 @08:01AM (#6653074)
If only you could turn off auto-rendering, that bugs the hell out of me
Re:Don't use autofill in your browser by kevinmchugh on Friday November 01, 2013 @05:28PM (#6656576)
Have you quantified that the browser speed gain offsets the time spent doing work the browser could do for you?
Re:Don't use autofill in your browser by freewheeling on Friday November 01, 2013 @07:11AM (#6652954)
Web devs can recommend input fields not use autocomplete: http://www.w3schools.com/tags/att_input_autocomplete.asp

It's considered good practice to use it on login fields, but otherwise depends on whether you think security or user preference should take priority.

Re:Don't use autofill in your browser by kalleboo on Friday November 01, 2013 @08:05AM (#6653087)
Why is it good practice to use it on login fields? That just means your users will use weaker (easier to remember) passwords on your site instead of using random, unique ones stored in a password manager.
Re:Don't use autofill in your browser by imurray on Friday November 01, 2013 @09:04AM (#6653355)
Users that find this "good practice" annoying can override it with a bookmarklet or extension: http://kb.mozillazine.org/User_name_and_password_not_remembe...
Re:Don't use autofill in your browser by aaronem on Friday November 01, 2013 @10:17AM (#6653869)
I've noticed with Firefox (17 ESR) that, having once used Firebug to delete the 'autocomplete="no"' attribute on a password field and then submitted the form, it's not necessary to do so again; in whatever heuristic Firefox uses to determine how to behave in that case, the existence of auto-completion data for the field apparently overrides the advice given by the attribute. For those leery of adding still more extensions to a Firefox profile already well larded with them, this may be useful information.
Re:Don't use autofill in your browser by DanBC on Friday November 01, 2013 @08:15AM (#6653137)
An attacker that can make use of an auto-completing password field has got enough access to mean that the game is over anyway - they can get that password from a variety of other sources on the machine.

Turning off autocomplete on login fields doesn't make that form more secure, and it does annoy users.

As kalleboo says, it probably reduces security as your users change to easy to type passwords, or keep needing password resets.

Re:Don't use autofill in your browser by freewheeling on Friday November 01, 2013 @11:01AM (#6654193)
Sorry, there's a bit of misunderstanding here; I should have made it clearer. Password type fields shouldn't autocomplete on browsers anyway. The "good practice" I meant is for devs to set autocomplete off for the username field - to prevent the login username or email address popping up (especially if the site is accessed on public or shared computers).
Re:Don't use autofill in your browser by DanBC on Friday November 01, 2013 @05:19PM (#6656511)
That's just infuriating. You're choosing to break functionality that I rely on to help me log in to your website, and there's absolutely no reason to do so.

> especially if the site is accessed on public or shared computers

People setting up those computers need to learn how to provide clean sessions for their users, rather than relying on every single website in the world doing weird things in forms.

Re:Don't use autofill in your browser by gr3yh47 on Friday November 01, 2013 @09:55AM (#6653717)
I'm sorry, I've never used autocomplete for a few privacy related reasons, and this was one of them... this seems obvious, to the point where I thought the title was written in a sarcastic 'duh' tone...

I figured not letting your (google especially) browser store personal details was pretty much common privacy/security sense at this point.

Re:Don't use autofill in your browser by webhat on Friday November 01, 2013 @10:41AM (#6654048)
Only occurred in Safari for me, not in Chrome or FireFox.

Also I was a little confused by autocomplete, I thought he meant for the address bar.

Re:Don't use autofill in your browser by elwell on Friday November 01, 2013 @01:02PM (#6654900)
Worked in Chrome for me.
Re:Don't use autofill in your browser by thatmanjose on Friday November 01, 2013 @07:12AM (#6652955)
Tested this with Autocomplete off in both Safari and Chrome, but completed the forms with Lastpass. Same problem.
Re:Don't use autofill in your browser by rejoinder on Friday November 01, 2013 @02:03PM (#6655274)
Can someone explain the following page please? (As in what's being demonstrated here.)

https://yoast.com/research/autocompletetype.php

Re:Don't use autofill in your browser by ondiekijunior on Friday November 01, 2013 @06:52AM (#6652900)
well I don't get the justification for the headline
Re:Don't use autofill in your browser by DavidWanjiru on Friday November 01, 2013 @08:14AM (#6653132)
I added the word "apparently", coz I don't know if what the article claims is true or not...
Re:Don't use autofill in your browser by Aqueous on Friday November 01, 2013 @08:31AM (#6653221)
This seems like an easy fix for the layout engines. Only include a field on autofill if it's currently visible on screen.

One might even classify this as a bug.

Re:Don't use autofill in your browser by daveasdf on Friday November 01, 2013 @08:37AM (#6653254)
"Visible on screen" unfortunately is a hard thing to determine. You can easily imagine a textbox with white text on a white background, or a very small textbox, or a textbox that briefly pops up whenever you type a keystroke or click the mouse, or...

Browsers really need to support some mechanism where the user can determine precisely what information will be filled prior to it being handed over to the website. This needn't be difficult; Chrome's existing autofill popup already displays a subset of the information, the popup just needs to give a fuller picture.

Re:Don't use autofill in your browser by mintplant on Friday November 01, 2013 @01:07PM (#6654939)

    ----------------------------------------------------
    | This webpage is asking for information that your |
    | browser can automatically fill in for you. Check |
    | the box next to each item you'd like to include. |
    |                                                  |
    | [x] Email address - [email protected]              |
    | [ ] Name - Bob Jones                             |
    | [ ] Address - 123 Sample Street                  |
    |                                                  |
    | [Autofill] [No thanks]                           |
    ----------------------------------------------------
Re:Don't use autofill in your browser by snewman on Friday November 01, 2013 @08:40AM (#6653268)
I suspect this would be very difficult to implement robustly. There are just too many ways to hide something: color it white, overlay another element on top, use a weird font that causes it to look like something else, ...
Re:Don't use autofill in your browser by RoboKitten on Friday November 01, 2013 @02:07PM (#6655303)
This would not be hard to do. There are standard names for the auto complete form inputs. The browser (or plugin) could be configured to notify you if some/any of those fields are about to be posted and warn the user using a native code generated pop-up (not a web pop-up).
Re:Don't use autofill in your browser by tambourine_man on Friday November 01, 2013 @10:13AM (#6653844)
Just name and email here, but I guess I'm paranoid enough.
Re:Don't use autofill in your browser by peter303 on Friday November 01, 2013 @11:01AM (#6654195)
When your girlfriend borrows your computer and the browser sends her to porn sites.
Re:Don't use autofill in your browser by kolev on Friday November 01, 2013 @01:52PM (#6655188)
You don't use "private browsing"? BTW, Chrome supports multiple profiles now.
Re:Don't use autofill in your browser by rejoinder on Friday November 01, 2013 @02:00PM (#6655256)
I guess that's for signed in users?
Re:Don't use autofill in your browser by Groxx on Friday November 01, 2013 @05:51PM (#6656714)
No, it's for everything, though it might sound that way. Add a user on the settings page, it'll open up the switching UI, no sign-in required. (unless they changed that recently, of course. but that would suck.)
Re:Don't use autofill in your browser by rejoinder on Saturday November 02, 2013 @01:33AM (#6658285)
Nice hidden feature! Cheers.
Re:Don't use autofill in your browser by AsymetricCom on Friday November 01, 2013 @03:55PM (#6655929)
Seems to be an issue with Chrome only, which is unsurprising.
Re:Don't use autofill in your browser by markdown on Friday November 01, 2013 @07:55AM (#6653049)
1password works great, and is secure.
Re:Don't use autofill in your browser by kalleboo on Friday November 01, 2013 @08:00AM (#6653069)
I just tried 1password Safari integration with the test form[0] and it had the same problem as Safari's own autofill (it filled out the hidden fields).

[0]https://yoast.com/research/autocompletetype.php