With its default inbound request header pattern of * , DefaultAmqpHeaderMapper.inboundMapper()...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpringSpring Integration |
≥ 7.1.0, < 7.1.2.1→ 7.1.2.1 ≥ 7.0.0, < 7.0.7.1→ 7.0.7.1 ≥ 6.5.0, < 6.5.12→ 6.5.12 ≥ 6.0.0, < 6.4.14→ 6.4.14 < 5.5.23→ 5.5.23 ≥ 7.1.0, < 7.1.3→ 7.1.3 ≥ 7.0.0, < 7.0.8→ 7.0.8 |
7.1.2.1 7.0.7.1 6.5.12 6.4.14 5.5.23 7.1.3 7.0.8 |
Original description The description as published by the source.
With its default inbound request header pattern of * , DefaultAmqpHeaderMapper.inboundMapper() copies all AMQP application headers into the Spring Integration message headers, including the framework-significant replyChannel and errorChannel headers.
This mapper is used by default by all AMQP inbound components, such as AmqpInboundChannelAdapter , AmqpInboundGateway , AmqpMessageSource and AMQP-backed message channels.
An attacker able to publish messages to a RabbitMQ queue consumed by an affected application can therefore set these headers.
A replyChannel or errorChannel header is later resolved as a MessageChannel bean name, which allows the attacker to redirect the output of reply-producing handlers without an explicit output channel, or error messages, to another channel in the application.
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