ASP.NET Cookieless Session State Is Enabled

Severity: Medium

Invicti detected that the cookieless session state is enabled inside of the ASP.NET application.


When an ASP.NET application is configured to use cookieless session state, it stores the authentication token in the page URLs rather than a cookie. This makes it easier for an attacker to perform session hijacking.

Actions To Take#

Cookieless Forms Authentication is enabled within the machine.config file or the web.config file of your application by setting the new cookieless attribute. To disable cookieless session state, set cookieless attribute to “UseCookies”.



    <authentication mode="Forms">

      <forms name=".ASPXAUTH"








             cookieless="UseCookies" />




Build your resistance to threats. And save hundreds of hours each month.

Get a demo See how it works