Bug 1847428 (CVE-2020-10776) - CVE-2020-10776 keycloak: OIDC redirect_uri allows dangerous schemes resulting in potential XSS
Summary: CVE-2020-10776 keycloak: OIDC redirect_uri allows dangerous schemes resulting...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-10776
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1843190
TreeView+ depends on / blocked
 
Reported: 2020-06-16 11:26 UTC by Paramvir jindal
Modified: 2023-09-25 07:08 UTC (History)
37 users (show)

Fixed In Version: keycloak 12.0.0
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Keycloak, where it is possible to add unsafe schemes for the redirect_uri parameter. This flaw allows an attacker to perform a Cross-site scripting attack.
Clone Of:
Environment:
Last Closed: 2020-11-04 20:21:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4929 0 None None None 2020-11-04 19:30:41 UTC
Red Hat Product Errata RHSA-2020:4930 0 None None None 2020-11-04 19:29:59 UTC
Red Hat Product Errata RHSA-2020:4931 0 None None None 2020-11-04 19:24:25 UTC
Red Hat Product Errata RHSA-2020:4932 0 None None None 2020-11-04 19:37:02 UTC

Description Paramvir jindal 2020-06-16 11:26:24 UTC
OIDC redirect_uri allows dangerous schemes resulting in potential XSS

https://issues.redhat.com/browse/KEYCLOAK-14306

Comment 2 Paramvir jindal 2020-06-16 11:26:38 UTC
Mitigation:

Trusted Hosts Policy could be used to mitigate this attack : 
https://www.keycloak.org/docs/latest/securing_apps/index.html#client-registration-policies

Comment 4 Paramvir jindal 2020-06-17 08:18:30 UTC
Acknowledgments:

Name: Lauritz Holtmann (@_lauritz_) (Chair for Network and Data Security at Ruhr University Bochum)

Comment 8 errata-xmlrpc 2020-11-04 19:24:22 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.4.3

Via RHSA-2020:4931 https://access.redhat.com/errata/RHSA-2020:4931

Comment 9 errata-xmlrpc 2020-11-04 19:29:55 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.4 for RHEL 7

Via RHSA-2020:4930 https://access.redhat.com/errata/RHSA-2020:4930

Comment 10 errata-xmlrpc 2020-11-04 19:30:38 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.4 for RHEL 6

Via RHSA-2020:4929 https://access.redhat.com/errata/RHSA-2020:4929

Comment 11 errata-xmlrpc 2020-11-04 19:36:59 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.4 for RHEL 8

Via RHSA-2020:4932 https://access.redhat.com/errata/RHSA-2020:4932

Comment 12 Product Security DevOps Team 2020-11-04 20:21:12 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-10776


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