Bug 1800573 (CVE-2020-1727)

Summary: CVE-2020-1727 keycloak: missing input validation in IDP authorization URLs
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aboyko, aileenc, avibelli, bgeorges, chazlett, cmoulliard, dkreling, drieden, ggaughan, gmalinko, ikanello, janstey, jbalunas, jochrist, jpallich, jwon, krathod, lthon, mszynkie, pdrozd, pgallagh, pjindal, rruss, security-response-team, sthorger
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: keycloak 9.0.2 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Keycloak, where every Authorization URL that points to an IDP server lacks proper input validation as it allows a wide range of characters. This flaw allows a malicious to craft deep links that introduce further attack scenarios on affected clients.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-01 17:20:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1800574    

Description Guilherme de Almeida Suckevicz 2020-02-07 13:04:26 UTC
During the assessment of the Admin Console application, it was found that almost every Authorization URL that points to an IDP server lacks on proper input validation. There is no need to allow a wide range of characters that a malicious user might be able to use to craft deep links that can introduce further attack scenarios on affected clients.

Reference:
https://issues.redhat.com/browse/KEYCLOAK-12192

Comment 7 Paramvir jindal 2020-05-20 10:26:54 UTC
Acknowledgments:

Name: Sebastian Moritz (Cure53)

Comment 8 errata-xmlrpc 2020-06-01 15:32:35 UTC
This issue has been addressed in the following products:

  Red Hat Runtimes Spring Boot 2.2.6

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

Comment 9 Product Security DevOps Team 2020-06-01 17:20:35 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-1727

Comment 10 errata-xmlrpc 2020-07-23 07:04:31 UTC
This issue has been addressed in the following products:

  Red Hat Openshift Application Runtimes

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

Comment 11 errata-xmlrpc 2020-12-17 16:40:33 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.4.0

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