Bug 1410481 (CVE-2017-2582) - CVE-2017-2582 picketlink, keycloak: SAML request parser replaces special strings with system properties
Summary: CVE-2017-2582 picketlink, keycloak: SAML request parser replaces special stri...
Keywords:
Status: NEW
Alias: CVE-2017-2582
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20170926,repor...
Depends On: 1710644 1414137 1414138
Blocks: 1410492 1493931 1510311
TreeView+ depends on / blocked
 
Reported: 2017-01-05 15:31 UTC by Adam Mariš
Modified: 2019-08-19 07:48 UTC (History)
85 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
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 the chosen system property which could be obtained in the "InResponseTo" field in the response.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:2808 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform security update 2017-09-26 22:39:54 UTC
Red Hat Product Errata RHSA-2017:2809 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform security update 2017-09-26 22:51:56 UTC
Red Hat Product Errata RHSA-2017:2810 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform security update 2017-09-26 21:58:02 UTC
Red Hat Product Errata RHSA-2017:2811 normal SHIPPED_LIVE Important: eap7-jboss-ec2-eap security update 2017-09-26 23:14:16 UTC
Red Hat Product Errata RHSA-2017:3216 normal SHIPPED_LIVE Moderate: Red Hat JBoss Enterprise Application Platform 6.4.18 security update 2017-11-15 01:30:42 UTC
Red Hat Product Errata RHSA-2017:3217 normal SHIPPED_LIVE Moderate: Red Hat JBoss Enterprise Application Platform 6.4.18 security update 2017-11-15 01:27:28 UTC
Red Hat Product Errata RHSA-2017:3218 normal SHIPPED_LIVE Moderate: Red Hat JBoss Enterprise Application Platform 6.4.18 security update 2017-11-15 01:23:58 UTC
Red Hat Product Errata RHSA-2017:3219 normal SHIPPED_LIVE Moderate: jboss-ec2-eap security, bug fix, and enhancement update for EAP 6.4.18 2017-11-15 01:51:06 UTC
Red Hat Product Errata RHSA-2017:3220 normal SHIPPED_LIVE Moderate: Red Hat JBoss Enterprise Application Platform 6.4.18 security update 2017-11-15 01:37:47 UTC
Red Hat Product Errata RHSA-2018:2740 None None None 2018-09-24 21:46:53 UTC
Red Hat Product Errata RHSA-2018:2741 None None None 2018-09-24 22:04:42 UTC
Red Hat Product Errata RHSA-2018:2742 None None None 2018-09-24 22:08:33 UTC
Red Hat Product Errata RHSA-2018:2743 None None None 2018-09-24 22:09:52 UTC
Red Hat Product Errata RHSA-2019:0136 None None None 2019-01-22 16:54:56 UTC
Red Hat Product Errata RHSA-2019:0137 None None None 2019-01-22 16:36:42 UTC
Red Hat Product Errata RHSA-2019:0139 None None None 2019-01-22 16:30:46 UTC

Description Adam Mariš 2017-01-05 15:31:11 UTC
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

Comment 2 Adam Mariš 2017-01-10 11:44:35 UTC
Acknowledgments:

Name: Hynek Mlnarik (Red Hat)

Comment 5 Jason Shepherd 2017-09-18 01:50:47 UTC
JON-3 is not affected by this issue because it's not supported as a SSO Identity Provider.

Comment 6 errata-xmlrpc 2017-09-26 17:58:22 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.0.8

Via RHSA-2017:2810 https://access.redhat.com/errata/RHSA-2017:2810

Comment 7 errata-xmlrpc 2017-09-26 18:41:05 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 7

Via RHSA-2017:2808 https://access.redhat.com/errata/RHSA-2017:2808

Comment 8 errata-xmlrpc 2017-09-26 18:53:21 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6

Via RHSA-2017:2809 https://access.redhat.com/errata/RHSA-2017:2809

Comment 9 errata-xmlrpc 2017-09-26 19:14:39 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 7
  Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6

Via RHSA-2017:2811 https://access.redhat.com/errata/RHSA-2017:2811

Comment 11 errata-xmlrpc 2017-11-14 20:37:20 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7

Via RHSA-2017:3218 https://access.redhat.com/errata/RHSA-2017:3218

Comment 12 errata-xmlrpc 2017-11-14 20:38:03 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6

Via RHSA-2017:3217 https://access.redhat.com/errata/RHSA-2017:3217

Comment 13 errata-xmlrpc 2017-11-14 20:38:26 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5

Via RHSA-2017:3216 https://access.redhat.com/errata/RHSA-2017:3216

Comment 14 errata-xmlrpc 2017-11-14 20:39:49 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2017:3220 https://access.redhat.com/errata/RHSA-2017:3220

Comment 15 errata-xmlrpc 2017-11-14 20:51:31 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6

Via RHSA-2017:3219 https://access.redhat.com/errata/RHSA-2017:3219

Comment 20 Jason Shepherd 2018-01-17 04:39:00 UTC
RHMAP services, UPS and Millicore don't use SAML features of embedded Keycloak.

Comment 21 errata-xmlrpc 2018-09-24 21:46:28 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2018:2740 https://access.redhat.com/errata/RHSA-2018:2740

Comment 22 errata-xmlrpc 2018-09-24 22:04:20 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7

Via RHSA-2018:2741 https://access.redhat.com/errata/RHSA-2018:2741

Comment 23 errata-xmlrpc 2018-09-24 22:08:12 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5

Via RHSA-2018:2742 https://access.redhat.com/errata/RHSA-2018:2742

Comment 24 errata-xmlrpc 2018-09-24 22:09:29 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6

Via RHSA-2018:2743 https://access.redhat.com/errata/RHSA-2018:2743

Comment 25 errata-xmlrpc 2019-01-22 16:30:42 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2019:0139 https://access.redhat.com/errata/RHSA-2019:0139

Comment 26 errata-xmlrpc 2019-01-22 16:36:38 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 7

Via RHSA-2019:0137 https://access.redhat.com/errata/RHSA-2019:0137

Comment 27 errata-xmlrpc 2019-01-22 16:54:52 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 6

Via RHSA-2019:0136 https://access.redhat.com/errata/RHSA-2019:0136

Comment 28 Joshua Padman 2019-05-15 22:59:02 UTC
This vulnerability is out of security support scope for the following product:
 * Red Hat Enterprise Application Platform 6

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 29 Joshua Padman 2019-05-15 23:40:30 UTC
Created picketlink tracking bugs for this issue:

Affects: fedora-all [bug 1710644]


Note You need to log in before you can comment on or make changes to this bug.