Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
- Home
- General
- Feature Requests
- RE: Invalidating active session if a user logs in from another location
RE: Invalidating active session if a user logs in from another location
Description
It is possible to log in to the application from multiple
locations under the same user account simultaneously.
Impact
- Unauthorized Access: Concurrent logins make it difficult to distinguish between legitimate and unauthorized access. An attacker gaining access to the account can operate from a different location, complicating detection.
- Account Compromise: If one set of credentials is compromised, the attacker can access the account concurrently with the legitimate user, potentially leading to unauthorized activities.
- Monitoring Challenges: Tracking user activities becomes more challenging, making it harder to identify suspicious behavior or potential security incidents
See also:
https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#simultaneous-session-logons
https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#binding-the-session-id-to-other-user-properties
Hi Jan,
Doesn't setting the auth.simultaneous.logins property to false covers this request?
See https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/portal.properties#L3480
Regards,
Zsigmond
This indeed works as expected. It needs to be complemented by enabling tracking active sessions, which I remember was discouraged because of performance, but our community is not so large so it is acceptable.
Powered by Liferay™