CVE-2023-38286: Command Injection

Published Jul 14, 2023
·
Updated

Thymeleaf through 3.1.1.RELEASE as used in spring-boot-admin (aka Spring Boot Admin) through 3.1.1 allows for a 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.

Spring Boot Admin 3.1.2 and 2.7.16 contain mitigations for the issue. This bypass is achived via a library called Thymeleaf which has added counter measures for this sort of bypass in version 3.1.2.RELEASE which has explicity forbidden static access to org.springframework.util in expressions. Thymeleaf itself should not be considered vulnerable.

Other sources

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 Software

4 affected componentsFixes available
maven/de.codecentric:spring-boot-admin-server<2.7.16
2.7.16
maven/de.codecentric:spring-boot-admin-server>=3.0.0<3.1.2
3.1.2
Codecentric Spring Boot Admin<=3.1.0
Thymeleaf thymeleaf<=3.1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/de.codecentric:spring-boot-admin-server to a version that resolves this vulnerability.

    Fixed in 2.7.16
  2. Upgrade

    Upgrade maven/de.codecentric:spring-boot-admin-server to a version that resolves this vulnerability.

    Fixed in 3.1.2
  3. Upgrade

    Upgrade Spring Boot Admin to a version that resolves this vulnerability.

    Fixed in 3.1.2
  4. Upgrade

    Upgrade Spring Boot Admin to a version that resolves this vulnerability.

    Fixed in 2.7.16
  5. Upgrade

    Upgrade Thymeleaf to a version that resolves this vulnerability.

    Fixed in 3.1.2.RELEASE

Event History

Jul 14, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
05:15 AM
Description
Data Sourced
via NVD·05:15 AM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:31 AM

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID is CVE-2023-38286.

2

What is the severity rating of CVE-2023-38286?

CVE-2023-38286 has a severity rating of 7.5, which is considered high.

3

How can this vulnerability be exploited?

This vulnerability can be exploited through crafted HTML, potentially leading to server-side template injection (SSTI) and code execution.

4

Which products are affected by CVE-2023-38286?

Products such as spring-boot-admin (Spring Boot Admin) versions up to 3.1.1, Codecentric Spring Boot Admin up to 3.1.0, and Thymeleaf up to 3.1.1 are affected by CVE-2023-38286.

5

How can I fix CVE-2023-38286?

To fix CVE-2023-38286, update the spring-boot-admin package to version 3.1.2, or check for updates from the respective product vendors.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203