Executive Summary
RabbitMQ connections accept unauthenticated clients, allowing any network participant to publish orders or consume sensitive data from queues.
Root Cause
RabbitMQ configured with guest:guest or no credentials validation.
Proposed Solution
# docker-compose.yml
rabbitmq:
environment:
RABBITMQ_DEFAULT_USER: order-system
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_PASSWORD}
RABBITMQ_DEFAULT_VHOST: /orders
// RabbitMQ connection configuration
@Configuration
public class RabbitMQConfig {
@Bean
public ConnectionFactory connectionFactory() {
CachingConnectionFactory factory = new CachingConnectionFactory();
factory.setHost(environment.getProperty("rabbitmq.host"));
factory.setUsername(environment.getProperty("rabbitmq.user"));
factory.setPassword(environment.getProperty("rabbitmq.password"));
factory.setVirtualHost("/orders");
return factory;
}
}
Checklist
@pooranjoyb Could you please /assign this issue to me? I would like to implement RabbitMQ authentication under NSOC '26.
/assign
Executive Summary
RabbitMQ connections accept unauthenticated clients, allowing any network participant to publish orders or consume sensitive data from queues.
Root Cause
RabbitMQ configured with guest:guest or no credentials validation.
Proposed Solution
Checklist
@pooranjoyb Could you please /assign this issue to me? I would like to implement RabbitMQ authentication under NSOC '26.
/assign