GHSA-mrrp-9gjm-749v
Apache Camel-CXF: The SOAP operation-selection headers used non-Camel-prefixed names (operationName, operationNamespace) that bypass the HTTP header filter, allowing an HTTP client to redirect the invoked SOAP operation
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-46592
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
Improper Input Validation, Unintended Proxy or Intermediary ('Confused Deputy') vulnerability in Apache Camel CXF SOAP component. The camel-cxf producer selects which SOAP operation to invoke on the backend service from the operationName (and operationNamespace) Exchange header, whose constant values (CxfConstants.OPERATION_NAME / OPERATION_NAMESPACE) were the plain strings operationName / operationNamespace. Because these names do not start with the Camel / camel prefix, HttpHeaderFilterStrategy - which blocks only the Camel header namespace on the HTTP boundary - let them pass from an inbound HTTP request straight into the Exchange. In a route that bridges an HTTP consumer (for example platform-http) into a cxf: producer, any HTTP client could therefore set the operationName header and have CxfProducer resolve and invoke a different WSDL operation than the route intended - for example replacing a read operation with a destructive one - against the backend SOAP service (a confused-deputy redirection). The constant is defined in the shared camel-cxf-common module, so the same non-prefixed names also applied to camel-cxfrs. No credentials are required when the bridging consumer is unauthenticated. This issue affects Apache Camel: from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0. Users are recommended to upgrade to version 4.21.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. After upgrading, the operation-selection headers are named CamelCxfOperationName / CamelCxfOperationNamespace and are filtered at transport boundaries; see the 4.21 upgrade guide for the cross-transport carrier-header pattern. For deployments that cannot upgrade immediately, do not select the CXF operation from untrusted input: strip the operationName and operationNamespace headers from any untrusted ingress before the cxf: producer and set the operation from a trusted source in the route.
Paquets affectés
| Paquet | Versions |
|---|---|
| Maven · org.apache.camel:camel-cxf-soap | introduced 4.0.0, fixed 4.14.8 |
| Maven · org.apache.camel:camel-cxf-soap | introduced 4.15.0, fixed 4.18.3 |
| Maven · org.apache.camel:camel-cxf-soap | introduced 4.19.0, fixed 4.21.0 |
| Maven · org.apache.camel:camel-cxf-rest | introduced 4.0.0, fixed 4.14.8 |
| Maven · org.apache.camel:camel-cxf-rest | introduced 4.15.0, fixed 4.18.3 |
| Maven · org.apache.camel:camel-cxf-rest | introduced 4.19.0, fixed 4.21.0 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2026-46592 ADVISORY
- https://github.com/apache/camel/pull/23326 WEB
- https://github.com/apache/camel/pull/23369 WEB
- https://github.com/apache/camel/pull/23376 WEB
- https://github.com/apache/camel/commit/0138da45fc9428172c1585ab4561d42e8868cf49 WEB
- https://github.com/apache/camel/commit/36a5088b58be38317a8f974ffda2a262fa00b4e4 WEB
- https://github.com/apache/camel/commit/7240570a05687792c95badfa8d11ed2644117230 WEB
- https://camel.apache.org/security/CVE-2026-46592.html WEB
- https://github.com/apache/camel PACKAGE
- https://github.com/apache/camel/releases/tag/camel-4.14.8 WEB
- https://github.com/apache/camel/releases/tag/camel-4.18.3 WEB
- https://github.com/apache/camel/releases/tag/camel-4.21.0 WEB
- https://issues.apache.org/jira/browse/CAMEL-23526 WEB
- http://www.openwall.com/lists/oss-security/2026/07/05/15 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |