
Summary: Brave browser is not following proper flow for redirection. Browser is directly redirecting to the site that is present in redirect parameter without confirming from the main site server. I have found this vulnerability and this is affecting Facebook. Facebook use l.facebook.com/l.php?u=<redirect_site> for redirection and when server gets the request it check whether the redirect_site is in the list of there malicious(linkshim) list or not. If not then Facebook redirect it properly. But when we try to go to a site like https://l.facebook.com/l.php?u=https://test.facebook-whitehat.com/ then brave browser is directly requesting to https://test.facebook-whitehat.com/ (a domain resticted by facebook which can be used for testing prepose) without asking Facebook server whether should I redirect or not. But other browser are properly following the flow. Products affected: Windows 11, Version 1.38.119 Chromium: 101.0.4951.67 (Official Build) (64-bit) Steps To Reproduce: Open brave browser in windows Intercept the requests Go to https://l.facebook.com/l.php?u=https://test.facebook-whitehat.com/ and you will notice that it directly generating a request https://test.facebook-whitehat.com/ not to l.facebook.com Supporting Material/References: I also soon how other browser is responding and how brave is responder. POC video attached Impact Brave has seen a massive growth in 2021 quarter and Facebook is the one of the largest used social media. Due to this vulnerability...