CVE-2024-28255: OpenMetadata - Authentication Bypass
- Cve: CVE-2024-28255
- Name: OpenMetadata - Authentication Bypass
- 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`.
- Impact: Attackers can bypass authentication, potentially accessing sensitive endpoints and leading to arbitrary code execution or data access.
- Remediation: Upgrade to version 1.2.4 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: information_disclosure, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.73255
- Epss percentile: 0.9947
- Assignee: [email protected]
- Published at: 2024-03-15T20:15:10Z
- Age in days: 984
- Modified at: 2026-06-17T07:21:16Z
- Patch available: yes
- Public exploits total: 5
- References total: 9
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-28255
- Nvd status: analyzed
- Checked, none or zero: public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-287 | Improper Authentication |
| NVD-CWE-noinfo | — |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2024-04-17 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2024-28255 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-28255.yaml |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/open-metadata/OpenMetadata/security/advisories/GHSA-6wx7-qw5p-wh84 | nvd | 2024-03-15 |
| https://www.vicarius.io/vsociety/posts/authentication-bypass-with-path-parameter-in-openmetadata-cve-2024-28255 | nvd | 2024-03-15 |
| https://github.com/YongYe-Security/CVE-2024-28255 | poc-in-github | 2024-04-12 |
| https://github.com/YongYe-Security/CVE-2024-28255.git | vulncheck-xdb | 2024-04-12 |
| https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/openmetadata_auth_bypass_rce.rb | metasploit | 2024-03-15 |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| open-metadata:openmetadata | < 1.2.4 | no | nvd | /v1/products/open-metadata/openmetadata |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| open-metadata/openmetadata | security_advisory | yes | /v1/repositories/open-metadata/openmetadata |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2024-04-17
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 5
- Public exploit first date: 2024-03-15
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 1330
- Checked, none or zero: known exploited, initial access, authentication required
- Not known: known exploited since, initial access since