Skip to content
UI spoofing Disclosed report Advanced CVE-2025-6434

HTTPS-Only anti-clickjacking bypass via a popup that is closed once the timer has run out

A page could bypass Firefox's HTTPS-Only anti-clickjacking protection by opening a popup window and closing it after a timer, so the user ends up interacting with a page that was not upgraded to HTTPS. An attacker could use this to trick a user into clicking on a non-HTTPS page while the browser's protection appears to be active.

Hafiizh Follow

Originally disclosed on Mozilla

  • Fixed in 43 days
  • Paid in 55 days
  • Disclosed after 43 days
Text
Created attachment 9473199
bandicam 2025-03-20 14-10-48-950.mp4

the vulnerability like https://bugzilla.mozilla.org/show_bug.cgi?id=1850200 but this bug using window pop up

Frefox version : 137.0b8  Developer edition
OS : windows 11

steps to reproduce

1. set "Enabled Https-only mode in all window" in about:preferences#privacy
2.  open https://thundering-unruly-windflower.glitch.me/gfx.html or gfx.html
3. click the button
4. double click the button in window popup

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 anti-clickjacking check for HTTPS-Only mode does not account for popup windows that are closed after a timer, leaving the underlying non-HTTPS page interactive.

What the attacker needed

HTTPS-Only mode enabled; victim visits attacker page; victim clicks and double-clicks

How it was found

  1. Enable HTTPS-Only mode in all windows in the privacy preferences.
  2. Open the provided test page.
  3. Click the button on the page.
  4. Double-click the button inside the popup window.

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.

HTTPS-Only mode makes Firefox upgrade web addresses to the secure version, and it also tries to stop a trick where a hidden page sits on top of a real one to steal clicks. This report says that protection can be dodged by opening a small popup window and closing it after a short delay, so the user can be made to click on an insecure page. The reporter shows a video and a test page but gives very little explanation of why it works.

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.