My understanding is that ASP generates a cookie to authenticate a session. However, if that cookie is sent back and forth over a non https channel, can’t I spoof it simply by spoofing the cookie? Can the cookie be locked to a particular IP or other machine fingerprint?
My understanding is that ASP generates a cookie to authenticate a session. However, if
Share
Sessions in ASP.NET aren’t authenticated – authentication is entirely separate. By taking a session cookie and recreating it yes you can hijack the session, and if you lift an authentication cookie then you can authenticate as a user (which is why, by default, authentication cookies expire) – see http://msdn.microsoft.com/en-us/library/ms178581.aspx
The security note is quite clear;