Re:Bitwarden leaks passwords to other subdomains
by philliphaydon on Sunday September 20, 2020 @08:13AM
(#24533533)
I just re-read the thread and realise I completely missed the bit where auto-fill is sent when turned off. That definitely had to be a bug!
In regards to the last statement. It’s much rarer now-days for a sub domain site to be owned outright by someone else where they have logs or a deployed website to capture this information.
In fact I honestly cannot think of a subdomain where I can upload my own code to. All the sub domains I can think of are just for multi tenant systems so you have to trust the root domain.
Re:Bitwarden leaks passwords to other subdomains
by SturgeonsLaw on Sunday September 20, 2020 @10:13AM
(#24534162)
Dynamic DNS hosts could have thousands of subdomains under an individual domain, can be registered for free, and those credentials could get an attacker right into people's home networks. An attacker could hide a bunch of iframes in a page and cover lots of bases in one go.
Re:Bitwarden leaks passwords to other subdomains
by shakna on Sunday September 20, 2020 @08:52AM
(#24533714)
Github Pages, Netlify, Surge. Wordpress hosts. All of these have very different people controlling the code on the subdomain, than on the root. The root in many cases may actually be trustworthy, but there's no reason to send them credentials that belong with the subdomain.
Re:Bitwarden leaks passwords to other subdomains
by davchana on Sunday September 20, 2020 @09:08AM
(#24533797)
Correct, one example of that subdomain is; ca.gov domain is main domain of California Government, and each department of government have their own sub domain here, often at many levels, dmv.ca.gov, CalCareers.ca.gov, calconnect.ca.gov, dgs.ca.gov. All of these 4 have their own account options & passwords. Chrome displays all options on all domains, but on EXACT match, it just shows username, & shows other sub-domains under username, the ones which doesn't match with current dub domain.
Re:Bitwarden leaks passwords to other subdomains
by manojlds on Sunday September 20, 2020 @08:19AM
(#24533576)
Isn't that why sites like GitHub Pages moved to GitHub.io.
Any popular service at this point wouldn't be allowing user content on their main domain.
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:
Also, on what basis is your last statement? There are plenty of scenarios where a subdomain is managed different people, or even different companies. Why should you not trust the root domain if you don't trust the subdomain?