CVE-2024-28255
CRITICAL EXPLOITED IN THE WILD NUCLEIOpenMetadata - Authentication Bypass
Title source: nucleiExploitation Summary
CVE-2024-28255 has been observed exploited in the wild (reported by VulnCheck KEV, InTheWild.io).
EIP tracks 2 public exploits from researchers including YongYe-Security, including a Metasploit module exploits/linux/http/openmetadata_auth_bypass_rce.
A Nuclei detection template is also available.
AI-analyzed exploit summary This is a Python-based exploit for CVE-2024-28255, targeting OpenMetadata. It leverages a command injection vulnerability via a crafted URL path to execute arbitrary commands (e.g., DNS lookup) on the target system. The script supports both single-target and multi-threaded batch scanning.
Description
OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage, and seamless team collaboration. The `JwtFilter` handles the API authentication by requiring and verifying JWT tokens. When a new request comes in, the request's path is checked against this list. When the request's path contains any of the excluded endpoints the filter returns without validating the JWT. Unfortunately, an attacker may use Path Parameters to make any path contain any arbitrary strings. For example, a request to `GET /api/v1;v1%2fusers%2flogin/events/subscriptions/validation/condition/111` will match the excluded endpoint condition and therefore will be processed with no JWT validation allowing an attacker to bypass the authentication mechanism and reach any arbitrary endpoint, including the ones listed above that lead to arbitrary SpEL expression injection. This bypass will not work when the endpoint uses the `SecurityContext.getUserPrincipal()` since it will return `null` and will throw an NPE. This issue may lead to authentication bypass and has been addressed in version 1.2.4. Users are advised to upgrade. There are no known workarounds for this vulnerability. This issue is also tracked as `GHSL-2023-237`.
Exploits (2)
This is a Python-based exploit for CVE-2024-28255, targeting OpenMetadata. It leverages a command injection vulnerability via a crafted URL path to execute arbitrary commands (e.g., DNS lookup) on the target system. The script supports both single-target and multi-threaded batch scanning.
This Metasploit module exploits an authentication bypass (CVE-2024-28255) and SpEL injection (CVE-2024-28254) in OpenMetadata to achieve unauthenticated remote code execution. It uses path parameter manipulation to bypass JWT validation and injects a Base64-encoded command payload via the SpEL endpoint.
Nuclei Templates (1)
http.favicon.hash:733091897
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H