TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Browser auto-fill phishing

802 pointsby christopover 8 years ago

35 comments

aesthetics1over 8 years ago
Wow, great demonstration. I'd never thought about this being exploited. I wonder if the fix could be something as simple as the browser only allowing non-hidden [Edit: "not visible to the user", I should have said, as this does not appear to auto-fill <input type="hidden"> ] fields to be auto-filled. Otherwise, a warning about what auto-fill information (IE "Your name and credit card information are going to be submitted, continue?") has been filled in would be a nice touch. Maybe a browser extension could accomplish this?
评论 #13329770 未加载
评论 #13330700 未加载
评论 #13329746 未加载
评论 #13330616 未加载
评论 #13333111 未加载
dansoover 8 years ago
Wow, this seems like such an obvious attack vector that I just assumed it was somehow mitigated (somewhere, magically, I suppose). Does it even require the user to press the Submit button, i.e. could the site's JS trigger the POST request after the event of the autofill?
评论 #13329944 未加载
评论 #13329955 未加载
评论 #13333275 未加载
tiglionabbitover 8 years ago
This could be solved by improving the autofill UI to tell you all the data it is filling into the form, even if it isn&#x27;t visible to you.<p>Currently, when I trigger autofill in Chrome, it tells me the full suite of information it can input for a certain profile (name, address, company, etc), but it doesn&#x27;t tell me which bits of information are actually being used. Something as simple as placing checkmarks in this popup next to the information that is actually being used could communicate this better.
评论 #13335246 未加载
error54over 8 years ago
In case anyone is worried, most (all?) browsers do not autofill credit card information without the user explicitly clicking into the credit card field so there&#x27;s no chance of a hidden field stealing your CC information.
评论 #13330860 未加载
评论 #13332634 未加载
评论 #13330265 未加载
评论 #13337780 未加载
stabblesover 8 years ago
I wrote about this a while ago: <a href="https:&#x2F;&#x2F;medium.com&#x2F;@stabbles&#x2F;why-you-should-disable-autofill-bf2e15c65b5c" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@stabbles&#x2F;why-you-should-disable-autofill...</a>
评论 #13331568 未加载
评论 #13331648 未加载
评论 #13332835 未加载
theboszover 8 years ago
Firefox doesn&#x27;t exhibit this behavior, but the site doesn&#x27;t specifically state which browsers this affects.
评论 #13330356 未加载
评论 #13335351 未加载
dahezaover 8 years ago
I found this <a href="https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=132135" rel="nofollow">https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=132135</a> which was created when someone noticed the issue happening to their honeypot input box. Looks like it was closed a while ago.<p>I saw this example doing the rounds on twitter. Hopefully the chrome devs notice the noise and move up the priority on fixing &#x2F; addressing it.
评论 #13330266 未加载
nine_kover 8 years ago
This is why I never put anything secret into browser autofill data. No credit cards, <i>no passwords</i>, nothing I would not be OK with disclosing publicly, or already did.<p>Sensitive info belongs to a password manager which limits it to the domains the data belong.<p>Credit card numbers are a pain, though. I could put them to a password manager, and manually select to fill only that particular field when I need to. In reality I rarely buy things where PayPal or Amazon payment options are not available; I suppose Stripe offers a similar service.
评论 #13331062 未加载
评论 #13330933 未加载
FryHighover 8 years ago
This vulnerability was published (another article) over a year ago. I&#x27;m surprised Chrome hasn&#x27;t fixed it.<p>I think this means browsers will never fix this issue. I won&#x27;t be using auto-fill on untrusted webaites.
评论 #13330420 未加载
评论 #13330777 未加载
ericravover 8 years ago
I&#x27;d rather have only the field I selected autofilled and be given a secondary option to have every field (or maybe choose which fields) in a form autofilled. This bothers me in innocent, non-phishing forms too—especially when the designers don&#x27;t put labels on the fields and only use placeholders, which I can no longer see after autofill.
评论 #13335255 未加载
thesumofallover 8 years ago
Even as an experienced user it never crossed my mind that this might happen. Good catch
SippinLeanover 8 years ago
LastPass prompts every time before autofilling your CC# into a form, so it might avoid this issue in that case.<p>I do believe it would still fail exposing your basic info, such as in this example, however.
评论 #13330585 未加载
评论 #13330262 未加载
joantuneover 8 years ago
Yes! I always had this itch whenever I filled out a field and had the other fields pre filled by chrome. I actually thought that maybe there were type=&quot;hidden&quot; that could have been filled and sent (although as someone points out those aren&#x27;t but it isn&#x27;t hard to hide an input with CSS). But the main point is: whenever I did that I was usually OK with sending out the rest of the information which either was outdated or I was consciously aware of it.<p>However, a lot of users might not have that conscience and might be giving out information which they didn&#x27;t want to. It would be great to shame websites that were employing these shady techniques, but the solution must come from Chrome. Chrome devs: by default only auto fill one field and on the drop down have as the last option to do what you do now, so that you&#x27;re sure that the user has consciously chosen to auto fill all fields * have a little disclaimer saying this possibility *. That way you get the best of both worlds with an extra key down
评论 #13335980 未加载
VarunAgwover 8 years ago
If I remember correctly, it has been reported several times in the past and Chrome doesn&#x27;t care about it at all.
misterballsover 8 years ago
Fillr autofill app requires users to approve every piece of data before autofilling a form. Makes it easy to know when a site is trying something shifty. Dashlane also lets you pick exactly what to fill. Native browser autofills have been battling phishing exploits since early IE days.
robertelderover 8 years ago
I really with that browsers didn&#x27;t autocomplete ever. I&#x27;ve had instances where they will happily auto-complete my entire credit card number. Usually, they&#x27;ll only memorize the first 4 digits, but sometimes they memorize the entire thing.
评论 #13330174 未加载
throwaway2016aover 8 years ago
Complete tangent but... why is this a NPM package? There is no actual Javascript code in it.
评论 #13330398 未加载
alpbover 8 years ago
Just confirmed 1Password’s AutoFill for identity is also vulnerable to this on Chrome.
TheRealPomaxover 8 years ago
Was this filed against Firefox, Chrome, and EDGE? (it seems like the kind of PoC that you make to prove a point to browser vendors to get them to fix what should obvioulsy be fixed... if the user can&#x27;t see it, no matter how that&#x27;s been achieved, don&#x27;t autofill that field.)
评论 #13334371 未加载
avodonosovover 8 years ago
And Chrome wants to ignore autocomplete=off (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11911116" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11911116</a>)
评论 #13333227 未加载
shurcooLover 8 years ago
This is the reason I never use the autofill beyond more than at typechecker. I still explicitly write out what I want to place in the form, and the autofill helps me avoid typos.<p>However, I always found it odd how something so prone to this kind of attack could be deployed for all non-tech savvy browser users...
tcfunkover 8 years ago
I actually ran across this a while ago, but didn&#x27;t think to call it phishing.<p>I was trying to create a honeypot for a front-facing web form, but because of the name I gave the honeypot field, some people&#x27;s autofill information was filling out that field without them knowing.
grandalfover 8 years ago
This is a very clever hack. I&#x27;ve tried in the past to adjust my HTML to disable autofill and it&#x27;s not possible to prevent Chrome from aggressively doing it.
评论 #13331347 未加载
matt_wulfeckover 8 years ago
The only thing I can think of is a separate prompt, that would ask &quot;Do you want to autofill Name, Address, Phone...&quot; etc.
评论 #13330527 未加载
评论 #13330396 未加载
noblethrasherover 8 years ago
It even works in incognito mode (Chrome 55.0.2883.87 on Windows 8.1; tested against my bank&#x27;s website).
zacharycohnover 8 years ago
Saw the title of this, didn&#x27;t even open the link, just thought &quot;oh... Crap.&quot;
ulberover 8 years ago
Save forms data and especially save passwords have always seemed phishy to me.
digi_owlover 8 years ago
Yet more blowback from trying to be &quot;user friendly&quot;...
robinduckettover 8 years ago
Didn&#x27;t work for me. Chrome 55.0.2883.87
shefaliprateekover 8 years ago
are there are api products or chrome-plugins to check &#x2F; verify if a certain page is a phishing-attack ?
ComodoHackerover 8 years ago
I get 405 after submit.
评论 #13335389 未加载
joshmnover 8 years ago
Genius.
dexterdearover 8 years ago
ok, let&#x27;s try.
dexterdearover 8 years ago
ok lets try..
hajderrover 8 years ago
Great state of the web
评论 #13336996 未加载