Bug 1869764 (CVE-2020-14366)

Summary: CVE-2020-14366 keycloak: path traversal in resources
Product: [Other] Security Response Reporter: Paramvir jindal <pjindal>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aileenc, akoufoud, alazarot, anstephe, avibelli, bgeorges, chazlett, cmoulliard, dkreling, gmalinko, ibek, ikanello, janstey, jbalunas, jochrist, jpallich, jwon, kverlaen, lthon, mnovotny, pdrozd, pgallagh, pjindal, rruss, sthorger
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: keycloak 12.0.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in keycloak. A path traversal, using URL-encoded path segments in a request, is possible due to transformation of the URL path to a file path at the resource endpoint. The highest threat from this vulnerability is to data confidentiality.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 1866208    

Description Paramvir jindal 2020-08-18 15:22:42 UTC
A vulnerability was found in keycloak, where path traversal using URL-encoded path segments in the request is possible because the resources endpoint applies a transformation of the url path to the file path but only specific folder hierarchies can be exposed by this flaw.

Comment 4 Paramvir jindal 2020-09-09 07:27:50 UTC
Acknowledgments:

Name: Dirk van Veen (The S-Unit)