Tag

Tips tagged #saml

Published tips with this tag, newest first. Payloads and commands are shown as plain text.

Feed of #saml

Tag #samlRemove tag filter

  • 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 atta…

    Other injection (LDAP, XPath, XSLT, CSS, LaTeX)Discovery

  • Test SAML SignedInfo for buffer overflow

    <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"/>

    Remote code execution (RCE)Discovery

  • Test SAML signature verification

    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…

    AuthenticationDiscovery

  • 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.

    AuthenticationDiscovery