Malicious logback.xml configuration file allows instantiation of arbitrary classes
ACE vulnerability in configuration file processing by QOS.CH logback-core up to and including version 1.5.24 in Java applications, allows an attacker to instantiate classes already present on the class path by compromising an existing logback configuration file.
The instantiation of a potentially malicious Java class requires that said class is present on the user's class-path. In addition, the attacker must have write access to a
configuration file. However, after successful instantiation, the instance is very likely to be discarded with no further ado.
Problem Types
| Type | CWE ID | Description |
|---|
| CWE | CWE-20 | CWE-20 Improper Input Validation |
Type: CWE
Description: CWE-20 Improper Input Validation
Metrics
| Version | Base score | Base severity | Vector |
|---|
| 4.0 | 1.8 | LOW | CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/S:N/AU:N/RE:M/U:Green |
Version: 4.0
Base score: 1.8
Base severity: LOW
Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/S:N/AU:N/RE:M/U:Green
Impacts
| CAPEC ID | Description |
|---|
| N/A | Arbitrary code execution on previously compromised system |
| CAPEC-242 | CAPEC-242 Code Injection |
CAPEC ID: N/A
Description: Arbitrary code execution on previously compromised system
Description: CAPEC-242 Code Injection