Issue
- One user's session is accessed by knowing the respective user's JSessionID.
-
Steps for reference:
1) 2 users (say: User A and User B)
2) User "A" logs-in to the system
3) Now, user "A" has one Jession ID(0D13262EDECBA19E93D5A753FC34E03A) and shares his JSessionID to user "B"
4) Replace the Jsession ID of already logged in user "B" with A user's Jsession ID
5) The A user's session is accessed in the browser.
Environment
- Liferay 7.x
Resolution
- It is not a security issue, rather, one of the users deliberately shared his confidential information to others. Making use of which, the browser will definitely be able to access the respective user's session using JessionID. Incase, the browser is not aware of the A user's JsessionID, the user session will not be accessed.
Additional Information
- Taking another example, if user A shares his internet banking details with user B and then he is able to login to internet banking, this can not be considered as A's internet banking has been hacked by user B, rather he just used the information's given by user A but he shouldn't, as it should be confidential.