Re:Bitwarden leaks passwords to other subdomains
by geofft on Sunday September 20, 2020 @08:46AM
(#24533689)
Not only that, but github.io is on the Public Suffix List, which is designed for this purpose. Any site that allows users to run servers or host arbitrary HTML/JS on a subdomain should ensure that the parent domain is on the Public Suffix List, which ensures that one user can't even attack another. (The other problem the Public Suffix List solves is that "foo.co.uk" and "bar.co.uk" shouldn't be treated like "foo.example.com" and "bar.example.com", even though they have the same number of components.)
Re:Bitwarden leaks passwords to other subdomains
by lioeters on Sunday September 20, 2020 @09:31AM
(#24533925)
Interesting - I'd heard about the reasoning for github.io being separate from github.com, to deal with untrusted subdomains. But I didn't know that anyone could register on the Public Suffix List.
The submission process is done via a pull request, described here:
Any popular service at this point wouldn't be allowing user content on their main domain.