CVE-2023-38286
Codecentric Spring Boot Admin vulnerability
Thymeleaf through 3.1.1.RELEASE, as used in spring-boot-admin (aka Spring Boot Admin) through 3.1.1 and other products, allows sandbox bypass via crafted HTML. This may be relevant for SSTI (Server Side Template Injection) and code execution in spring-boot-admin if MailNotifier is enabled and there is write access to environment variables via the UI.
Affected products
Spring Boot Admin, Thymeleaf. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Codecentric Spring Boot Admin runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/p1n93r/SpringBootAdmin-thymeleaf-SSTI · Exploit
- nvd.nist.gov/vuln/detail/CVE-2023-38286
- github.com/codecentric/spring-boot-admin/issues/2613
- github.com/codecentric/spring-boot-admin/pull/2615
- github.com/codecentric/spring-boot-admin/commit/f1f6ac6f613e1c0afc121c8989f28b4155a6797a
- github.com/codecentric/spring-boot-admin/commit/f1f6ac6f613e1c0afc121c8989f28b4155a6797a#d
- github.com/codecentric/spring-boot-admin/blob/master/spring-boot-admin-server/pom.xml
- github.com/thymeleaf/thymeleaf/issues/966
- nvd.nist.gov/vuln/detail/CVE-2023-38286
- cve.org/CVERecord?id=CVE-2023-38286
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.