SAML Introduction
SAML Introduction
Advantages of SAML
1. SAML enables SSO
User can log in once and the same credentials will be used to log into other
SPs
2. Improved User Experience
Users only need to sign in one time to access multiple service providers.
3. Increased Security
Provides a single point of authentication. Then transfers the identity
information to the service providers.
4. Loose Coupling of Directories
Do not require user information to be maintained and synchronized between
directories
5. Reduced Costs for Service Providers
Don’t have to maintain account information across multiple services
SAML Vulnerabilities
1. Signature not checked
If someone is able to change the name id (username) in the SAML response
and log in as someone else due to the lack of a signature checking process.
2. Signature only checked when it exists
If someone changes the name id value and removes the signature before the
response is received by the browser and is still able to log in as the victim
3. SAML Replay
The attacker captures the SAML response and uses it multiple times to log in
as the victim
4. Comment Injection
A user can be registered with an XML comment in the username
email: prerit<!--notprerit-->@test.com
SAML Process Diagram