Test Session Cookies For Flags

AuthenticationDiscovery

Written with a model's help from “Session Management Weaknesses: 10 Ways Attackers Take Over Accounts” by Isv0x1 on isv0x1 (Medium). Read the writeup before relying on it.

Check the Set-Cookie header in responses from target.com for missing HttpOnly and Secure flags. Send a request to target.com with a cookie that lacks these flags to see if it is accepted. If the flags are missing, try accessing the cookie through document.cookie or intercepting it over an unencrypted connection to confirm the vulnerability. Missing flags do not necessarily prove session theft or exposure, so demonstrate an attack path, such as exploiting XSS or accessing an HTTP endpoint, to show the security impact.

Follow #authentication, #cookie-security or #session-management for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.