OpenShift Console Has a Path Traversal Vulnerability
Moderate severity
GitHub Reviewed
Published
Mar 19, 2025
to the GitHub Advisory Database
•
Updated Mar 20, 2025
Description
Published by the National Vulnerability Database
Mar 19, 2025
Published to the GitHub Advisory Database
Mar 19, 2025
Last updated
Mar 20, 2025
Reviewed
Mar 20, 2025
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.
References