Inbound WS-Security allows RSA PKCS#1 v1.5 key transport by default
Spring Web Services
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.ws:spring-ws-security Maven |
|
|
Spring Web Services
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.ws:spring-ws-security Maven |
|
|
Wss4jSecurityInterceptor defaulted allowRSA15KeyTransportAlgorithm to true, overriding Apache WSS4J's safer default for validation RequestData. Inbound WS-Security decryption could therefore accept RSA PKCS#1 v1.5 (rsa-1_5) encrypted key material unless operators explicitly reconfigured the flag.
Affected versions: Spring Web Services 5.0.0 through 5.0.1; 4.1.0 through 4.1.3; 4.0.0 through 4.0.18; 3.1.0 through 3.1.8.
From the CVE record · vmware
Wss4jSecurityInterceptor defaults to allowing RSA PKCS#1 v1.5 encrypted key material during inbound WS-Security decryption, overriding Apache WSS4J's safer validation default. An attacker whose encrypted message is processed could have RSA-1.5 key material accepted unless the operator explicitly reconfigured the flag. The input does not specify authentication or user-interaction requirements.
Teams running Spring Web Services spring-ws-security versions 5.0.0–5.0.1, 4.1.0–4.1.3, 4.0.0–4.0.18, or 3.1.0–3.1.8 should check their deployments.