Show Select Option on any Website
A malicious website could bypass a security fix intended to prevent showing a select option by using alternative event handlers such as onmousedown. This could allow the attacker to display a select option on any website, potentially leading to user interface confusion or other attacks.
Originally disclosed on Mozilla
- Fixed in 3 months
- Paid in 4 months
- Disclosed after 3 months
Created attachment 9414460
poc.html
Bug 1875824 was not properly fixed by Bug 1877969, and there is a workaround. A malicious website could use other methods, such as `onmousedown`, to bypass the security measures.
Steps to Reproduce:
1. Download the poc.html file.
2. Open the poc.html file in firefox for testing.
Tested on latest Nightly build version: 130.0a1 (2024-07-23) (64-bit), OS: Windows 11
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 previous fix only blocked specific event handlers (e.g., onclick) but did not account for other user interaction events like onmousedown that can also trigger the action.
What the attacker needed
Victim uses Firefox; victim visits malicious site
How it was found
- Download the poc.html file.
- Open the poc.html file in Firefox for testing.
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.
This report is about a web browser security feature that was supposed to stop a website from opening a dropdown menu (select option) on another website. The fix was incomplete, so an attacker could still do it using a different trigger, like when the mouse button is pressed. This could trick users or cause unexpected behaviour.
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.