This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Session Fixation in Java

From OWASP
Revision as of 07: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?)