CVE-2024-28254
Last modified
CVE-2024-28254 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage, and seamless team collaboration. The `AlertUtil::validateExpression` method evaluates an SpEL expression using `getValue` which by default uses the `StandardEvaluationContext`, allowing the expression to reach and interact with Java classes such as `java.lang.Runtime`, leading to Remote Code Execution. EPSS estimates a 45.73% chance of exploitation in the next 30 days.
Description
OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage, and seamless team collaboration. The `AlertUtil::validateExpression` method evaluates an SpEL expression using `getValue` which by default uses the `StandardEvaluationContext`, allowing the expression to reach and interact with Java classes such as `java.lang.Runtime`, leading to Remote Code Execution. The `/api/v1/events/subscriptions/validation/condition/<expression>` endpoint passes user-controlled data `AlertUtil::validateExpession` allowing authenticated (non-admin) users to execute arbitrary system commands on the underlaying operating system. In addition, there is a missing authorization check since `Authorizer.authorize()` is never called in the affected path and, therefore, any authenticated non-admin user is able to trigger this endpoint and evaluate arbitrary SpEL expressions leading to arbitrary command execution. This vulnerability was discovered with the help of CodeQL's Expression language injection (Spring) query and is also tracked as `GHSL-2023-235`. This issue may lead to Remote Code Execution and has been addressed in version 1.2.4. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Open-Metadata | Openmetadata | < 1.2.4 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-28254?
How severe is CVE-2024-28254?
How do I fix CVE-2024-28254?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-28249Cilium is a networking, observability, and security solution…6.1
- CVE-2024-2825A vulnerability classified as critical has been found in lak…8.8
- CVE-2024-28250Cilium is a networking, observability, and security solution…6.1
- CVE-2024-28251Querybook is a Big Data Querying UI, combining collocated ta…7.3
- CVE-2024-28252CoreWCF is a port of the service side of Windows Communicati…7.5
- CVE-2024-28253OpenMetadata is a unified platform for discovery, observabil…8.8
- CVE-2024-28255OpenMetadata is a unified platform for discovery, observabil…9.8
- CVE-2024-2826A vulnerability classified as problematic was found in laker…8.8
- CVE-2024-28265IBOS v4.5.5 has an arbitrary file deletion vulnerability via…9.1
- CVE-2024-28269ReCrystallize Server 5.10.0.0 allows administrators to uploa…7.2
- CVE-2024-2827A vulnerability, which was classified as critical, has been …8.8
- CVE-2024-28270An issue discovered in web-flash v3.0 allows attackers to re…8.1
Are you affected by CVE-2024-28254?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
