Staging Rabbitmq instance is exposed to the internet with default credentials
A RabbitMQ management console was reachable from the internet and still accepted the built-in guest account with its default password. An attacker could log in with administrative rights, read queued messages containing SSO and API details, and create, change or delete queues.
- Fixed in 3 hours
- Paid in 3 hours
- Disclosed after 43 hours
Description: RabbitMQ is an open-source message-broker software (sometimes called message-oriented middleware) that originally implemented the Advanced Message Queuing Protocol (AMQP) and has since been extended with a plug-in architecture to support Streaming Text Oriented Messaging Protocol (STOMP), Message Queuing Telemetry Transport (MQTT), and other protocols.
The instance of the rabbitmq of unikrn is exposed to the internet with the default credentials guest:guest which has an administrative access.
Steps To Reproduce:
- Visit ███████
- Enter user as guest & password as guest.
- Boom!! You are inside the management console of the rabbitmq of unikrn.
P.S I checked that the ssl certificates belong to domain *.dev.unikrn.space which proves that the instance belongs to unikrn and maybe used for production or development.
##Mitigation Don't expose the rabbitmq console on the internet & remove the default credentials.
Supporting Material/References:
Here is a screenshot of the list of queue ███
Impact
The impact is critical as the attacker can get hell lot of details by dumping the queues as the queues are having confidential details like sso details & api details for different assets. Also the default credential has the administrative access which can help the attacker to add a new queue, modify or delete an existing queue etc.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the management console was published to the internet and the default guest account was left enabled with its default password.
Impact
An attacker with administrative access could dump queues holding confidential SSO and API details and could add, modify or delete queues.
What the attacker needed
Console reachable from the internet; default guest account still enabled
How it was found
- Open the exposed RabbitMQ management console address.
- Log in with the username guest and the password guest.
- Reach the management console and view the list of queues.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
RabbitMQ is a message broker: programs put messages into queues and other programs take them out. The management console is a web page for administering it, and it shipped with a well-known default login of guest and guest. Because that page was open to anyone on the internet and the password was never changed, anyone who found it could log in and read or alter the messages.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.