Session Fixation in Java

From OWASP
Revision as of 02:42, 12 October 2007 by Stephendv (Talk | contribs)

Jump to: navigation, search

Status

This article is in DRAFT

Overview of Session Fixation

A detailed overview on session fixation can be found here: Session Fixation

Countermeasures

  • Session ID should be regenerated after login, and switching in and out of SSL

(Comment: Could expand on why this is important)

 session.invalidate();
 session=request.getSession(true);
  • Disable URL rewriting
(Comment: How does one do this in the popular web containers?, and what threat does this mitigate?)