Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Jemalloc 5.4.0(github.com/jemalloc ↗)
    27comments
  2. The scourge of x86 emulation(fex-emu.com ↗)
    13comments
  3. Astra for Law(openai.com ↗)
    506comments
  4. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    124comments
  5. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    208comments
  6. When the fractional part of a float fixes your shader(crocidb.com ↗)
    discuss
  7. Qwen 3.8 Omni Flash(qwen.ai ↗)
    71comments
  8. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    162comments
  9. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    29comments
  10. Wax motor(wikipedia.org ↗)
    65comments
  11. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    133comments
  12. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    227comments
  13. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    7comments
  14. How to Write with an LLM(sockpuppet.org ↗)
    85comments
  15. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    20comments
  16. Why Does the Universe Expand?(cosmicave.org ↗)
    49comments
  17. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    52comments
  18. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    23comments
  19. Speeding up gearhash on ARM64(sam.dev ↗)
    discuss
  20. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    37comments
  21. The most important product decision is what you don't build(liamnugent.me ↗)
    35comments
  22. Fixing an NZXT Signal 4K30 part 2: the green/pink video bug(downtowndougbrown.com ↗)
    9comments
  23. CrowdSec Source Code Leak(crowdsec.net ↗)
    45comments
  24. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    361comments
  25. Khipu (Quipu) Field Guide(khipufieldguide.com ↗)
    discuss
  26. Apple detectives solved mystery of ancient tree and rewrote the history of fruit(scientificamerican.com ↗)
    5comments
  27. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    103comments
  28. Show HN: Snapdrop: Instantly share files between devices. No setup, no signup(snapdrop.me ↗)
    34comments
  29. How Uber Protects Against Retry Storms(uber.com ↗)
    38comments
  30. Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data(arxiv.org ↗)
    39comments

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.