12

Identity Providers (IdP) often provide a metadata file that is used when setting up SAML. This file needs to be entered into a Service Provider (SP). Do we need to keep this metadata file private and secure? Or is the information within it all safe to make public? I'm curious when setting up a service provider what level of protection we must place on this information.

1 Answer 1

10

The metadata file doesn't have any sensitive information in it. It provides information that the SP can use to trust an assertion coming from [IdP] (so no one else can claim to be [IdP]). The typical information it contains are: SSO URL, issuer name, and the certificate containing the PKI "public" key. All of these are pretty much public anyway (as any user can see them in the SAML assertion if they capture it in the browser). With this information, the bad guy cannot really do anything.

Source link went dead.

2
  • Couldn't someone perform MITM later if the metadata exchange is intercepted from the beginning?
    – musiKk
    Commented Feb 17, 2015 at 14:26
  • @musiKk leveraging a MitM position is largely impractical with properly deployed SAML 2.0 IdPs and SPs since the messages are encrypted and cryptographically signed. The attacker would need to break the private keys to take advantage of a MitM position. Even MitB (Man-in-the-Browser) can be mitigated somewhat since SAML IdPs can be very practically deployed to whitelist locality (LAN, trusted network, VPN). Commented Jun 29, 2015 at 18:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .