ADVISORIES

GitHub Advisory Database

GHSA-c77r-6f64-478q

keycloak-core discloses system properties

Moderate CVE-2017-2582

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-core
All versions before 2.5.1 (fixed in 2.5.1)

References