29C3 - Version 1.9

F/a{hr-p).l//a,n
2.9/C-3

Referenten
Andreas Mayer
Programm
Tag Day 3 - 2012-12-29
Raum Saal 6
Beginn 14:00
Dauer 00:30
Info
ID 5210
Veranstaltungstyp Vortrag
Sprache der Veranstaltung englisch
Feedback

On Breaking SAML

Be Whoever You Want to Be

The Security Assertion Markup Language (SAML) is a widely adopted language for making security statements about subjects. It is a critical component for the development of federated identity deployments and Single Sign-On scenarios. In order to protect integrity and authenticity of the exchanged SAML assertions, the XML Signature standard is applied. However, the signature verification algorithm is much more complex than in traditional signature formats like PKCS#7. The integrity protection can thus be successfully circumvented by application of different XML Signature specific attacks, under a weak adversarial model.

In this presentation we describe an in-depth analysis of 14 major SAML frameworks and show that 11 of them, including Salesforce, Shibboleth, and IBM XS40, have critical XML Signature wrapping (XSW) vulnerabilities. Based on our analysis, we developed an automated penetration testing tool for XSW in SAML frameworks. Its feasibility was proven by additional discovery of a new XSW variant. We propose the first framework to analyze such attacks, which is based on the information flow between two components of the Relying Party. Surprisingly, this analysis also yields efficient and practical countermeasures.

Our research was presented at USENIX Security Symposium 2012, Bellevue, WA. For full details, please see attached paper.

Archived page - Impressum/Datenschutz