Horizon Alert
Summary of the vulnerability and why it matters
This vulnerability in the Samly library allows an attacker to bypass authentication by replaying a captured SAML assertion, potentially granting unauthorized access to systems. The core issue lies in the library's failure to enforce a requirement that a SAML assertion be used only once.
- Attackers can reuse old login tokens.
- Critical for verifying single sign-on security.
- Confirm if Samly is used to prevent unauthorized access.
Attack Path
How an attacker could exploit the issue
An attacker can impersonate a legitimate user by capturing a valid SAML assertion and resubmitting it. Since the system does not check for duplicate assertions, the same assertion can be used repeatedly to establish new sessions as the original user. This bypasses authentication controls and allows unauthorized access.
- No authentication required to start.
- Resubmit a captured SAML assertion.
- Unauthorized access to user accounts.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow an attacker to bypass authentication and gain unauthorized access to systems by replaying previously captured SAML assertions. This could happen when a SAML assertion, which is used to verify a user's identity for single sign-on, is intercepted and resent. The system could then incorrectly treat the repeated assertion as a valid authentication event, potentially granting the attacker the same access as the original user.
- System access could be compromised.
- Replay of captured SAML assertions.
- Unauthorized session establishment.
Operational Fix
Recommended remediation, mitigation, and detection steps
This critical authentication bypass vulnerability in the samly library likely falls under the responsibility of the platform or application development teams who integrate SAML for single sign-on. The first practical step is to determine the scope of samly's use within your organization, assess which SAML integrations are exposed externally, and identify the specific applications or services relying on these integrations to prioritize remediation efforts.
- Identify application and platform teams.
- Confirm external SAML integration exposure.
- Plan vendor-coordinated remediation.