Results 1 to 3 of 3

Thread: What is SessionFixationProtectionFilter?

  1. #1
    Join Date
    Feb 2012
    Posts
    9

    Question What is SessionFixationProtectionFilter?

    Why we used SessionFixationProtectionFilter?

  2. #2
    Join Date
    Dec 2008
    Location
    India
    Posts
    295

    Default

    If Session Fixation Protection is enabled Spring Security will add a filter into stack, its name is SessionFixationProtectionFilter. what it is, plz just look into doc for "Session Fixation Protection".
    Enjoy
    Rohan Chauhan
    ------------------------------------------------------------------------------
    SpringSource Certified Spring 3.0 Professional


  3. #3
    Join Date
    Feb 2012
    Posts
    9

    Default

    I read this one....
    -------------------
    Indicates whether an existing session should be invalidated when a user authenticates and a new session
    started. If set to "none" no change will be made. "newSession" will create a new empty session.
    "migrateSession" will create a new session and copy the session attributes to the new session. Defaults
    to "migrateSession".

    In thi Scenario:
    Mallory has determined that http://unsafe/ accepts any session identifier, accepts session identifiers from query strings and has no security validation. http://unsafe/ is thus not secure.
    Mallory sends Alice an e-mail: "Hey, check this out, there is a cool new account summary feature on our bank, http://unsafe/?SID=I_WILL_KNOW_THE_SID". Mallory is trying to fixate the SID to I_WILL_KNOW_THE_SID.
    Alice is interested and visits http://unsafe/?SID=I_WILL_KNOW_THE_SID. The usual log-on screen pops up, and Alice logs on.
    Mallory visits http://unsafe/?SID=I_WILL_KNOW_THE_SID and now has unlimited access to Alice's account.



    but i m getting exactly....
    as per my understading Attacker will use the use the Session ID of original User.
    and in "migrateSession" option it will copy the attributes to new Session then how can it will check new Session is used by original User.means how can original User identified?
    Please Explain me How exatly this Filter Works?
    Thanx in Advance
    Last edited by sutharhemal; Mar 3rd, 2012 at 06:04 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •