Headline
GHSA-pr98-23f8-jwxv: QOS.CH logback-core Expression Language Injection vulnerability
ACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core up to and including version 1.5.12 in Java applications allows attackers to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution.
Malicious logback configuration files can allow the attacker to execute arbitrary code using the JaninoEventEvaluator extension.
A successful attack requires the user to have write access to a configuration file. Alternatively, the attacker could inject a malicious environment variable pointing to a malicious configuration file. In both cases, the attack requires existing privilege.
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2024-12798
QOS.CH logback-core Expression Language Injection vulnerability
Moderate severity GitHub Reviewed Published Dec 19, 2024 to the GitHub Advisory Database • Updated Dec 19, 2024
Package
maven ch.qos.logback:logback-core (Maven)
Affected versions
< 1.15.13
ACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core up to and including version 1.5.12 in Java applications allows attackers to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution.
Malicious logback configuration files can allow the attacker to execute arbitrary code using the JaninoEventEvaluator extension.
A successful attack requires the user to have write access to a configuration file. Alternatively, the attacker could inject a malicious environment variable pointing to a malicious configuration file. In both cases, the attack requires existing privilege.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-12798
- https://logback.qos.ch/news.html#1.5.13
- qos-ch/logback@2cb6d52
Published to the GitHub Advisory Database
Dec 19, 2024
Last updated
Dec 19, 2024