SimpleSAMLphp SAML2
SimpleSAMLphp SAML2: Possible DoS via XPath Transform
The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.19.2, < 4.19.3
- >= 4.20.2, < 4.20.3
Fixed in 4.19.3, 4.20.3
Mitigation
Upgrade saml2 to 4.19.3 or 4.20.3 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.