465
you are viewing a single comment's thread
view the rest of the comments
[-] DriftinGrifter@lemmy.blahaj.zone 1 points 6 months ago

doesent literraly every website with autocomplete search queries do this?

[-] kibiz0r@midwest.social 5 points 6 months ago

No. This is analogous to cross-frame scripting.

So imagine you go to tiktok.com and you click on a link to bestbuy.com/cool-product-i-want-to-buy. But instead of taking you directly to bestbuy.com/cool-product-i-want-to-buy, it keeps you on tiktok.com and just opens an iframe with a keylogger injected into it.

So then when you enter credit card info into the bestbuy.com UI, the tiktok.com JS can see what you typed.

(This scenario is largely impossible these days, due to modern browser security.)

The difference is that if you witnessed this kind of XFS in your desktop browser, you might notice it because the location bar still says tiktok.com, because you never actually left the site. But in a mobile in-app browser, you don't need an iframe. You can inject JS directly into the browser itself, making it invisible to the user. As far as you can tell, you're on regular ol' bestbuy.com, not a modified version of it.

[-] DriftinGrifter@lemmy.blahaj.zone 2 points 6 months ago
[-] kibiz0r@midwest.social 4 points 6 months ago* (last edited 6 months ago)

lmao, you asked.

I'm not a security expert, but my tech career has involved a lot of automated testing in weird scenarios, including iframe-based Facebook games and browser-based mobile apps. Automated tests face a lot of the same challenges that a malicious third-party would, so I know a little bit about how to get past them -- or rather, how to deliberately create vulnerabilities (in the dev build of your system) so that your tests can get past them.

Edit: I am curious why someone downvoted me on that one though. I can understand how my comment about the ban being dumb but TikTok also shipping a keylogger could anger people on one side or the other. But just explaining how in-app browsers revive a security problem that's been long-solved in standalone browsers?

this post was submitted on 09 May 2024
465 points (99.2% liked)

Technology

59298 readers
1680 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS