In logback version 1.2.7 and prior versions, an attacker with the required privileges to edit configurations files could craft a malicious configuration allowing to execute arbitrary code loaded from LDAP servers.
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-42550
- https://github.com/cn-panda/logbackRceDemo
- https://jira.qos.ch/browse/LOGBACK-1591
- http://logback.qos.ch/news.html
- https://github.com/qos-ch/logback/commit/87291079a1de9369ac67e20dc70a8fdc7cc4359c
- https://github.com/qos-ch/logback/commit/ef4fc4186b74b45ce80d86833820106ff27edd42
- https://github.com/qos-ch/logback/blob/1502cba4c1dfd135b2e715bc0cf80c0045d4d128/logback-site/src/site/pages/news.html
- https://security.netapp.com/advisory/ntap-20211229-0001/
- https://github.com/advisories/GHSA-668q-qrv7-99fm