Lucene search

K
githubGitHub Advisory DatabaseGHSA-W3X5-427H-WFQ6
HistoryDec 09, 2022 - 8:19 p.m.

Spring Boot Admins integrated notifier support allows arbitrary code execution

2022-12-0920:19:32
CWE-94
GitHub Advisory Database
github.com
29
arbitrary code execution
spring boot admin
notifiers
teams-notifier
environment variables
patch
spel injection
workaround

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.003 Low

EPSS

Percentile

69.7%

Impact

All users who run Spring Boot Admin Server, having enabled Notifiers (e.g. Teams-Notifier) and write access to environment variables via UI are possibly affected.

Patches

In the most recent releases of Spring Boot Admin 2.6.10 and 2.7.8 the issue is fixed by implementing SimpleExecutionContext of SpEL. This prevents the arbitrary code execution (i.e. SpEL injection).

Workarounds

  • Disable any notifier
  • Disable write access (POST request) on /env actuator endpoint

Affected configurations

Vulners
Node
spring-boot-admin_projectspring-boot-adminRange<3.0.0-M6
OR
spring-boot-admin_projectspring-boot-adminRange<2.7.8
OR
spring-boot-admin_projectspring-boot-adminRange<2.6.10

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.003 Low

EPSS

Percentile

69.7%