Skip to content
UI spoofing Disclosed report Intermediate CVE-2023-6211

HTTPS-Only mode bypass through clickjacking

The HTTPS-Only mode warning page's disable button lacked an activation delay, allowing a clickjacking attack where a user's delayed click on an attacker-controlled button could inadvertently disable HTTPS-Only mode and permit an HTTP page to load.

Muneaki Nishimura Follow

Originally disclosed on Mozilla

  • Fixed in 32 days
  • Paid in 39 days
  • Disclosed after 32 days
Text
Created attachment 9350319
https-only-mode-click-jacking-bypass.mov

As well as the TLS certificate exception screen pointed out by CVE-2023-34414, HTTPS-Only mode disable button does not have activation-delay implemented. This could be used for clickjacking with human response time delays.

In the following example site, when the mouse touches the button labeled Click Me, the screen switches to the HTTPS-Only Mode warning page. If the user presses the button even a little late, the button to disable HTTPS-Only Mode is inadvertently pressed, and the page transition to the http: page is succeeded.
https://csrf.jp/2023/https-only/

The original report as published on Mozilla's Bugzilla, by Muneaki Nishimura. 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 HTTPS-Only mode warning page's disable button did not implement an activation delay, unlike other security-sensitive buttons.

Impact

An attacker could trick a user into disabling HTTPS-Only mode and loading an insecure HTTP page, though the attack relies on timing and user interaction.

What the attacker needed

Victim uses a browser with HTTPS-Only mode; victim visits attacker-controlled site; victim clicks at the right moment

How it was found

  1. Visit the attacker's example site.
  2. Move the mouse over the button labelled Click Me.
  3. The screen switches to the HTTPS-Only Mode warning page.
  4. Press the button slightly late, inadvertently pressing the disable button.
  5. The page transition to the http: page succeeds.

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 is a browser feature that warns you before loading an insecure HTTP page. This report shows that the warning page's 'disable' button could be clicked by accident if an attacker tricks you into clicking a button on their site at the right moment, because the button appears under your mouse without a short safety delay.

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 Muneaki Nishimura

View all

74 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.