Open Bug 1822796 Opened 2 years ago Updated 1 years ago

Autofill for different subdomain creates risk of credential leakage across subdomains

Categories

(Toolkit :: Password Manager, defect)

Firefox 111
defect

Tracking

()

UNCONFIRMED

People

(Reporter: neilharris2019, Unassigned, NeedInfo)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0

Steps to reproduce:

Visited a web page that popped up an auth0 login page for a domain that I do not have an account on:

https://[redacted].us.auth0.com/u/login

Actual results:

Firefox popped up an autocomplete for a password that is only defined for

[otherdomain].us.auth0.com

Expected results:

Firefox should not have offered to autocomplete the password, since the domain registered for the password does not match the domain of the web page.

This looks to me like an opportunity for cross-domain password/identity leakage not just for auth0, but for other multi-tenant services. Is the domain only being matched as far as auth0.com or us.auth0.com, instead of the whole domain path?

Component: Untriaged → Password Manager
Product: Firefox → Toolkit

AIUI the same organization/company/entity controls *.auth0.com - they aren't in the public suffix list, so there is no indication to the browser (or me!) that the password would "leak" anywhere than the appropriate folks. Therefore I don't think this is a security bug.

We offer the credentials x-subdomain to avoid situations where companies move their login page or have multiple login pages that all take the same credentials (certainly the case on many intranets and so on). So this behaviour is at least to some degree intentional.

bug 1601558 already exists for the fact that the experience can be overwhelming if you have different sets of credentials for many subdomains.

Not sure if it's valuable to keep this open separate from 1601558 - Serg, what do you think?

Flags: needinfo?(sgalich)
Summary: Inappropriate autofill → Autofill for different subdomain creates risk of credential leakage across subdomains
Group: firefox-core-security
See Also: → 1601558
See Also: → 1835213
You need to log in before you can comment on or make changes to this bug.