CVE-2024-6538 Openshift-console: openshift console: server-side request forgery
Authenticated users can exploit an SSRF vulnerability in OpenShift Console to perform arbitrary HTTP requests from the server, potentially accessing internal services and disclosing sensitive information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-6538?
CVE-2024-6538 is a medium-severity server-side request forgery vulnerability in Red Hat OpenShift Container Platform 4.14, published on 25 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A flaw was found in OpenShift Console. A Server Side Request Forgery (SSRF) attack can happen if an attacker supplies all or part of a URL to the server to query. The server is considered to be in a privileged network position and can often reach exposed services that aren't readily available to clients due to network filtering. Leveraging such an attack vector, the attacker can have an impact on other services and potentially disclose information or have other nefarious effects on the system. The /api/dev-console/proxy/internet endpoint on the OpenShift Console allows authenticated users to have the console's pod perform arbitrary and fully controlled HTTP(s) requests. The full response to these requests is returned by the endpoint. While the name of this endpoint suggests the requests are only bound to the internet, no such checks are in place. An authenticated user can therefore ask the console to perform arbitrary HTTP requests from outside the cluster to a service inside the cluster.
Weakness: CWE-918
Which versions are affected by CVE-2024-6538?
3 open source packages ship an affected version, including github.com/openshift/console.
| Package | Affected | Fixed in |
|---|---|---|
github.com/openshift/console Go | All versions | None |
github.com/openshift/console Go | All versions to 6.0.6 | None |
github.com/openshift/console Go | All versions to 6.0.6 | None |
How do I fix CVE-2024-6538?
Apply the vendor's patch.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2024-6538 being exploited?
There is no known exploitation of CVE-2024-6538 in the wild and no public exploit code.
Sources
Also known as GHSA-v3w7-g6p2-mpx7, GO-2024-3289.