Overview
About vulnerability
When WS-Addressing is used with non-anonymous ReplyTo or FaultTo addresses, Spring WS may initiate outbound connections through configured WebServiceMessageSender instances to destinations taken directly from request headers without verifying that those destinations are safe to connect to.
A remote attacker may supply crafted addressing headers that cause the server to connect to internal-only hosts, cloud metadata endpoints, or other sensitive destinations (SSRF).
This issue only affects deployments where all the following are true:
- An
AbstractAddressingEndpointMappingsubclass is registered with one or moreWebServiceMessageSenderinstances configured for out-of-band replies. - The service accepts WS-Addressing headers (
wsa:ReplyTo/wsa:FaultTo) from untrusted callers. - No restrictive destination validator or equivalent network-level egress control is in place.