Apache Wicket session fixation in AuthenticatedWebSession sign-in
Apache Software Foundation Apache Wicket
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache Wicket |
| No fix yet |
Original description
Session fixation in Apache Wicket.
org.apache.wicket.authroles.authentication.AuthenticatedWebSession is the authentication base class of Wicket's role-based security module, and its signIn(String, String) method is the entry point through which an application authenticates a session. Renewing the container session id at that point is the standard defence against an attacker who has fixed a session id in a victim's browser, and Wicket provides that renewal as org.apache.wicket.Session#changeSessionId(), whose documentation directs callers to invoke it on login for exactly that reason.