Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding Secure cookies to ITlsTokenBindingFeature #4680

Closed
Tratcher opened this issue Apr 11, 2016 · 10 comments
Closed

Binding Secure cookies to ITlsTokenBindingFeature #4680

Tratcher opened this issue Apr 11, 2016 · 10 comments
Labels
area-auth Includes: Authn, Authz, OAuth, OIDC, Bearer bug This issue describes a behavior which is not expected - a bug.
Milestone

Comments

@Tratcher
Copy link
Member

Any protected cookie marked as Secure should also use ITlsTokenBindingFeature as part of its protection.

Today CookieAuth always uses ITlsTokenBindingFeature if it's available, ignoring CookieSecureOption. Check CookieSecureOption before applying ITlsTokenBindingFeature.

Other protected data to consider:
OAuth state field
OIDC state fields
OIDC nonce
Twitter request token

@Tratcher
Copy link
Member Author

@kevinchalet
Copy link
Contributor

On a related note, you should also consider adding an option in the cookies middleware to disable this feature as it may prevent sharing cookies with OWIN/Katana apps using the interop stuff.

@Tratcher
Copy link
Member Author

I'd prefer to enable/disable ITlsTokenBindingFeature at the source (e.g. the server) rather than at each consumption point.

@kevinchalet
Copy link
Contributor

Well, I guess we could argue that one may want to disable it for a specific cookie only, rather than for the entire app, but either way, I'm fine.

@Eilon Eilon assigned muratg and unassigned Tratcher May 12, 2016
@Eilon
Copy link
Member

Eilon commented May 12, 2016

Need to follow up with partner teams for ANCM and SslStream to see their plans for RTM.

We could theoretically start implementing this here and test with WebListener, but only once we have commitment from partners.

@muratg muratg removed their assignment Sep 22, 2016
@Tratcher
Copy link
Member Author

@Tratcher
Copy link
Member Author

@aspnet-hello aspnet-hello transferred this issue from aspnet/Security Dec 13, 2018
@aspnet-hello aspnet-hello added this to the 3.0.0-preview2 milestone Dec 13, 2018
@aspnet-hello aspnet-hello added 1 - Ready area-auth Includes: Authn, Authz, OAuth, OIDC, Bearer bug This issue describes a behavior which is not expected - a bug. labels Dec 13, 2018
@Eilon Eilon modified the milestones: 3.0.0-preview2, Backlog Dec 13, 2018
@Eilon
Copy link
Member

Eilon commented Dec 13, 2018

Moving to backlog because it is unclear when we would bring this in.

@blowdart
Copy link
Contributor

blowdart commented Dec 5, 2019

Closing as it's unlikely token binding is alive any more.

@blowdart blowdart closed this as completed Dec 5, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Jan 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-auth Includes: Authn, Authz, OAuth, OIDC, Bearer bug This issue describes a behavior which is not expected - a bug.
Projects
None yet
Development

No branches or pull requests

6 participants