Test SAML for XML signature wrapping attacks
To test a SAML implementation for XML signature wrapping attacks, send a SAMLResponse with a modified Signature element that wraps the original signature in a new signature. If the implementation accepts the modified signature, it may be vulnerable to XML signature wrapping attacks. Look for a successful authentication response from the service provider (target.com) to confirm the vulnerability. You can use a tool like samltool.io to generate and modify the SAMLResponse payload. Be sure to test the implementation's handling of XML canonicalization and enveloped signatures as well.
Follow #saml, #xml-signature or #xsw for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.