Re:Vaultwarden commit introduces SSO using OpenID Connect
by victor106 on Friday August 15, 2025 @11:35AM
(#44913678)
> a simple network policy and blocking the container from using DNS
Can you please point to some resources that can help with how to do this?
Re:Vaultwarden commit introduces SSO using OpenID Connect
by NewJazz on Saturday August 16, 2025 @12:09AM
(#44920072)
Not sure about the DNS part, but NetworkPolicies should be familiar to anyone who takes Kubernetes seriously.
https://kubernetes.io/docs/concepts/services-networking/netw...
Re:Vaultwarden commit introduces SSO using OpenID Connect
by ronnier on Friday August 15, 2025 @11:14AM
(#44913442)
I use Docker (in Unraid).
Re:Vaultwarden commit introduces SSO using OpenID Connect
by currysausage on Friday August 15, 2025 @01:50PM
(#44915387)
The web frontend could still send secrets to third parties.
Re:Vaultwarden commit introduces SSO using OpenID Connect
by maxwellg on Friday August 15, 2025 @04:27PM
(#44916935)
For extra security, an intermediary can set Content Security Policy (CSP) headers that instruct browsers to only connect to certain domains. CSP headers aren't a total solution, but they're a good tool in the toolkit for redundancy against exfiltration.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...
Re:Vaultwarden commit introduces SSO using OpenID Connect
by NewJazz on Saturday August 16, 2025 @12:21AM
(#44920147)
It could be a system without a web ui, like a database or database proxy. Or it could have multiple web and native UIs (that are open source), e.g. a matrix service.
Re:Vaultwarden commit introduces SSO using OpenID Connect
by caymanjim on Friday August 15, 2025 @07:26PM
(#44918434)
Why do you think that DNS is required? Anything malicious could (and likely should) hard-code an IP.
Re:Vaultwarden commit introduces SSO using OpenID Connect
by crimsonnoodle58 on Friday August 15, 2025 @09:45PM
(#44919330)
You ensure DNS is disabled to stop DNS exfil. You can google it, but basically they exfil data by looking up encoded subdomains.
Hardcoding an IP won't help if the network policy disallows all network access.
I do this for most containers.
If the container must have web access in some form, setup a squid proxy and only whitelist safe and trusted domains that can't be exfilled to.