जमा करें #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)
सबमिशन25/10/2026 02:51 AM (1 महीना पहले)
संयम24/11/2026 09:50 AM (1 month later)
स्थितिप्रतिलिपि
VulDB प्रविष्टि378172 [codecentric Spring Boot Admin तक 4.1.1 managementUrl अधिकार वृद्धि]
अंक0

Might our Artificial Intelligence support you?

Check our Alexa App!