Reputation: 53
Is there anything to stop a user modifying a SAML assertion being sent to a service provider?
For example, if a SAML response identifies a user to the service provider by email address, is there anything in place within the assertion to stop someone modifying the it using something like Fiddler, and replacing their email address with someone in the same company who has a higher level of access in the service they are trying to access?
Upvotes: 1
Views: 1440
Reputation: 81
Yes it can be modified, but even a slight change in the response(like adding a space) would fail the signature validation process at the service provider end (provided that SP is validating it as it should be done)
Upvotes: 0
Reputation: 97150
The assertions in your SAML response SHOULD be signed using a private/public key pair and xmldsig. If they are correctly signed, changing the contents of an assertion will invalidate the signature, and thus the assertion itself.
Now, if
then pretty much anything is possible.
Upvotes: 5