VDB
Sign up
MEDIUM6.5

GHSA-c77r-6f64-478q

keycloak-core discloses system properties

Quick fix

GHSA-c77r-6f64-478q — org.keycloak:keycloak-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.5.1</version> for org.keycloak:keycloak-core

Details

It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request ID field to be the chosen system property which could be obtained in the "InResponseTo" field in the response.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-core
Introduced in: 0Fixed in: 2.5.1
Fix# pom.xml: bump <version>2.5.1</version> for org.keycloak:keycloak-core

References