Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leaking of potentially sensitive user information on Cross-Domain communication #33

Closed
jcubic opened this issue Mar 13, 2022 · 0 comments
Labels

Comments

@jcubic
Copy link
Owner

jcubic commented Mar 13, 2022

If users use cross-domain communication, attackers can create an iframe and listen to any messages sent from the app and also send messages to the app. This happens only in the same browser so this is low impact.

Example exploit, if you upload this file to any domain, you can intercept messages from http://jcubic.pl/sysend.php

sysend.proxy('http://jcubic.pl');
window.addEventListener('message', (e) => {
    console.log(e);
});
@jcubic jcubic added the bug label Mar 13, 2022
@jcubic jcubic changed the title Leaking of potential sensitive user information on Cross-Domain communication Leaking of potentially sensitive user information on Cross-Domain communication Mar 13, 2022
@jcubic jcubic closed this as completed Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant