News for hackers. Stuff that matters.
Re:SAML Is Insecure by Design by tptacek on Thursday August 05, 2021 @10:26PM (#28082620)
The problem isn't that there's no valid use case for it; it's that there's no use case for it in SAML, just as there's no valid SAML use case for XML comments (which also broke SAML).

You can defend DSIG in a lot of different ways. I'll disagree with all of them and feel like I could probably win the argument; DSIG is a cursed standard. But that's not the bar you have to clear in this discussion; here you have to establish that DSIG is good for SAML. It clearly isn't.

Re:SAML Is Insecure by Design by stouset on Friday August 06, 2021 @03:21AM (#28084217)
I might be wrong but I vaguely remember that something like “all” of the popular open source SAML libraries in the wild were vulnerable due to DSIG mishandling circa 2012. They’d blindly accept any document as valid as long as there was a signature in place that signed some element, but didn’t bother to check that that element was the set of assertions actually being used.
Re:SAML Is Insecure by Design by rb12345 on Friday August 06, 2021 @11:36AM (#28088616)
There were similar issues more recently (2018/19) with custom XML entities or comments. The XML signature was unaffected, but if code used the equivalent of element.children[0] to get the contents, it was possible for attackers to truncate the attribute values seen by the service provider library.
Re:SAML Is Insecure by Design by tptacek on Friday August 06, 2021 @10:19AM (#28087456)
Yep. You still find variants of that today.