In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade org.springframework.ws:spring-ws-core to version 5.0.4 or higher.
org.springframework.ws:spring-ws-core is a product of the Spring community focused on creating document-driven Web services. Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads.
Affected versions of this package are vulnerable to Failing Open in the client-side AbstractValidatingInterceptor (and PayloadValidatingInterceptor), whose handleResponseValidationErrors method logs a schema-invalid response and returns false instead of rejecting it, leaving the response in place and halting the remaining response interceptor chain. When a response-securing interceptor such as Wss4jSecurityInterceptor is declared before the validating interceptor, an attacker who can supply a schema-invalid response causes the application to accept it with its WS-Security signature and encryption unchecked. This requires a client configured with PayloadValidatingInterceptor and validateResponse enabled, ordered after a response-validating security interceptor.
This vulnerability can be avoided by subclassing the validating interceptor and overriding handleResponseValidationErrors to throw WebServiceValidationException, or by disabling validateResponse on it.