Local code execution via JaninoEventEvaluator expressions
Published Dec 19, 2024 · Updated Jan 3, 2025
Expression injection in JaninoEventEvaluator in QOS.CH logback-core 0.1 through 1.3.14 and 1.4.0 through 1.5.12 allows local users to execute code. JaninoEventEvaluator compiles and evaluates Java expressions supplied by a Logback configuration file without restricting them to safe operations. Exploitation requires existing privilege to write the configuration or inject an environment variable before an application starts, granting code execution in that Java process.
Summary
What happened
Expression injection in JaninoEventEvaluator in QOS.CH logback-core 0.1 through 1.3.14 and 1.4.0 through 1.5.12 allows local users to execute code. JaninoEventEvaluator compiles and evaluates Java expressions supplied by a Logback configuration file without restricting them to safe operations. Exploitation requires existing privilege to write the configuration or inject an environment variable before an application starts, granting code execution in that Java process.
The record
- CVE
- CVE-2024-12798
- Published
- Dec 19, 2024
- Updated
- Jan 3, 2025
- Vendor
- QOS.ch Sarl
- Product
- logback-core
- Classifications
- CWE-917, T1059
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 19, 2024CVE publishedPublication date reported by the CVE source.
- Jan 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.1 <=1.3.14
- Affected versionversion=1.4.0 <=1.5.12
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo