Untriaged
Keycloak-saml-core: improper verification of saml responses leading to privilege escalation in keycloak
A flaw exists in the SAML signature validation method within the Keycloak XMLSignatureUtil class. The method incorrectly determines whether a SAML signature is for the full document or only for specific assertions based on the position of the signature in the XML document, rather than the Reference element used to specify the signed element. This flaw allows attackers to create crafted responses that can bypass the validation, potentially leading to privilege escalation or impersonation attacks.
Affected products
keycloak
- <25.0.5
eap8-hppc
- *
eap8-log4j
- *
eap8-slf4j
- *
eap8-jctools
- *
eap8-jgroups
- *
eap8-wildfly
- *
eap8-narayana
- *
eap8-asyncutil
- *
eap8-hibernate
- *
eap8-saaj-impl
- *
eap8-snakeyaml
- *
eap8-apache-cxf
- *
eap8-cryptacular
- *
eap8-fastinfoset
- *
rh-sso7-keycloak
- *
eap8-aws-java-sdk
- *
eap8-pem-keystore
- *
eap8-aesh-readline
- *
eap8-jboss-logging
- *
eap8-objectweb-asm
- *
eap8-artemis-native
- *
rhbk/keycloak-rhel9
- *
eap8-aesh-extensions
- *
eap8-nimbus-jose-jwt
- *
eap8-resteasy-spring
- *
eap8-activemq-artemis
- *
eap8-apache-commons-io
- *
eap8-jboss-cert-helper
- *
eap8-apache-commons-lang
- *
eap8-hibernate-validator
- *
eap8-resteasy-extensions
- *
Red Hat Build of Keycloak
eap8-apache-commons-codec
- *
eap8-insights-java-client
- *
keycloak-saml-core-public
eap8-activemq-artemis-native
- *
eap8-eap-product-conf-parent
- *
eap8-shibboleth-java-support
- *
org.keycloak-keycloak-parent
rhbk/keycloak-rhel9-operator
- *
rhbk/keycloak-operator-bundle
- *
rh-sso-7/sso76-openshift-rhel8
- *
eap8-apache-commons-collections
- *
org.keycloak/keycloak-saml-core
eap8-artemis-wildfly-integration
- *
eap8-jakarta-servlet-jsp-jstl-api
- *
org.keycloak/keycloak-saml-core-public
Matching in nixpkgs
pkgs.keycloak
Identity and access management for modern applications and services
-
nixos-unstable -
- nixpkgs-unstable 26.3.4
pkgs.terraform-providers.keycloak
None
-
nixos-unstable -
- nixpkgs-unstable 5.4.0
pkgs.python312Packages.python-keycloak
Provides access to the Keycloak API
-
nixos-unstable -
- nixpkgs-unstable 4.0.0
pkgs.python313Packages.python-keycloak
Provides access to the Keycloak API
-
nixos-unstable -
- nixpkgs-unstable 4.0.0
Package maintainers
-
@ngerstle Nicholas Gerstle <ngerstle@gmail.com>
-
@NickCao Nick Cao <nickcao@nichi.co>
-
@talyz Kim Lindberger <kim.lindberger@gmail.com>
-
@leona-ya Leona Maroni <nix@leona.is>