OpenMetadata Critical Vulnerabilities — Insights into CVE-2024–28255, CVE-2024–28254, and CVE-2024–28253
OpenMetadata had three vulnerabilities: an authentication bypass via path manipulation, a remote code execution through SpEL expression evaluation, and an authorization bypass leading to remote code execution. Attackers could bypass authentication, execute arbitrary code, and bypass authorization checks.
In the dynamic world of cybersecurity, staying informed about the latest vulnerabilities is pivotal for protecting digital assets.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the JwtFilter mishandled request paths, and SpEL expressions were evaluated without proper validation or before authorization checks.
What the attacker needed
Network access to OpenMetadata
The fix
The vulnerabilities were fixed in versions 1.2.4 and 1.3.1.
How it was found
- Send a request with a crafted path to bypass JWT validation.
- Send a request with a malicious SpEL expression to the validation endpoint to execute code.
- Send a PUT request with a malicious SpEL expression to the policies endpoint to execute commands.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
OpenMetadata is a tool for managing data information. These bugs let attackers get into the system without logging in and run their own commands on the server. The fixes are available in newer versions.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.