Description
A flaw was found in the OpenShift Console, an endpoint for plugins to serve resources in multiple languages: /locales/resources.json. This endpoint's lng and ns parameters are used to construct a filepath in pkg/plugins/handlers unsafely.go#L112 Because of this unsafe filepath construction, an authenticated user can manipulate the path to retrieve any JSON files on the console's pod by using sequences of ../ and valid directory paths.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
openshift-console
Default version status: unaffected
0 to ≤ 6.0.6affected
Red Hat Red Hat OpenShift Container Platform 3.11
Default version status: affected
Red Hat Red Hat OpenShift Container Platform 4
Default version status: affected