Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-28253— SpEL Injection in `PUT /api/v1/policies` in OpenMetadata

Quick assessment

Affected
open-metadata OpenMetadata
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OpenMetadata是一个统一的发现、可观察和治理平台,由中央元数据存储库、深入的沿袭和无缝团队协作提供支持。 OpenMetadata 1.3.1之前版本存在安全漏洞,该漏洞源于PUT /api/v1/policies中存在SpEL注入漏洞。攻击者可利用该漏洞执行远程代码。

CVSS 9.4 · Critical EPSS 12.53% · P96

Public Exploits 1

Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-28253

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SpEL Injection in `PUT /api/v1/policies` in OpenMetadata
Source: CVE Program / CVE List V5
Vulnerability Description
OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage, and seamless team collaboration. `CompiledRule::validateExpression` is also called from `PolicyRepository.prepare`. `prepare()` is called from `EntityRepository.prepareInternal()` which, in turn, gets called from `EntityResource.createOrUpdate()`. Note that even though there is an authorization check (`authorizer.authorize()`), it gets called after `prepareInternal()` gets called and therefore after the SpEL expression has been evaluated. In order to reach this method, an attacker can send a PUT request to `/api/v1/policies` which gets handled by `PolicyResource.createOrUpdate()`. This vulnerability was discovered with the help of CodeQL's Expression language injection (Spring) query and is also tracked as `GHSL-2023-252`. This issue may lead to Remote Code Execution and has been addressed in version 1.3.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
OpenMetadata 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
OpenMetadata是一个统一的发现、可观察和治理平台,由中央元数据存储库、深入的沿袭和无缝团队协作提供支持。 OpenMetadata 1.3.1之前版本存在安全漏洞,该漏洞源于PUT /api/v1/policies中存在SpEL注入漏洞。攻击者可利用该漏洞执行远程代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
open-metadata OpenMetadata < 1.3.1 -

II. Public POCs for CVE-2024-28253

# POC Description Source Link Shenlong Link
1 OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage, and seamless team collaboration. `CompiledRule::validateExpression` is also called from `PolicyRepository.prepare`. `prepare()` is called from `EntityRepository.prepareInternal()` which, in turn, gets called from `EntityResource.createOrUpdate()`. Note that even though there is an authorization check (`authorizer.authorize()`), it gets called after `prepareInternal()` gets called and therefore after the SpEL expression has been evaluated. In order to reach this method, an attacker can send a PUT request to `/api/v1/policies` which gets handled by `PolicyResource.createOrUpdate()`. This vulnerability was discovered with the help of CodeQL's Expression language injection (Spring) query and is also tracked as `GHSL-2023-252`. This issue may lead to Remote Code Execution and has been addressed in version 1.3.1. Users are advised to upgrade. There are no known workarounds for this vulnerability. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-28253.yaml POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-28253

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-28253 (1)

Other References for CVE-2024-28253 (5)

Same Patch Batch · open-metadata · 2024-03-15 · 5 CVEs total

CVE-2024-28255 9.8 CRITICAL Authentication Bypass in OpenMetadata
CVE-2024-28254 8.8 HIGH SpEL Injection in `GET /api/v1/events/subscriptions/validation/condition/<expr>` in OpenMe
CVE-2024-28847 8.8 HIGH SpEL Injection in `PUT /api/v1/events/subscriptions` in OpenMetadata
CVE-2024-28848 8.8 HIGH SpEL Injection in `GET /api/v1/policies/validation/condition/<expr>` in OpenMetadata

IV. Related Vulnerabilities

V. Comments for CVE-2024-28253

No comments yet


Leave a comment