CVE-2024-7631
MEDIUMOpenShift Console - Authenticated Path Traversal via Locales Endpoint Parameters
Title source: llmDescription
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 (3)
Core 3
Core References
Vendor Advisory vdb-entry
x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2024-7631
Issue Tracking issue-tracking
x_refsource_redhat
https://bugzilla.redhat.com/show_bug.cgi?id=2296053
Scores
CVSS v3
4.3
EPSS
0.0046
EPSS Percentile
36.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (3)
openshift/console
0Go
Red Hat/Red Hat OpenShift Container Platform 3.11
Red Hat/Red Hat OpenShift Container Platform 4
Published
Mar 19, 2025
Tracked Since
Feb 18, 2026