CVE-2017-2582
published 2018-07-26CVE-2017-2582: 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…
PriorityP434medium6.5CVSS 3.0
AVNACLPRLUINSUCHINAN
EPSS
2.46%
82.6th percentile
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
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| red_hat | keycloak | — | — |
| redhat | jboss_enterprise_application_platform | — | — |
| redhat | jboss_enterprise_application_platform | — | — |
| redhat | jboss_enterprise_application_platform | — | — |
| redhat | jboss_enterprise_application_platform | — | — |
| redhat | keycloak | < 2.5.1 | 2.5.1 |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:P/I:N/A:N
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
keycloak-core discloses system properties
osv·2018-10-18
CVE-2017-2582 [MEDIUM] keycloak-core discloses system properties
keycloak-core discloses system properties
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.
GHSA
keycloak-core discloses system properties
ghsa·2018-10-18
CVE-2017-2582 [MEDIUM] CWE-200 keycloak-core discloses system properties
keycloak-core discloses system properties
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.
Red Hat
keycloak: SAML request parser replaces special strings with system properties
vendor_redhat·2017-09-26·CVSS 6.5
CVE-2017-2582 [MEDIUM] CWE-201 keycloak: SAML request parser replaces special strings with system properties
keycloak: SAML request parser replaces special strings with system properties
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.
It was found that while parsing the SAML messages the StaxParserUtil class of Picketlink 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 t
No detection rules found.
Bugzilla
CVE-2017-2582 picketlink: picketlink, keycloak: SAML request parser replaces special strings with system properties [fedora-all]
bugzilla·2019-05-15·CVSS 6.5
CVE-2017-2582 [MEDIUM] CVE-2017-2582 picketlink: picketlink, keycloak: SAML request parser replaces special strings with system properties [fedora-all]
CVE-2017-2582 picketlink: picketlink, keycloak: SAML request parser replaces special strings with system properties [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
N
Bugzilla
CVE-2017-2582 picketlink, keycloak: SAML request parser replaces special strings with system properties
bugzilla·2017-01-05·CVSS 6.5
CVE-2017-2582 [MEDIUM] CVE-2017-2582 picketlink, keycloak: SAML request parser replaces special strings with system properties
CVE-2017-2582 picketlink, keycloak: SAML request parser replaces special strings with system properties
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
Discussion:
Upstream patch:
https://github.com/keycloak/keycloak/pull/3715/commits/0cb5ba0f6e83162d221681f47b470c3042eef237
---
Acknowledgments:
Name: Hynek Mlnarik (Red Hat)
---
JON-3 is not affect
http://www.securityfocus.com/bid/101046http://www.securitytracker.com/id/1041707https://access.redhat.com/errata/RHSA-2017:2808https://access.redhat.com/errata/RHSA-2017:2809https://access.redhat.com/errata/RHSA-2017:2810https://access.redhat.com/errata/RHSA-2017:2811https://access.redhat.com/errata/RHSA-2017:3216https://access.redhat.com/errata/RHSA-2017:3217https://access.redhat.com/errata/RHSA-2017:3218https://access.redhat.com/errata/RHSA-2017:3219https://access.redhat.com/errata/RHSA-2017:3220https://access.redhat.com/errata/RHSA-2018:2740https://access.redhat.com/errata/RHSA-2018:2741https://access.redhat.com/errata/RHSA-2018:2742https://access.redhat.com/errata/RHSA-2018:2743https://access.redhat.com/errata/RHSA-2019:0136https://access.redhat.com/errata/RHSA-2019:0137https://access.redhat.com/errata/RHSA-2019:0139https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2582https://github.com/keycloak/keycloak/pull/3715/commits/0cb5ba0f6e83162d221681f47b470c3042eef237http://www.securityfocus.com/bid/101046http://www.securitytracker.com/id/1041707https://access.redhat.com/errata/RHSA-2017:2808https://access.redhat.com/errata/RHSA-2017:2809https://access.redhat.com/errata/RHSA-2017:2810https://access.redhat.com/errata/RHSA-2017:2811https://access.redhat.com/errata/RHSA-2017:3216https://access.redhat.com/errata/RHSA-2017:3217https://access.redhat.com/errata/RHSA-2017:3218https://access.redhat.com/errata/RHSA-2017:3219https://access.redhat.com/errata/RHSA-2017:3220https://access.redhat.com/errata/RHSA-2018:2740https://access.redhat.com/errata/RHSA-2018:2741https://access.redhat.com/errata/RHSA-2018:2742https://access.redhat.com/errata/RHSA-2018:2743https://access.redhat.com/errata/RHSA-2019:0136https://access.redhat.com/errata/RHSA-2019:0137https://access.redhat.com/errata/RHSA-2019:0139https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2582https://github.com/keycloak/keycloak/pull/3715/commits/0cb5ba0f6e83162d221681f47b470c3042eef237
2018-07-26
Published