{"id":"CVE-2024-28255","published":"2024-03-15T19:55:45Z","modified":"2024-08-19T07:47:55Z","title":"Authentication Bypass in OpenMetadata","vendor":"open-metadata","product":"OpenMetadata","tier":"core","eol":null,"affectedVersions":[{"vendor":"open-metadata","product":"OpenMetadata","versions":["< 1.2.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-07-16T00:26:07.478866Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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`.","provenance":"source","from":"CVE.org"},"summary":{"text":"The JwtFilter in OpenMetadata's API authentication layer fails to enforce JWT validation on requests whose paths contain excluded-endpoint strings, because path parameters can be crafted so that an arbitrary request path matches an excluded pattern. An attacker with network access and no credentials can send a crafted request path to bypass authentication and reach any API endpoint, including those that lead to arbitrary SpEL expression injection, though endpoints relying on SecurityContext.getUserPrincipal() will fail with a null pointer exception.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:11:49Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.73255,"percentile":0.99471,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2024-04-17","exploitedFirstSeen":"2024-04-17","ransomware":false,"evidence":[{"url":"https://www.microsoft.com/en-us/security/blog/2024/04/17/attackers-exploiting-new-critical-openmetadata-vulnerabilities-on-kubernetes-clusters/","date":"2024-04-17"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-04-20&host_type=src&vulnerability=cve-2024-28255","date":"2024-04-20"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-04-21&host_type=src&vulnerability=cve-2024-28255","date":"2024-04-21"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-04-22&host_type=src&vulnerability=cve-2024-28255","date":"2024-04-22"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-04-23&host_type=src&vulnerability=cve-2024-28255","date":"2024-04-23"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-04-24&host_type=src&vulnerability=cve-2024-28255","date":"2024-04-24"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-04-25&host_type=src&vulnerability=cve-2024-28255","date":"2024-04-25"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-04-26&host_type=src&vulnerability=cve-2024-28255","date":"2024-04-26"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-04-27&host_type=src&vulnerability=cve-2024-28255","date":"2024-04-27"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-04-28&host_type=src&vulnerability=cve-2024-28255","date":"2024-04-28"}],"evidenceTotal":562,"provenance":"source"},"exploited":true,"otx":{"pulseCount":2,"pulses":[{"name":"Russia’s Sandworm APT linked to attack on Texas water plant | SC Media","url":"https://otx.alienvault.com/pulse/662172953b276eb42fde850c","created":"2024-04-18"},{"name":"Attackers exploiting new critical OpenMetadata vulnerabilities on Kubernetes clusters | Microsoft Security Blog","url":"https://otx.alienvault.com/pulse/6620f0659fd0f3ab5526ce0d","created":"2024-04-18"}],"provenance":"machine"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/open-metadata/OpenMetadata/security/advisories/GHSA-6wx7-qw5p-wh84","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-metadata/OpenMetadata/blob/e2043a3f31312ebb42391d6c93a67584d798de52/openmetadata-service/src/main/java/org/openmetadata/service/security/JwtFilter.java#L111","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-metadata/OpenMetadata/blob/e2043a3f31312ebb42391d6c93a67584d798de52/openmetadata-service/src/main/java/org/openmetadata/service/security/JwtFilter.java#L113","tags":["x_refsource_MISC"]},{"url":"https://www.vicarius.io/vsociety/posts/authentication-bypass-with-path-parameter-in-openmetadata-cve-2024-28255","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2024-25354","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-25354","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-04-12","earliestUrl":"https://github.com/YongYe-Security/CVE-2024-28255","repos":[{"name":"YongYe-Security/CVE-2024-28255","url":"https://github.com/YongYe-Security/CVE-2024-28255","stars":5,"created":"2024-04-12"}]},"metasploit":[{"name":"OpenMetadata authentication bypass and SpEL injection exploit chain","module":"exploit/linux/http/openmetadata_auth_bypass_rce","type":"exploit","disclosureDate":"2024-03-15","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/openmetadata_auth_bypass_rce.rb"}],"nuclei":[{"id":"CVE-2024-28255","name":"OpenMetadata - Authentication Bypass","severity":"critical","path":"http/cves/2024/CVE-2024-28255.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-28255.yaml"}],"first":{"date":"2024-03-15","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/openmetadata_auth_bypass_rce.rb"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-03-15","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-28255","provenance":"source"},{"date":"2024-03-15","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2024-04-12","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/openmetadata_auth_bypass_rce.rb","provenance":"source"},{"date":"2024-04-17","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.microsoft.com/en-us/security/blog/2024/04/17/attackers-exploiting-new-critical-openmetadata-vulnerabilities-on-kubernetes-clusters/","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":67.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 948 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.89,"detail":"percentile 0.9947"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}