Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
CVE-2024-12798
Summary
Arbitrary Code Execution vulnerability in "JaninoEventEvaluator" by QOS.CH logback 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. This issue affects ch.qos.logback:logback-classic and ch.qos.logback:logback-core packages versions through 1.3.14, and 1.4.0 through 1.5.12.
- LOW
- LOCAL
- PASSIVE
- LOW
CWE-917 - Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
The software constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.
References
Advisory Timeline
- Published