Css Draw Mouse Cursor to hide omni box
A CSS custom cursor image larger than the iframe could be drawn outside the iframe's content area, allowing it to cover the browser's omnibox. An attacker could use this to spoof the URL shown in the omnibox.
- Fixed in 3 days
- Paid in 9 days
- Disclosed after 3 days
Created attachment 9298956
abusive3.html
when the mouse drawing cursor at 128x128 is not inside the iframe, the cursor cannot exit the web content area. but when inside an iframe , it should be able to bust out of the web content area and can hide omnibox. maybe it could be more useful to an attacker if the cursor image was a spoofed URL
1. open abusive.html
2. move cursor to hide omnibox
i attached the POC video and html file
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the browser did not clip the custom cursor image to the iframe's bounds, so a large cursor could be painted over browser UI.
Impact
An attacker could hide the omnibox and potentially spoof the URL shown to the user, but the report only suggests this as a possibility.
What the attacker needed
Victim visits a malicious page; page uses an iframe with a large custom cursor
How it was found
- Open the provided HTML file.
- Move the mouse cursor to hide the omnibox.
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 report has not been written yet. The Original tab links to the source.
Web pages can set a custom image as the mouse cursor. This report found that when such a page is inside a smaller frame, the large cursor image can spill outside the frame and cover the address bar. That could let a malicious page hide the real web address and show a fake one.
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.