Raising the (false) alarm
A Firefox bug allowed a malicious page to keep a custom cursor active even when the browser showed a slow-script warning, so clicks landed on the wrong place and the user could not easily close the page. An attacker could use this to make a fake tech-support alert harder to dismiss.
news.sophos.com
Published on news.sophos.com
Technical support scams are among the most pervasive forms of Internet-powered fraud. Preying primarily on less sophisticated computer, tablet and smartphone users, tech support scammers use fear and misinformation to convince their targets that they have become the victim of some sort of malware and coerce them into…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the custom-cursor blocking logic was only called from the normal event loop, which an endless JavaScript loop prevented from running, so the mitigation never executed.
Impact
The page could prevent the user from clicking the browser's warning buttons, making it harder to escape the fake alert, though the effect is temporary and can be bypassed by advanced users.
What the attacker needed
Victim visits a malicious page; Firefox version before 79
The fix
The fix resets the cursor to the default when the slow-script dialog is shown, and this was released in Firefox 79.
How it was found
- Visit the malicious page, which loads a custom cursor image with an offset hotspot.
- The page runs an endless JavaScript loop, blocking the message loop.
- The browser shows the slow-script warning bar, but the custom cursor remains active.
- Clicks on the warning bar's buttons are redirected by the cursor hotspot, so the user cannot easily close the page.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A browser lock is a trick where a website makes it look like your browser is stuck, so you cannot close the page or click the right buttons. In this case, the page used a fake mouse pointer and an endless script to stop Firefox from updating the pointer, so clicks went to the wrong place. The fix makes Firefox reset the pointer to normal when it warns that the page is slow.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.