Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn morespring-amqp, 1.x versions prior to 1.7.10, 2.x versions prior to 2.0.6 expose a man-in-the middle vulnerability.
The Spring RabbitMQ Java Client does not perform hostname validation.
This means that SSL certificates of other hosts are blindly accepted as long as they are trusted.
To exploit this vulnerability an attacker has to perform a man-in-the-middle (MITM) attack between a Java application using the Spring RabbitMQ Java Client and an RabbitMQ server it's connecting to.
TLS normally protects users and systems against MITM attacks, it cannot if certificates from other trusted hosts are accepted by the client.
Spring AMQP uses the RabbitMQ amqp-client java library for communication with RabbitMQ.
It uses the RabbitConnectionFactoryBean to create/configure the connection factory.
Users of affected versions should apply the following mitigation:
This issue was identified and responsibly reported by Peter Stöckli of Alphabot Security, Switzerland.
2018-09-11: Initial vulnerability report published.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy