Overview
All versions of the auth0-aspnet and auth0-aspnet-owin packages have a security vulnerability that leave client applications vulnerable to a Cross-Site Request Forgery (CSRF) attack during authorization and authentication operations. The root cause of this vulnerability is lack of use and verification of thestate
parameter in and Connect (OIDC) protocols that allows an attacker to inject their authorization code into victim’s session.
Am I affected?
If you use any version ofauth0-aspnet
or auth0-aspnet-owin
, you are affected by this vulnerability.
How to fix that?
Further development of the auth0-aspnet and auth0-aspnet-owin packages has been discontinued. We strongly recommend moving to OWIN 4 and the officialMicrosoft.Owin.Security.OpenIdConnect
package, which is not vulnerable.
If your application is not currently making use of OWIN, please refer to Microsoft’s OWIN documentation to enable it in your application.