Test SAMLResponse for signature verification
When testing a SAML integration, try modifying the NameID in a SAMLResponse to an administrative account, such as admin@target.com, and re-encoding it. If the Service Provider accepts the modified response without verifying the signature, you may be able to bypass authentication. To test, start a normal SAML login, intercept the SAMLResponse in your proxy, and modify the NameID before forwarding it to the Service Provider. If you are logged in as the administrative account, it indicates a vulnerability. You can also try removing the ds:Signature element or emptying its contents to see if the Service Provider silently skips validation.
Follow #authentication, #saml or #signature for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.