Stealing HttpOnly Cookies with the "Cookie Sandwich" Technique
The "cookie sandwich" technique exploits how web servers parse cookies containing special characters, potentially compromising HttpOnly cookies. By embedding quotes and legacy cookies within a cookie header, an attacker can manipulate the server's interpretation, leading to the exposure of sensitive cookies to client-side scripts. This vulnerability arises because certain servers process cookies in a way that allows such manipulation, highlighting the need for robust cookie handling and validation to prevent unauthorized access.
https://portswigger.net/research/stealing-httponly-cookies-with-the-cookie-sandwich-technique
Comments
Post a Comment