/plushcap/analysis/workos/fun-with-saml-sso-vulnerabilities-and-footguns

Fun with SAML SSO Vulnerabilities and Footguns

What's this blog post about?

This text discusses the challenges and vulnerabilities associated with implementing SAML Single Sign-On (SSO) in enterprise applications. It highlights that SAML is XML-based, making it complex and prone to various security issues such as DTD processing attacks, XSW attacks, replay attacks, etc. The text also provides some countermeasures for these vulnerabilities, including disabling DTD processing, validating the SAML response schema first, checking that you're the intended recipient, validating every signature, using the canonicalized XML, and avoiding replay attacks. It suggests using OpenID Connect as a safer alternative to SAML-based authentication.

Company
WorkOS

Date published
Sept. 1, 2020

Author(s)
Celestine Kao

Word count
3098

Language
English

Hacker News points
17


By Matt Makai. 2021-2024.