CVE-2022-46166: Spring Boot Admins integrated notifier support allows arbitrary code execution
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Spring Boot Adminto a version that resolves this vulnerability.Fixed in 2.6.10 - Upgrade
Upgrade
Spring Boot Adminto a version that resolves this vulnerability.Fixed in 2.7.8 - Configuration
Disable all enabled notifiers, including Teams-Notifier.
Spring Boot Admin Server Notifiers = disabled - Configuration
Disable write access via POST requests to the /env actuator endpoint.
Spring Boot Admin Server POST write access to /env actuator endpoint = disabled
Event History
Frequently Asked Questions
What is the severity of CVE-2022-46166?
CVE-2022-46166 is considered a significant vulnerability affecting Spring Boot Admin Server with specific configurations.
How do I fix CVE-2022-46166?
To fix CVE-2022-46166, users should upgrade to a version of Spring Boot Admin that is not affected, specifically above 2.6.10 or 2.7.8, or the later milestone versions for 3.0.0.
Which versions are affected by CVE-2022-46166?
CVE-2022-46166 affects Spring Boot Admin versions up to 2.6.10, versions between 2.7.0 and 2.7.8, and milestones 1 through 5 of 3.0.0.
Who is affected by CVE-2022-46166?
All users running Spring Boot Admin Server with enabled Notifiers and write access to environment variables via the UI are affected by CVE-2022-46166.
What is the impact of CVE-2022-46166?
CVE-2022-46166 can potentially allow unauthorized changes to environment variables, leading to configuration manipulation of Spring Boot applications.