IdP CSRF Defence

Philip Smart Philip.Smart at jisc.ac.uk
Fri Jul 5 12:12:26 EDT 2019


Hi All,

I have put together three options for integrating a synchroniser token pattern based Cross Site Request Forgery (CSRF) defence into the IdP's Password authentication flow [1] (and potentially more widely). Each comes with an implementation (in a feature branch) on my personal git repository [2] (which should allow anonymous read access).

Login CSRF is fairly difficult to exploit on the IdP in its current state, but an additional defence should make that more robust/concrete.

This work does not represent production ready enhancements, or is not endorsed by anybody at this stage. It just represents some investigatory work and proof of concepts I have been working on.

All comments welcome…including, why did you do that, why did you not just do this….



[1] https://wiki.shibboleth.net/confluence/display/DEV/CSRF+Mitigation+Options
[2] git at git.shibboleth.net<mailto:git at git.shibboleth.net>:philsmart/java-identity-provider

Phil

Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.

Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20190705/04b309e8/attachment.html>


More information about the dev mailing list