Skip to content
GitHub

Yummy cookies across domains

Apr 10, 2013Vicent Martí11 min read
Opens github.blog
What the post coversAI, from the source post

This post details the technical challenges and server-side mitigations for cross-domain cookie vulnerabilities, specifically 'cookie tossing,' 'cookie paths workaround,' 'cookie escaping,' and 'cookie overflow.'

  • It explains how browsers send cookies, the implications of RFC 6265, and the implementation of Rack middleware to drop malicious cookies by inspecting duplicate session cookies, handling path-specific cookies, and addressing URL-encoded cookie names.
  • The post also highlights the limitations of server-side mitigation due to browser cookie overflow limits, which necessitated the migration of GitHub Pages to a dedicated `github.io` domain.
Read the full post on github.blog · 11 min (opens in a new tab)

More from the Cross-domain cookie security and migration trail