Cyber Risks · PortSwigger Research

Using Burp to Test Session Token Handling - Port Swigger

Summary: PortSwigger's tutorial describes using Burp Suite to test session token handling, noting that however well tokens are generated, an application is open to attack if tokens are handled carelessly, since a disclosed token lets an attacker hijack sessions even when prediction is impossible. It walks through configuring Burp with the browser, setting target scope, enabling live scanning, and walking the application from first access through login to watch for issues such as cookies missing the secure flag, which its passive scanner reports as "SSL cookie without secure flag set" and "Cookie without HttpOnly flag set."

Key Takeaway: The tutorial's own example, Gruyere, shows a session cookie sent without the secure flag, meaning the token can travel over an unencrypted connection where anyone positioned on the path can take it and reuse the session.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related