Skip to content
UI spoofing Disclosed report Intermediate CVE-2024-1549

Custom Cursor mouse overlap permission request prompt (clickjacking on wrong button)

A custom mouse cursor image can overlap Firefox's permission request prompt, potentially confusing users about which button they are clicking. An attacker could use this to spoof the prompt and trick users into granting permissions.

Hafiizh Follow

Originally disclosed on Mozilla

  • Fixed in 8 months
  • Paid in 8 months
  • Disclosed after 8 months
Text
Created attachment 9334775
bandicam 2023-05-18 13-42-20-811.mp4

I found a vulnerability in firefox 112.0.1 (64-bit) (i tested on windows OS) where Mouse cursor pointer (128x128) can overlap the permissions request prompt  which can confuse lead to spoofs.

step to reproduces:

1. open cursorpointer.html
2. click on webpage near the permission request prompt appears

The original report as published on Mozilla's Bugzilla, by Hafiizh. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 does not constrain the size or position of custom cursors relative to permission prompts, allowing overlap.

Impact

A malicious page could confuse users into clicking the wrong button on a permission prompt, potentially granting permissions unintentionally.

What the attacker needed

Victim uses Firefox on Windows; victim visits a malicious page; victim interacts with the page

How it was found

  1. Open the provided HTML file in Firefox.
  2. Click on the webpage near where the permission request prompt appears.

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.

When a website asks for a permission, Firefox shows a small pop-up with buttons. This report says a website can set a large custom mouse cursor that covers part of that pop-up, so you might click the wrong button without realising. That could let a malicious site trick you into allowing something you did not mean to allow.

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.

More by Hafiizh

View all

78 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

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.