Page MenuHomePhabricator

MPIC - Add double-submit cookie when launching a new instrument
Open, Needs TriagePublic3 Estimated Story Points

Description

Description

To prevent Cross-Site Request Forgery we need to add a double-submit cookie when sending the POST to launch a new instrument.

Acceptance Criteria

  • Validate the double-submit cookie. If the double-submit cookie is invalid, then clear the session cookie and redirect to GET /. Otherwise, continue processing the request.

Required

  • Unit/Integration tests
  • Testing instructions
  • Documentation

Notes

https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#signed-double-submit-cookie-recommended

Details

TitleReferenceAuthorSource BranchDest Branch
Added double-submit cookie and some other login related improvementsrepos/data-engineering/mpic!32sfaciT365182-double-submit-cookiemain
Customize query in GitLab

Event Timeline

Sfaci set the point value for this task to 3.Mon, May 20, 7:37 PM