Tag #samlRemove tag filter
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 atta…
POST /saml/login HTTP/1.1Host: target.comContent-Length: 1090…
<ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="N0 N1 N2 ... N1999"/>…
Try sending a SAML response with the sigalg set to none or an otherwise invalid signature to see if the target accepts it. If the target verifies SAML signatures as optional, it may be vulnerable to session takeover. Look for a successful login or session establishment in the re…
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.