When validation of an inbound WS-Security header failed, the SOAP fault returned to the sender...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpringSpring Web Services |
≥ 5.0.0, < 5.0.3.1→ 5.0.3.1 ≥ 4.1.0, < 4.1.5→ 4.1.5 ≥ 4.0.0, < 4.0.20→ 4.0.20 < 3.1.10→ 3.1.10 ≥ 5.0.0, < 5.0.4→ 5.0.4 |
5.0.3.1 4.1.5 4.0.20 3.1.10 5.0.4 |
Original description The description as published by the source.
When validation of an inbound WS-Security header failed, the SOAP fault returned to the sender used the message of the underlying exception as its fault string, telling an unauthenticated sender which check failed and why.
Because that message varies with the cause, a sender can also distinguish the failure modes of a message it submitted.
This issue only affects deployments where all the following are true:
Inbound WS-Security processing is performed by an AbstractWsSecurityInterceptor subclass, such as Wss4jSecurityInterceptor .
No custom EndpointExceptionResolver replaces the fault string built from the validation exception.
Fixed versions return the same fault string, Security processing failed , whatever the failure, and log the details instead.
A client relying on the previous fault string to tell failures apart will no longer be able to.
Configure an exceptionResolver to take over building the fault.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@vmware.com
- web security@vmware.com
- web nvd.nist.gov
- web github.com