CVE-2024-28848

CVSS 3.1 Score 8.8 of 10 (high)

Details

Published Mar 15, 2024
Updated: Mar 21, 2024
CWE ID 94

Summary

CVE-2024-28848 is a Remote Code Execution vulnerability affecting OpenMetadata, a platform for discovery, observability, and governance. The issue lies in the `CompiledRule::validateExpression` method, which uses an `StandardEvaluationContext` to evaluate SpEL expressions, enabling interaction with Java classes like `java.lang.Runtime`. This vulnerability can be exploited through the `/api/v1/policies/validation/condition/<expression>` endpoint, where user-controlled data is passed to the `CompiledRule::validateExpession` function. Authenticated non-admin users can take advantage of this and execute arbitrary system commands on the underlying operating system, due to a missing authorization check. The vulnerability was discovered using CodeQL's Expression language injection (Spring) query, and it is also tracked as GHSL-2023-236. Users are strongly advised to upgrade to OpenMetadata version 1.2.4 to mitigate this risk, as there are currently no known workarounds for this issue.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share