CVE-2024-28848
Last modified
CVE-2024-28848 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 `CompiledRule::validateExpression` method evaluates an SpEL expression using an `StandardEvaluationContext`, allowing the expression to reach and interact with Java classes such as `java.lang.Runtime`, leading to Remote Code Execution. EPSS estimates a 7.89% 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 `CompiledRule::validateExpression` method evaluates an SpEL expression using an `StandardEvaluationContext`, allowing the expression to reach and interact with Java classes such as `java.lang.Runtime`, leading to Remote Code Execution. The `/api/v1/policies/validation/condition/<expression>` endpoint passes user-controlled data `CompiledRule::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-236`. This issue may lead to Remote Code Execution and has been resolved 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-28848?
How severe is CVE-2024-28848?
How do I fix CVE-2024-28848?
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-28833Improper restriction of excessive authentication attempts wi…7.5
- CVE-2024-28834A flaw was found in GnuTLS. The Minerva attack is a cryptogr…5.3
- CVE-2024-28835A flaw has been discovered in GnuTLS where an application cr…5
- CVE-2024-28836An issue was discovered in Mbed TLS 3.5.x before 3.6.0. When…5.4
- CVE-2024-2884Out of bounds read in V8 in Google Chrome prior to 121.0.616…6.5
- CVE-2024-28847OpenMetadata is a unified platform for discovery, observabil…8.8
- CVE-2024-28849follow-redirects is an open source, drop-in replacement for …6.5
- CVE-2024-2885Use after free in Dawn in Google Chrome prior to 123.0.6312.…8.8
- CVE-2024-28850WP Crontrol controls the cron events on WordPress websites. …8.1
- CVE-2024-28851The Snowflake Hive metastore connector provides an easy way …7.8
- CVE-2024-28852Ampache is a web based audio/video streaming application and…6.1
- CVE-2024-28853Ampache is a web based audio/video streaming application and…5.9
Are you affected by CVE-2024-28848?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
