CVE-2024-28253CWE-94

SpEL Injection in `PUT /api/v1/policies` in OpenMetadata

Critical · published March 15, 2024

CVSS v3.1
9.4
EPSS
13%
Percentile
96.2
In the wild
Unconfirmed
What it is

🚨 A sneaky oversight in OpenMetadata could let attackers slip a malicious request through the back door! 🔥 Think of this like a restaurant where the chef starts cooking a dish based on a patron's order before verifying their reservation — if the order is untrustworthy, they might end up serving a recipe for disaster! An attacker could exploit this vulnerability to execute arbitrary code on the server, potentially gaining full control of your entire metadata repository. This could lead to absolute chaos, with the attacker able to modify, delete, or even exfiltrate sensitive data, making this an absolutely devastating scenario!

Put simply

Think of this like a restaurant where the chef starts cooking a dish based on a patron's order before verifying their reservation — if the order is untrustworthy, they might end up serving a recipe for disaster! This vulnerability occurs because the authorization check is triggered after sensitive evaluation logic within the `prepareInternal()` method, allowing an attacker to send a well-crafted PUT request to `/api/v1/policies` and execute arbitrary code via a SpEL expression.

What to do

An attacker could exploit this vulnerability to execute arbitrary code on the server, potentially gaining full control of your entire metadata repository. This could lead to absolute chaos, with the attacker able to modify, delete, or even exfiltrate sensitive data, making this an absolutely devastating scenario! Immediately upgrade OpenMetadata to version 1.3.1 to patch this critical vulnerability. Since there are no known workarounds, applying this update should be your top priority to keep your systems safe! You've got this! Follow these steps and you'll be securing your metadata like a pro! 🛡️

The record
Technical detail
CVSS v3.1
9.4 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.12527 · 96.2th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2024-03-15T19:55Z
EPSS history
Timeline
  • 15 MAR 19:55Z
    SpEL Injection in `PUT /api/v1/policies` in OpenMetadata
    cvelistv5