Cross Origin Madness
homakov.blogspot.com
homakov.blogspot.com
1) You can submit a form, ok, but where does CSRF comes in if you can't manipulate or send any data?
2) possible phishing target, but it still doesn't have access to the parent, and you have to be already visiting an iframed website (wrong URL displayed), and it has be using iframes to send sensitive data.
3) window.name was never safe.
4) postMessage without an origin check is not safe either, period.
not looking for real world exploits for free anymore
1) can be exploit for some flash callback things, isciurus will publish PoC later
2) yes
3) why it wasn't? i mean yes it's shitty but how it was broken?
4) I agree, but I demonstrated that even if you trust iframe you must specify receiver origin, just to be sure
Deleted comment
And, obviously, victim cannot set sandbox for itself
[1] https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Option...
1) Fancy app website uses iframes to send messages to itself/its server
2) attack website embeds app in an iframe
3) attack website changes the URLs of the apps iframes to point to attacker-controlled pages
4) app sends sensitive info to its iframes, which of course ends up going to the attacker