SimpleSAMLphp SAML2で署名されていない応答により認証を回避される脆弱性
Summary
SimpleSAMLphp の SAML2 ライブラリで、HTTP-Artifact バインディングの署名検証が不完全なため、信頼されたIdPの攻撃者が署名のない埋め込み Response を使い、別のIdPになりすませるおそれがあります。影響するのは 6.2.2 から 6.2.4 未満、および 7.0.0-rc2 です。6.2.4 と 7.0.0-rc2 で修正されているため、修正版への更新を進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SimpleSAMLphp の SAML2 ライブラリで、HTTP-Artifact バインディングの署名検証が不完全なため、信頼されたIdPの攻撃者が署名のない埋め込み Response を使い、別のIdPになりすませるおそれがあります。影響するのは 6.2.2 から 6.2.4 未満、および 7.0.0-rc2 です。6.2.4 と 7.0.0-rc2 で修正されているため、修正版への更新を進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| simplesamlphpsaml2 | — | Not listed |
| Packagistsimplesamlphp/saml2 |
≥ 7.0.0-rc1, < 7.0.0-rc2→ 7.0.0-rc2 |
7.0.0-rc2 |
| composersimplesamlphp/saml2 |
< 7.0.0-rc2→ 7.0.0-rc2 |
7.0.0-rc2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-110782 simplesamlphp No fixed version in this record
Original description The description as published by the source.
Summary
CVE-2026-49283 / GHSA-6929-8p9f-26jx ("HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass") was fixed so that HTTPArtifact::receive() verifies the embedded SAML Response using the IdP metadata signing keys. The current implementation (master 31c72c1d, released v6.2.3) reaches that verification only when the embedded Response is signed:
// src/Binding/HTTPArtifact.php (receive())
if (!$samlResponse->isSigned()) {
return $samlResponse; // ← unsigned embedded Response returned UNVERIFIED
}
return $this->verifyMessageSignature($samlResponse, $idpMetadata); // only runs when signed
An attacker who controls one trusted-federation IdP therefore returns a validly-signed outer ArtifactResponse (signed with their own real key, which passes the mandatory outer check) that wraps an unsigned whose names a different IdP. isSigned() is false, so verifyMessageSignature() never runs and the forged Response is returned as successfully received. Additionally, even on the signed path verifyMessageSignature() verifies against the artifact issuer's metadata keys but never asserts that the embedded Response's `` equals the artifact issuer — the same cross-IdP confusion the CVE was assigned for is not closed by identity binding.
This is an incomplete implementation of the fix's own stated goal ("verify signatures using IdP metadata signing keys", commit dac0b4b6 / #419)…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com