Identifying vulnerabilities in cookies

Cookies are small pieces of data sent from websites and stored in the user's web browser. They contain information relative to such browser or to some specific web application's user. In modern web applications, cookies are used to keep track of the user's session. By saving session identifiers on the server and on the user's computer, the server is able to distinguish between different requests made from different clients at the same time. When any request is sent to the server, the browser adds a cookie and then sends the request; the server can identify the session based on that cookie.

In this recipe, we will learn how to identify a couple of vulnerabilities that will allow an attacker to hijack the session ...

Get Kali Linux Web Penetration Testing Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.