Authentication bypass via overbroad Cloud Foundry path exclusion
Published Apr 20, 2023 · Updated May 5, 2025
Security bypass in Spring Boot 3.0.0 through 3.0.5, 2.7.0 through 2.7.10, and older unsupported versions allows remote attackers to reach handlers. The Cloud Foundry Actuator auto-configuration excludes every /cloudfoundryapplication/** request from Spring Security instead of excluding only registered Actuator endpoint paths. Exposure requires deployment to Cloud Foundry, enabled Cloud Foundry Actuator endpoints, and an application handler such as a catch-all mapping; reachable handlers then execute outside the application's security filter chain.
Summary
What happened
Security bypass in Spring Boot 3.0.0 through 3.0.5, 2.7.0 through 2.7.10, and older unsupported versions allows remote attackers to reach handlers. The Cloud Foundry Actuator auto-configuration excludes every /cloudfoundryapplication/** request from Spring Security instead of excluding only registered Actuator endpoint paths. Exposure requires deployment to Cloud Foundry, enabled Cloud Foundry Actuator endpoints, and an application handler such as a catch-all mapping; reachable handlers then execute outside the application's security filter chain.
The record
- CVE
- CVE-2023-20873
- Published
- Apr 20, 2023
- Updated
- May 5, 2025
- Vendor
- Spring
- Product
- Spring Boot
- Classifications
- T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 20, 2023CVE publishedPublication date reported by the CVE source.
- May 5, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Spring Boot versions 3.0.0 - 3.0.5, 2.7.0 - 2.7.10, and older unsupported versions
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo