CISSP · Question #106
Which of the following BEST mitigates a replay attack against a system using identity federation and Security Assertion Markup Language (SAML) implementation?
The correct answer is C. Timed sessions and Secure Socket Layer (SSL). Replay attacks involve an attacker intercepting and reusing valid authentication tokens or assertions. In SAML, timed sessions (assertion validity windows) and SSL (transport encryption) together prevent replayed assertions from being accepted.
Question
Which of the following BEST mitigates a replay attack against a system using identity federation and Security Assertion Markup Language (SAML) implementation?
Options
- ATwo-factor authentication
- BDigital certificates and hardware tokens
- CTimed sessions and Secure Socket Layer (SSL)
- DPasswords with alpha-numeric and special characters
How the community answered
(46 responses)- A9% (4)
- B4% (2)
- C70% (32)
- D17% (8)
Why each option
Replay attacks involve an attacker intercepting and reusing valid authentication tokens or assertions. In SAML, timed sessions (assertion validity windows) and SSL (transport encryption) together prevent replayed assertions from being accepted.
Two-factor authentication strengthens initial user authentication but does not prevent a captured SAML assertion from being replayed after successful authentication has already occurred.
Digital certificates and hardware tokens verify identity at authentication time but do not prevent a valid, already-issued SAML assertion from being intercepted and replayed within its validity window.
SAML assertions include NotBefore and NotOnOrAfter timestamp conditions that enforce a short validity window, meaning a replayed assertion will be rejected once it expires. SSL/TLS encrypts the communication channel, preventing attackers from intercepting assertions in transit to reuse them. Together, these two controls directly address the mechanics of a replay attack against a SAML-based federated identity system.
Strong password complexity policies protect against brute-force and credential-guessing attacks but have no effect on replay attacks, which exploit captured valid tokens rather than guessed credentials.
Concept tested: Mitigating SAML replay attacks with timed assertions and SSL
Source: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
Topics
Community Discussion
No community discussion yet for this question.