3 ms·
there are so, so, so many ways to read this data back it's not even fun.
by 1oooqooq 2y ago
there are so, so, so many ways to read this data back it's not even fun.
- Muromec 2y agoThere are ways, but they generally need a cooperation of both sides of the inter-domain boundary. What you generally can't do is make arbitrary reads from the context of other domain (e.g. call GET on their api and read a result) into your domain without them explicitly allowing it.
- duskwuff 2y agoRight. What you can sometimes do is observe the effects of the content being loaded, e.g. see the dimensions of an image element change when its content is loaded.
- RandomDistort 2y agoIs there some document somewhere that lists all the potential ways of doing stuff like this?
- Herrera 2y agoYeah, https://xsleaks.dev https://xsleaks.dev tracks most of the known ways to leak cross-origin data.
- smagin 2y agooh hell yes. And oh yes iframes and postmessages, of course people would setup them incorrectly and even if they do some (probably not that important but still) data will leak if you're creative enough. Thanks for the link!