---
cve: "CVE-2024-12798"
severity: "MEDIUM"
cvss: 5.9
epss: "0.5%"
vendor: "QOS.CH Sarl"
kev: false
exploited: false
published: "2024-12-19 16:15:07"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-21T07:23:50+02:00"
---

# CVE-2024-12798

> 5.9 MEDIUM

## Beschreibung

ACE vulnerability in JaninoEventEvaluator  by QOS.CH logback-core
      upto including version 0.1 to 1.3.14 and 1.4.0 to 1.5.12 in Java applications allows
      attacker 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.

## CVSS-Vektor

```
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/RE:L/U:Clear
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |

## Referenzen

- <https://logback.qos.ch/news.html#1.5.13>
- <https://logback.qos.ch/news.html#1.3.15>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-12798) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
