Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Bend 2 and the Vibe-Coding Trap(liampwll.com ↗)
    50comments
  2. OpenJev(openjev.com ↗)
    133comments
  3. ZCode, the GLM coding agent, silently uploads your Git history(tokenstead.ai ↗)
    28comments
  4. I don't like passkeys(hawksley.dev ↗)
    64comments
  5. Jemalloc 5.4.0(github.com/jemalloc ↗)
    56comments
  6. Subnormal floating-point numbers are expensive on Intel processors(lemire.me ↗)
    5comments
  7. The scourge of x86 emulation(fex-emu.com ↗)
    43comments
  8. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  9. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    151comments
  10. Astra for Law(openai.com ↗)
    618comments
  11. The Shadows Lurking in the Equations – Underwater Islands(gods.art ↗)
    discuss
  12. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    301comments
  13. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    44comments
  14. Replacing Pull Requests with Delta(zed.dev ↗)
    26comments
  15. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    246comments
  16. Qwen 3.8 Omni Flash(qwen.ai ↗)
    96comments
  17. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    173comments
  18. Wax motor(wikipedia.org ↗)
    78comments
  19. When the fractional part of a float fixes your shader(crocidb.com ↗)
    10comments
  20. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    238comments
  21. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    51comments
  22. How to Write with an LLM(sockpuppet.org ↗)
    142comments
  23. Dr Julius Neubronner's Miniature Pigeon Camera(publicdomainreview.org ↗)
    discuss
  24. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    163comments
  25. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    18comments
  26. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    27comments
  27. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    70comments
  28. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    29comments
  29. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    47comments
  30. Speeding up gearhash on ARM64(sam.dev ↗)
    discuss

I stole the data in millions of people’s Google accounts

81 pointsby 5y agoethanblake4.medium.com
19 comments
5y agoHN ↗

EDIT: should have finished reading the article!

5y agoHN ↗

The name doesn't matter if you keep reading.

5y agoHN ↗

Spoiler, because clickbait headlines are disingenuous and annoying:

As many of you may have suspected, this post is not entirely truthful. I have not released this fitness app onto the Play Store, nor have I collected millions of master tokens. ... But yes, these methods do work. I absolutely could release such an app, and so could anyone else (and maybe they have).

5y agoHN ↗

Would like to know your results if you submitted this to the bug bounty program. Maybe put that at the top?

5y agoHN ↗

This type of attack is already known, so it wouldn't be eligible for any kind of bounty. It is why Google is switching to disallowing auth from embedded browsers, and only allowing known-good + standards-compliant browsers to do auth instead.

5y agoHN ↗

Is it a bug?

Arguably, everything here is working as intended.

5y agoHN ↗

These type of attacks are already known and out of scope for the bounty.

Users giving their password on random popups asking for it is not something google can control.

5y agoHN ↗

The meat of this story is that, instead of showing the Google oauth flow which would say “sign in to continue to <app>” with the list of permissions shown to the user, he embedded a web view that is actually a URL for setting up a new android device. This is exactly the reason Google is doing things like restricting embedded browser sign-ins[0], which HN was particularly critical about[1].

0: https://9to5google.com/2019/04/18/google-block-man-in-the-mi...

1: https://news.ycombinator.com/item?id=25155451

5y agoHN ↗

This isn't even a vulnerability. Mobile applications should be using the system browser, not a WebView. This blog post is proud of abusing the users trust. I can also make an application which opens an OAuth page to a fake-google.com which looks exactly like Google. I guess you can still trick Grannies with his app.

Finally the author admits... > Nothing I did would technically be considered an ‘exploit’

and of course, admits he lied about the title and multiple sentences in his blog... > As many of you may have suspected, this post is not entirely truthful.

Poor form.

5y agoHN ↗

This is a poor rebuttal.

Mobile applications should be using the system browser, not a WebView

Maybe honest ones, however there is no reason a dishonest app that is trying to steal your Google account should stick to best practices.

I can also make an application which opens an OAuth page to a fake-google.com which looks exactly like Google

You have ignored the part about bypassing Google's IP and location based fraud detection. Your idea wouldn't work.

5y agoHN ↗

What do you suggest? Lock down allowed webview like iOS, killing actual browsers?

5y agoHN ↗

Great article and very clever. Luckily I never use SSO providers to log anywhere precisely because of issues like this. Since Safari remembers all my accounts anyway I have little reason to use Google or something else to log myself everywhere in.

5y agoHN ↗

What's clever here is that it hijacks a full, legitimate login (including asking for the second factor, using proper IP addresses et al) then gains the full access token.

Doesn't matter what security the user has added: if they are willing to type their credentials into a web view they lose their trust.

5y agoHN ↗

All this blog post does is highlight why you shouldn't trust WebViews.

5y agoHN ↗

The title isn't truthful to the content. @dang, can you please change it? Should be something along the lines of "how to steal data from Google accounts." As the author states waaay down in the article, they didn't actually do it, they're merely showing how.

5y agoHN ↗

Even though the post is a bit clickbaity there is still one thing I learned from it and if somebody cyber security expert can confirm this:

- there exists a powerful token (like a master key) using which a person can read all my emails, drive, etc bypassing the email alert and unknown device check?

5y agoHN ↗

If you mean the one that's used on your phone to access everything, yes, although it doesn't bypass the email alert (the linked clickbait goes into how they have to click "allow device" on their already-signed-in phone). When you log into either the Google.com website or into an Android device your token needs permission to do everything you'd expect to do as a user - gmail, drive, etc. This attack is basically a browser MITM which captures that token and (theoretically) ships it off to a server for malicious usage/storage.

Or, if you mean "can Google employees read my email", then they can since almost no Google service is end-to-end encrypted (although you can e2ee Chrome sync[0]). Gmail, Drive, and Docs are completely unencrypted unless you use encryption on top of it (like with rclone[1] or cryptomator[2]).

0: https://support.google.com/chrome/answer/165139?co=GENIE.Pla....

1: https://www.section.io/engineering-education/encrypting-gdri...

2: https://cryptomator.org/

5y agoHN ↗

I only had to click 'allow device' because I had 2FA enabled on that account. For anyone who doesn't, that step is not required.