Skip to content
UI spoofing Disclosed report Beginner

UI spoofing by showing sms:/tel: dialog on another website

The sms:/tel: confirmation dialog in Brave for iOS does not show which website triggered it and appears over the active tab even when another tab is in front. An attacker could use this to make the dialog look like it belongs to a different site, enabling UI spoofing.

nishimunea Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 8 days
  • Paid in 8 days
  • Disclosed after 6 months

Summary:

The dialog asking if you want to open the sms:/tel: link doesn't show the caller origin. Also, unlike the JavaScript alert dialog, etc., it appears on the top screen even when another tab is active. This can be used for UI spoofing attack to make it looks as if another site is displaying the dialog.

Products affected:

  • Brave for iOS (Version 1.45.2)

Steps To Reproduce:

  • Visit https://csrf.jp/brave/sms.php
  • Tap "Click Me" button
  • google.com is opened in the new tab
  • Confirmation dialog for sms: link is shown on google.com

Supporting Material/References:

  • See the demonstration movie I attached

Impact

This can be used for UI spoofing attack to make it looks as if another site is displaying the dialog.

Attachments

sms_tel_dialog_on_other_origin.mov From the original on HackerOne

The original report as published on HackerOne, by nishimunea. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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's confirmation dialog for external protocol handlers lacks origin information and is displayed above the active tab regardless of which tab triggered it.

Impact

This could be used for UI spoofing to make it look as if another site is displaying the dialog.

What the attacker needed

Victim uses Brave for iOS; victim visits attacker-controlled page; victim taps a button

How it was found

  1. Visit the provided test page.
  2. Tap the 'Click Me' button.
  3. A new tab opens google.com.
  4. The sms: link confirmation dialog appears on top of google.com.

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.

When a website tries to open a special link like sms: or tel:, the browser asks you to confirm. In this version of Brave for iOS, that confirmation box did not say which website asked for it, and it could appear on top of a different website you were looking at. An attacker could use this to trick you into thinking the request came from a trusted 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 nishimunea

View all

12 more disclosed reports, best first.

More from Brave Software

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.