Web Hack List

Collected research

Cookie Bugs - Smuggling & Injection

Java and Python web servers parse the Cookie header differently from browsers. Several still honour RFC2965 quoted strings, so a double quote in one cookie value swallows the cookies after it and can leak an HttpOnly session id to an XSS. Others begin a new cookie on a space, comma or closing quote, letting one controllable value inject spoofed cookies and defeat cookie-based CSRF checks.

Record

Researcher
Ankur Sundara
Published by
arxenix's blog
Date
Topic
Identity

In the archive

Related sources

Tags

This page is the archive's own catalogue record. The research is the work of Ankur Sundara, first published at the original source. Preserved copies are kept so the citation survives its host; this one was last captured on .