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

Security bug Clickjacking to allow permission using datepicker

A clickjacking issue occurs when the datepicker closes and shifts focus, allowing an attacker to overlay the permission prompt and trick the user into granting a permission. The report demonstrates this by repeatedly clicking the 'next month' button.

Hafiizh Follow

Originally disclosed on Mozilla

  • Fixed in 22 days
  • Paid in 29 days
  • Disclosed after 22 days
Text
Created attachment 9408070
bandicam 2024-06-18 11-05-54-099.mp4

when selecting a date on the datepicker and the datepicker closes because it changes focus to another input this causes clickjacking at the permission prompt


steps to reproduce:

1. open dtclickjacking.html
2.do many Click on "next month" button

Operating System : Windows 10
Firefox version : Firefox Developer version 128.0b4 (64-bit)

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

Impact

An attacker could trick a user into granting a permission via clickjacking, though the report does not specify which permission or the full extent.

What the attacker needed

Victim uses Firefox; victim interacts with datepicker; attacker can overlay UI

How it was found

  1. Open the provided HTML file.
  2. Click the 'next month' button many times.

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.

Clickjacking is when a malicious page tricks you into clicking something you didn't intend to, like a hidden button. Here, the datepicker's focus change lets an attacker place a fake permission prompt over the real one, so clicking 'next month' might actually grant a permission.

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.