SecurityContext

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

IdName
CWE-287Improper Authentication
NVD-CWE-noinfo—

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2024-04-17—no

Nuclei templates

IdUrl
CVE-2024-28255https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-28255.yaml

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://github.com/open-metadata/OpenMetadata/security/advisories/GHSA-6wx7-qw5p-wh84nvd2024-03-15
https://www.vicarius.io/vsociety/posts/authentication-bypass-with-path-parameter-in-openmetadata-cve-2024-28255nvd2024-03-15
https://github.com/YongYe-Security/CVE-2024-28255poc-in-github2024-04-12
https://github.com/YongYe-Security/CVE-2024-28255.gitvulncheck-xdb2024-04-12
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/openmetadata_auth_bypass_rce.rbmetasploit2024-03-15

References

UrlSourceTags
https://github.com/open-metadata/OpenMetadata/security/advisories/GHSA-6wx7-qw5p-wh84nvdExploit, Vendor Advisory
https://www.vicarius.io/vsociety/posts/authentication-bypass-with-path-parameter-in-openmetadata-cve-2024-28255nvdExploit, Third Party Advisory
https://github.com/open-metadata/OpenMetadata/blob/e2043a3f31312ebb42391d6c93a67584d798de52/openmetadata-service/src/main/java/org/openmetadata/service/security/JwtFilter.java#L111nvdProduct
https://github.com/open-metadata/OpenMetadata/blob/e2043a3f31312ebb42391d6c93a67584d798de52/openmetadata-service/src/main/java/org/openmetadata/service/security/JwtFilter.java#L113nvdProduct
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-28255.yamlnuclei_templateNuclei Template
https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2024-28255vulncheckVulncheck Reported Exploitation
https://app.crowdsec.net/cti/cve-explorer/CVE-2024-28255vulncheckVulncheck Reported Exploitation
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2024-28255vulncheckVulncheck Reported Exploitation
https://www.microsoft.com/en-us/security/blog/2024/04/17/attackers-exploiting-new-critical-openmetadata-vulnerabilities-on-kubernetes-clusters/vulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
open-metadata:openmetadata< 1.2.4nonvd/v1/products/open-metadata/openmetadata

Projects

RepositoryLink kindsIndexedUrl
open-metadata/openmetadatasecurity_advisoryyes/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

Nuclei template