CVE-2017-2582: Infoleak

Published Jan 5, 2017
·
Updated

It was found that Picketlink implementation replaces special strings for obtaining attribute values with system property values in SAML messages while parsing. An attacker can misuse this to determine values of system properties at the attacked system by formatting the SAML request ID field to the chosen system property name of his liking, obtaining the property value in "InResponseTo" field in the response.

Upstream bug (for Keycloak):

https://issues.jboss.org/browse/KEYCLOAK-4160

Other sources

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 Software

9 affected componentsFixes available
maven/org.keycloak:keycloak-core<2.5.1
2.5.1
redhat keycloak<2.5.1
redhat JBoss Enterprise Application Platform=6.0.0
redhat JBoss Enterprise Application Platform=6.4.0
redhat JBoss Enterprise Application Platform=7.0.0
redhat JBoss Enterprise Application Platform=7.1.0
redhat Enterprise Linux=5.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.keycloak:keycloak-core to a version that resolves this vulnerability.

    Fixed in 2.5.1

Event History

Jan 5, 2017
Data Sourced
via Red Hat·03:31 PM
DescriptionSeverityAffected Software
Jul 26, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
DescriptionSeverityWeakness
Oct 18, 2018
Advisory Published
04:49 PM

Frequently Asked Questions

1

What is the severity of CVE-2017-2582?

CVE-2017-2582 has a moderate severity rating due to potential information disclosure vulnerabilities.

2

How do I fix CVE-2017-2582?

To fix CVE-2017-2582, upgrade to keycloak-core version 2.5.1 or later.

3

Which software is affected by CVE-2017-2582?

CVE-2017-2582 affects Keycloak versions before 2.5.1 and specific versions of Red Hat JBoss Enterprise Application Platform.

4

What happens if I’m still running a vulnerable version related to CVE-2017-2582?

Running a vulnerable version of software related to CVE-2017-2582 could allow attackers to access sensitive system property values.

5

Is there a workaround for CVE-2017-2582?

There is no specific workaround for CVE-2017-2582; upgrading to an unaffected version is the recommended approach.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203