Headline
GHSA-v3w7-g6p2-mpx7: OpenShift Console Server Side Request Forgery vulnerability
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 OpenShit 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.
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2024-6538
OpenShift Console Server Side Request Forgery vulnerability
Moderate severity GitHub Reviewed Published Nov 25, 2024 to the GitHub Advisory Database • Updated Nov 25, 2024
Package
gomod github.com/openshift/console (Go)
Affected versions
<= 6.0.6
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 OpenShit 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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-6538
- https://access.redhat.com/security/cve/CVE-2024-6538
- https://bugzilla.redhat.com/show_bug.cgi?id=2296057
Published to the GitHub Advisory Database
Nov 25, 2024
Last updated
Nov 25, 2024