GitHub Advisory Database
GHSA-923w-2xv2-7pr8
SimpleSAMLphp Improper Verification of Cryptographic Signature
Details
The XmlSecLibs library as used in the saml2 library in SimpleSAMLphp before 1.15.3 incorrectly verifies signatures on SAML assertions, allowing a remote attacker to construct a crafted SAML assertion on behalf of an Identity Provider that would pass as cryptographically valid, thereby allowing them to impersonate a user from that Identity Provider, aka a key confusion issue.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | simplesamlphp/saml2 | All versions before 1.10.5 (fixed in 1.10.5) |
| Packagist | simplesamlphp/saml2 | From 2.0 before 2.3.7 (fixed in 2.3.7) |
| Packagist | simplesamlphp/saml2 | From 3.0 before 3.1.3 (fixed in 3.1.3) |