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

datalist option can hide url address bar lead to spoof

A datalist dropdown in Firefox could be drawn over the browser's URL address bar, so the page could obscure the real address shown to the user. An attacker could use this to make a spoofed page look like it is on a trusted site.

Hafiizh Follow

Originally disclosed on Mozilla

  • Fixed in 8 days
  • Paid in 13 days
  • Disclosed after 8 days
Text
Created attachment 9327180
spooffirefox.html

I found a vulnerability on firefox 110.0.1 (64-bit) (i tested on windows OS) where datalist option can cover url  address bar which can lead to spoofs.

step to reproduces:

1. open http://103.186.0.20/datalist.html or spooffirefox.html
2. press "h" then the option of datalist  cover url  address bar

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 did not constrain the rendering layer of the datalist popup, allowing page-controlled UI to paint over browser chrome.

Impact

A page could obscure the address bar with its own dropdown, which may help an attacker spoof a trusted site; the report does not demonstrate a full attack beyond the visual overlap.

What the attacker needed

Firefox 110.0.1 on Windows; victim visits a crafted page; victim types a trigger character

How it was found

  1. Open the provided test page in Firefox on Windows.
  2. Type the letter h into the input to trigger the datalist suggestions.
  3. Observe the datalist options covering the URL address bar.

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.

The address bar is the strip at the top of the browser that shows which website you are on. A datalist is a built-in dropdown list of suggestions attached to a text input on a page. Here the dropdown was drawn on top of that strip, so a malicious page could hide the real address and pretend to be another site.

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.