Skip to content
Access control Disclosed report Beginner

Phishing/Malware site blocking on Brave iOS can be bypassed with trailing dot in hostname

nishimunea Follow

Originally disclosed on HackerOne

Medium 6.1 View original
  • Disclosed after 2.5 years

Summary:

Phishing/Malware site blocking feature on Brave iOS blocks navigation to the domains in simple_malware.txt. But that logic doesn't care existence of a trailing dot in the hostname, so http://3e1.cn/ in the list is correctly blocked but http://3e1.cn./ is not blocked.

Safe browsing in Brave for PC/Mac (Chromium based) can blocks both URLs, so Brave iOS should align with it.

Products affected:

  • Brave iOS nightly build

Steps To Reproduce:

  • Enable "Blocking Phishing and Malware" feature on Setting
  • Open http://3e1.cn./

Supporting Material/References:

  • See attached demonstration movie file

Impact

User is taken to the prohibited malware/phishing site with bypassing Brave Shield protection.

Attachments

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

What is known

A medium-severity access control bug in https://github.com/brave/brave-ios, rated CVSS 6.1. HackerOne made it public on 22 June 2023.

About Access control

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.