[Koha-bugs] [Bug 26019] Koha should set SameSite attribute on cookies

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 7 01:25:09 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26019

--- Comment #7 from David Cook <dcook at prosentient.com.au> ---
So I'd argue it's not just a case of people creating a security risk by using
SameSite=None, but also a case of people breaking things by using
SameSite=Strict, which really just leaves SameSite=Lax, which is why that's the
default in browsers I imagine. 

SameSite=Lax is a sane default.

SameSite=None has no obvious use to me for Koha.

SameSite=Strict... maybe but probably not. The exception being if we re-routed
people through a login page for new navigations, even when authenticated. If
someone clicked a link in their email for
http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test, and they already
had a valid Koha session for localhost:8081, we could bounce them through
http://localhost:8081/cgi-bin/koha/mainpage.pl, which would then allow you to
use SameSite=Strict. 

But I doubt we're going to change how we handle authentication and navigation
just to use SameSite=Strict.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list