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.