Certified Information Systems Security Professional (CISSP)
Federation assurance levels: FAL1 vs FAL2 vs FAL3 (CISSP)
NIST SP 800-63C-4 defines federation as authenticating a subscriber to a relying party without the relying party verifying the subscriber's authenticators. The identity provider sends a signed assertion. FAL1 is basic protection, FAL2 adds strong protection against assertion injection, and FAL3 also makes the relying party verify an authenticator the subscriber controls.
What is an assertion?
An assertion is a statement from the identity provider (IdP) to the relying party (RP) with information about an authentication event for a subscriber, plus attribute values about that subscriber. The ID Token in OpenID Connect and the SAML assertion are examples.
At every FAL the IdP signs the assertion and the RP validates the signature with the verification key of the expected IdP. The signature protects the integrity of the contents and shows that the IdP is the source. The assertion is also audience-restricted, and the RP must check that it is a targeted RP and must not accept the same assertion twice.
A federated identifier is the combination of a subject identifier, assigned by the IdP, and an issuer identifier for that IdP. Different IdPs choose subject identifiers independently and could collide, so an RP must never process a subject identifier without the issuer.
What does each FAL add?
FAL1: the assertion is signed and audience-restricted to a specific RP or set of RPs. Injection protection is recommended. The trust agreement may be set up by the subscriber during the transaction or established beforehand.
FAL2: the assertion must be strongly protected from injection attacks, the transaction must start at the RP, the audience is a single RP, and the trust agreement must be pre-established. Federated identifiers must not contain plaintext personal information.
FAL3: the RP must also verify that the subscriber controls an authenticator, either one identified in a holder-of-key assertion or a bound authenticator managed by the RP. SP 800-63C-4 says this protects against a compromised IdP. Both kinds of authenticator must be phishing-resistant. The identifiers of the parties must be established manually.
Through a federation proxy, the connection to the downstream RP counts as the lowest FAL along the whole path.
Front-channel or back-channel presentation?
In front-channel presentation the IdP sends the assertion to the RP through a third party such as the subscriber's browser. This exposes the assertion to parties other than the IdP and RP and widens the opening for capture and replay. SP 800-63C-4 does not recommend it when other mechanisms are available.
In back-channel presentation the subscriber carries only an assertion reference, which contains no information about the subscriber. The RP presents the reference to the IdP and fetches the assertion directly. The OpenID Connect authorization code flow works this way: the authorization code is the reference and the ID Token is the assertion.
Where the exam catches people
Believing FAL3 is just stronger signing: its distinguishing requirement is that the RP itself verifies a subscriber-controlled authenticator, which holds even if the IdP is compromised.
Believing a proxied federation takes the FAL of its strongest link: it takes the lowest FAL along the path.
Believing the subject identifier alone identifies a subscriber: it must be paired with the issuer identifier of the IdP that assigned it.
Believing encrypting the redirect fixes assertions leaking into browser history and proxy logs: back-channel presentation keeps the assertion out of the browser entirely.
Believing a password can serve as a bound authenticator at FAL3: bound authenticators must be phishing-resistant, so subscriber-chosen values are excluded.