Common attacks and weaknesses
- guest/guest default login.
RabbitMQ web management interface.
A browser sends an HTTP request to port 15672 and the RabbitMQ management server sends the page back. It travels in clear text: anyone on the path can read it, passwords included.
Unofficial use. The IANA assignment below differs from what is usually found on this port in practice.
No entry. The port is free for any application, so check what uses it on your hosts.
// source: IANA service name and port number registry
Linux
sudo ss -ltnup 'sport = :15672' # process listening on 15672
sudo lsof -nP -i :15672macOS
sudo lsof -nP -i :15672
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 15672 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 15672 netstat -ano | findstr :15672
From another machine
nmap -p 15672 -sV <host> nc -zv <host> 15672
Block it in the firewall
sudo ufw deny 15672/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 15672" -Direction Inbound -LocalPort 15672 -Protocol TCP -Action Block # Windows
RabbitMQ web management interface.
Port 15672 is registered for TCP.
It is rated 6/10 (high) when exposed to the Internet. guest/guest default login. Remove the guest user and restrict access.
On Linux run "ss -ltnup 'sport = :15672'", on macOS "lsof -nP -i :15672", and on Windows "netstat -ano | findstr :15672" to see the local process. From another machine, "nmap -p 15672 <host>" shows whether it is reachable.