Phishing/Malware site blocking on Brave iOS can be bypassed with trailing dot in hostname
Originally disclosed on HackerOne
- 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
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.