Skip to content

SOAP call not rejected when an interceptor fails [SWS-892] #970

@gregturn

Description

@gregturn

Ivan Brencsics opened SWS-892* and commented

During a SOAP call, in case a ClientInterceptor returns false (meaning it did not manage to do its job), the call is not rejected. The WebServiceTemplate class iterates through the ClientInterceptors, and if one returns false, it simply stops calling the next interceptors, but executes the SOAP call itself.

In my opinion this can lead to a security hole. If the WSS interceptor does not manage to encrypt the message body, the call is not rejected, but sensitive data goes to the wire.


Affects: 2.2.0.RELEASE

Issue Links:

Referenced from: commits spring-projects/spring-integration@171ef10, spring-projects/spring-integration@90e7491, spring-projects/spring-integration@1514313

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions