SimpleSAMLphp
SimpleSAMLphp SP accepts a response from an unexpected IdP when unsigned `Response/InResponseTo` is combined with a signed assertion lacking `SubjectConfirmationData/InResponseTo`
SimpleSAMLphp versions before 1.18.6 contain an information disclosure vulnerability. Prior to 2.4.7 and 2.5.2, SimpleSAMLphp's SAML SP ACS path does not enforce the IdP selected for an SP-initiated login when unsigned Response/InResponseTo is combined with a signed assertion lacking SubjectConfirmationData/InResponseTo, allowing a response issued by one trusted IdP to be bound to SP state created for another IdP and bypass flows that route users to a specific IdP, including deployments that set enable_unsolicited to false. This issue is fixed in versions 2.4.7 and 2.5.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.4.7
- >= 2.5.0-rc1, < 2.5.2
Fixed in 2.4.7, 2.5.2
Mitigation
Upgrade simplesamlphp to 2.4.7 or 2.5.2 or later.
References
- Vendor advisory github.com/simplesamlphp/simplesamlphp/securit…
- Release notes github.com/simplesamlphp/simplesamlphp/release…
- Release notes github.com/simplesamlphp/simplesamlphp/release…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.