GitHub Advisory Database
GHSA-4fgq-gq9g-3rw7
Improper Verification of Cryptographic Signature in keycloak
Details
It was found that Keycloak's SAML broker, versions up to 6.0.1, did not verify missing message signatures. If an attacker modifies the SAML Response and removes the <Signature> sections, the message is still accepted, and the message can be modified. An attacker could use this flaw to impersonate other users and gain access to sensitive information.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-core | All versions before 7.0.0 (fixed in 7.0.0) |