HexBrain

Brave Software · Report #1819652

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

Validstatus
lowseverity
3upvotes
22 Jun 2023disclosed

How it was found

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.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original