Official nomination
Cracking Ruby on Rails Session
Let Me Github That For You
Rails keeps sessions in a client-side cookie signed with an HMAC whose secret lives in config/initializers/secret_token.rb, a file developers routinely commit to GitHub. With the secret a session can be forged: authenticated_system falls to user_id=>1, and authlogic falls to a find_by_id hash injecting a :select of "* from users limit 1 --".
Preserved copies · joernchen · Original publication ↗
Record
- Document
- Let Me Github That For You
- Researcher
- joernchen
- Published by
- phenoelit.org
- Topic
- Identity
In the archive
- Nominated for the 2012 Top 10 Web Hacking Techniques · Open this archive record
2012Full list (Wayback) (unverified) ↗
Announcement provenance and preserved copies
WhiteHat Security · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official nominations and results · Historical original URL ↗ · Preserved nominations and results (PDF)
Related sources
- Rails cookie signing script
Author not stated
External source · no preserved copy
Tags
This page is the archive's own catalogue record. The research is the work of joernchen, first published at the original source. Preserved copies are kept so the citation survives its host.