Spring Security
Authentication Bypass under Actuator CloudFoundry endpoints
Spring Boot applications with Actuator can be vulnerable to an "Authentication Bypass" vulnerability when an application endpoint that requires authentication is declared under the path used by the CloudFoundry Actuator endpoints. This issue affects Spring Security: from 4.0.0 through 4.0.3, from 3.5.0 through 3.5.11, from 3.4.0 through 3.4.14, from 3.3.0 through 3.3.17, from 2.7.0 through 2.7.31.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 4.0.0, <= 4.0.3
- >= 3.5.0, <= 3.5.11
- >= 3.4.0, <= 3.4.14
- >= 3.3.0, <= 3.3.17
- >= 2.7.0, <= 2.7.31
- >= 4.0.0-M1, < 4.0.4
Fixed in 4.0.4
from GitHub Security Advisory GHSA-mgvc-8q2h-5pgc
- >= 3.5.0, < 3.5.12
Fixed in 3.5.12
from GitHub Security Advisory GHSA-mgvc-8q2h-5pgc
- >= 3.4.0, <= 3.4.13
from GitHub Security Advisory GHSA-mgvc-8q2h-5pgc
- >= 3.0.0, <= 3.3.13
from GitHub Security Advisory GHSA-mgvc-8q2h-5pgc
- <= 2.7.18
from GitHub Security Advisory GHSA-mgvc-8q2h-5pgc
Mitigation
Upgrade org.springframework.boot:spring-boot-starter-actuator to 4.0.4 or later.
Upgrade org.springframework.boot:spring-boot-starter-actuator to 3.5.12 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.