Apache Camel Spring-WS leaks internal headers in SOAP responses
camel-spring-ws 4.0.0 before 4.18.6 and 4.19.0 before 4.22.2 are affected; CVSS 3.1 is 5.3.
Sensitive header leak in Apache Camel spring-ws SOAP responses
Apache Camel's camel-spring-ws component did not apply the configured HeaderFilterStrategy to outbound SOAP responses. A remote, unauthenticated client receiving a SOAP response can see Camel-internal headers (names starting with Camel, camel, or org.apache.camel.) set on the exchange during routing, revealing internal routing state. Affects Apache Camel 4.0.0 before 4.18.6 and 4.19.0 before 4.22.2.
What to do: Upgrade to 4.18.6, 4.22.2, or 4.23.0. Workaround: use a removeHeaders EIP before the response is produced to strip Camel-internal headers.
| Product | Affected | Fixed in |
|---|---|---|
| Apache Camel (camel-spring-ws) | 4.0.0 before 4.18.6; 4.19.0 before 4.22.2 | 4.18.6 (4.18.x LTS), 4.22.2 (4.22.x LTS), or 4.23.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel Spring-Ws component. This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2. In camel-spring-ws, the configured HeaderFilterStrategy was not applied to outbound SOAP responses, so Camel-internal headers (names beginning with Camel, camel or org.apache.camel.) that were set on the exchange during routing were copied into the SOAP response returned to the remote client. A remote client could therefore observe internal routing state that should not leave the application. The fixed releases apply the outbound header filter to SOAP responses so that Camel-internal headers are not disclosed. Users are recommended to upgrade to 4.18.6 for the 4.18.x LTS releases stream, to 4.22.2 for the 4.22.x LTS releases stream, or to 4.23.0. As a workaround, a removeHeaders EIP can be used before the response is produced to strip the Camel-internal headers.
camel-spring-ws 4.0.0 before 4.18.6 and 4.19.0 before 4.22.2 are affected; CVSS 3.1 is 5.3.
Today 551 readers · 626 views · 130 reads · all time 293K views