Friday 27 November 2026 13:29:38 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

Session cookie

A browser token that can keep a user logged in and may be abused if stolen.

A session cookie is a small browser token that identifies an authenticated web session. After you log in, the server may set this cookie so you do not need to enter your password on every page. The cookie usually contains a session ID or similar reference, not the password itself.

Session cookies matter because whoever holds a valid one may be able to act as that user until the session expires or is revoked. Attackers steal them with infostealers, phishing pages, cross-site scripting, malicious browser extensions, or memory and browser-data theft on compromised endpoints. Once captured, a cookie can sometimes be replayed to bypass login prompts and even weaken MFA if the application treats the existing session as already trusted. Defenders reduce this risk with short session lifetimes, Secure and HttpOnly flags, SameSite settings, reauthentication for sensitive actions, token binding or device checks, and rapid session invalidation after suspicious activity.

← WIKICROOK index