Vulnerability · Published Dec 9, 2022 · Assigned by GitHub_M

CVE-2022-46166Spring Boot Admins integrated notifier support allows arbitrary code execution

High 8.1

In plain English

A high-severity code injection in spring-boot-admin from codecentric. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 75% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.6%top 24.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

Spring boot admins is an open source administrative user interface for management of spring boot applications. All users who run Spring Boot Admin Server, having enabled Notifiers (e.g. Teams-Notifier) and write access to environment variables via UI are affected. Users are advised to upgrade to the most recent releases of Spring Boot Admin 2.6.10 and 2.7.8 to resolve this issue. Users unable to upgrade may disable any notifier or disable write access (POST request) on `/env` actuator endpoint.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavende.codecentric:spring-boot-admin2.6.10GHSA-w3x5-427h-wfq6
Mavende.codecentric:spring-boot-admin2.7.8GHSA-w3x5-427h-wfq6
Mavende.codecentric:spring-boot-admin3.0.0-M6GHSA-w3x5-427h-wfq6

Affected products (as reported)

VendorProductVersions
codecentric spring-boot-admin < 2.6.10

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

References