News for hackers. Stuff that matters.
Re:What Craigslist Did Right: User Management Without Userna... by Sidnicious on Wednesday February 15, 2012 @04:06PM (#3596048)
I’m not too familiar with Rails (and this is unrelated to the point of the article), but is this code vulnerable to a session fixation attack (https://www.owasp.org/index.php/Session_fixation)?

I notice that it doesn't destroy the session when you log in/out, just changes a session variable.

Re:What Craigslist Did Right: User Management Without Userna... by cheald on Wednesday February 15, 2012 @04:25PM (#3596138)
No; session fixation requires that the attacker gain access to a session id and pass that on to the user. Rails doesn't use session ids by default. All session data is stored in the client cookie, and is verified with a cryptographic hash. If you can steal the cookie, you win, but that's much harder than session fixation.