Closed Bug 1456529 Opened 8 years ago Closed 8 years ago

Support SameSite attribute on session cookies

Categories

(bugzilla.mozilla.org :: General, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: psiinon, Assigned: dylan)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

45 bytes, text/x-github-pull-request
Details | Review
Firefox 60 introduces support for the SameSite cookie attribute: https://blog.mozilla.org/security/2018/04/24/same-site-cookies-in-firefox-60/ This provides significant protection against CSRF vulnerabilities and so it should be applied to any session cookies. Happy to help with any implementation / checking tasks :)
Heh, added to CGI.pm on 2016-06-14: https://metacpan.org/changes/distribution/CGI#L56 This looks easy.
I want SameSite=Lax right? Not SameSite=Strict because that would mean when clicking on a link that leads to bugzilla you'd not be logged in?
Flags: needinfo?(sbennetts)
Thats right - 'lax' will allow the user to be logged in from normal links, so I think thats best for bmo.
Flags: needinfo?(sbennetts)
Attached file PR
Assignee: nobody → dylan
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Depends on: 1457817
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: