SAML: A fractal of bad design
Reporting by Trail of Bits BlogRead the original at blog.trailofbits.com
Executive Summary
Facts Only
* SAML was created in 2002 by the Organization for the Advancement of Structured Information Standards (OASIS) Security Services Technical Committee (SSTC).
* Four XML-based security protocols were contributed to the SSTC: S2ML, AuthXML, X-TASS, and ITML.
* Authentication projects included CAS (Yale, 2002), Shibboleth IdP (Internet2, 2003), ADFS (Microsoft, 2003), and simpleSAMLphp (Uninett, circa 2007).
* The SSO and authentication provider industry saw the emergence of companies like Ping Identity (2002), OneLogin (2009), Okta (2009), and Duo Security (2010).
* XML is complex compared to JSON, and SAML implementations often rely on complex XML signature validation.
* XML contains numerous security bug classes, including XXE, entity expansion, DTD retrieval (SSRF), XPath/XQuery/XInclude/XSLT/CDATA injection.
* XML signature wrapping (XSW) attacks were tested in the context of SAML implementation.
* Canonicalization issues can lead to parser differential and round-trip bugs.
* SAML design is critiqued for being built on complex XML, utilizing "kitchen-sink" design, and suffering from ossification due to outdated assumptions about transport (HTTP vs. HTTPS) and network topology.
Full Take
From the original · Trail of Bits Blog
Born out of academia and raised in corporate IT departments, the Security Assertion Markup Language (SAML) authentication protocol continues to be a staple in these organizations. However, it’s time for it to retire.Read the full story at blog.trailofbits.com
Sentinel — Human
The text is a deeply argued, expert-level critique of SAML's design and evolution, demonstrating strong human analytical synthesis over pure factual reporting.
