제출 #1055897: spring-boot-admin Spring Boot Admin 3.x SSRF / Missing Authentication정보

제목spring-boot-admin Spring Boot Admin 3.x SSRF / Missing Authentication
설명title:Spring Boot Admin up to 3.x anonymous instance registration unmitigated SSRF cloud metadata disclosure CWE:CWE-918 + CWE-306 CVSS:AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N = 7.2 Description: A Spring Boot Admin server deployed without Spring Security (the default per the official quick-start) exposes instance registration with no authentication: POST /instances, GET /instances, DELETE /instances/{id}. Registration URL validation is minimal. Registration.checkUrl() (spring-boot-admin-server domain/values/Registration.java) enforces only uri.isAbsolute(); no scheme/host/address filtering. The SsrfUrlValidator in current master is DISABLED BY DEFAULT (AdminServerProperties SsrfProtectionProperties.enabled=false); when disabled, validate() returns without checking anything, and the InetAddressFilter bean is only registered when ssrf-protection.enabled=true (confirmed by AdminServerAutoConfigurationTest). After registration the SBA server makes OUTBOUND requests to the attacker-controlled URLs: 1. StatusUpdater probes healthUrl (GET {healthUrl}/actuator/health, 10s timeout, retried) 2. endpoint detection probes managementUrl for /info /metrics /env /threaddump /heapdump ... 3. InstancesProxyController (GET /instances/{id}/actuator/**) forwards user requests to the registered managementUrl Attacker reach: POST /instances { "name":"probe", "healthUrl":"http://x.x.x.x/latest/meta-data/iam/security-credentials/", "managementUrl":"http://x.x.x.x/latest/meta-data/iam/security-credentials/" } - Cloud metadata exfiltration: the health probe pulls the 200 response (STS temporary credentials) into StatusInfo.details, read back via GET /instances/{id} — blind-SSRF-to-non-blind upgrade - Internal scanning oracle: one instance per host/port; status/timeout differences reveal live services - Proxy amplification: /instances/{id}/actuator/env relays the target's actuator content verbatim Impact: SSRF to x.x.x.x / 127.0.0.1 / RFC1918 internal services, cloud STS credential theft, actuator info disclosure — all under DEFAULT configuration, no privilege required. Recommendation: ship ssrf-protection.enabled=true as default; in Registration.checkUrl() reject non-http(s) schemes, loopback, link-local and RFC1918; attach InetAddressFilter.externalAddresses() to the outbound WebClient by default, independent of the URL validator. Reviewer note (secondary): with ssrf-protection.enabled=true a DNS-rebind/TOCTOU window remains — SsrfUrlValidator.checkAddress() treats UnknownHostException as allow (deferring to the connection-level filter), so an attacker DNS record that fails at registration but resolves to x.x.x.x at probe time bypasses the URL check. Recommend treating UnknownHostException as reject and validating every CNAME hop.
원천⚠️ https://github.com/codecentric/spring-boot-admin/issues/5824
사용자
 onlyeagle (UID 101618)
제출2026. 10. 25. AM 02:51 (1 월 ago)
모더레이션2026. 11. 24. AM 09:50 (1 month later)
상태중복
VulDB 항목378172 [codecentric Spring Boot Admin 까지 4.1.1 managementUrl 권한 상승]
포인트들0

Might our Artificial Intelligence support you?

Check our Alexa App!