Session Cookie is stored locally on User's Browser as a part of HTTP Response after successfully Authentication.
Session Cookie is used to Authenticate User during subsequent HTTP Requests.
This way User doesn't have to go through Login Form for each subsequent HTTP Request.
Instead during each subsequent HTTP Request Session Cookie is automatically sent to the Web Application in order to
Automatically Authenticate User (tell Server who made the HTTP Request).
Session Cookie is assigned to a specific URL/Domain where Web Application that sent it lives
● This means that when User sends another HTTP Request to http://www.gmail.com/myemails Session Cookie assigned
to www.gmail.com is send with the HTTP Request to automatically Authenticate User into Gmail Web Application.
● If User sends HTTP Request to some other URL/Domain like http://www.yahoo.com/myemails different Session
Cookie, the one assigned to www.yahoo.com is send with the HTTP Request to automatically Authenticate User into
Yahoo Web Application.
HTTP Response with a Session Cookie
POST /email/change HTTP/1.1
Host: vulnerable-website.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 30
Cookie: session=yvthwsztyeQkAPzeQ5gHgTvlyxHfsAfE
email=wiener@normal-user.com