Code Injection in OpenMetadata - CVE-2024-28848
Published: April 22, 2024
OpenMetadata
OpenMetadata
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to the SpEL injection in "GET /api/v1/policies/validation/condition/
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
External links
- https://github.com/open-metadata/OpenMetadata/security/advisories/GHSA-5xv3-fm7g-865r
- https://codeql.github.com/codeql-query-help/java/java-spel-expression-injection
- https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-service/src/main/java/org/openmetadata/service/security/policyevaluator/CompiledRule.java#L51
- https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-service/src/main/java/org/openmetadata/service/security/policyevaluator/CompiledRule.java#L57