Request to Disable or Restrict Access to /cli/index.html and /cli/rabbitmqadmin for Security Reasons #14313
-
SummaryWe are using RabbitMQ 4.1 with the management plugin enabled, and one of our customers has flagged the following URLs as a security concern:
These URLs expose the Why This MattersOur customer's requirements include:
At present, it appears there is no configuration option to disable these specific RequestWe would like to request the following:
Environment
Workarounds ConsideredWe're aware that reverse proxy rules (e.g., with NGINX) can be used to block specific paths, but we would prefer a first-class RabbitMQ config setting, especially for compliance and consistency across environments. ConclusionWe believe this would be a useful feature for other security-conscious users as well. Thank you for considering it, and we’re happy to provide feedback or help test if needed. Describe the solution you'd likeDescribe alternatives you've consideredNo response Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
@michaelklishin now that rabbitmqadmin-ng exists, perhaps returning a 308 code for each of these resources to https://github.com/rabbitmq/rabbitmqadmin-ng/releases/latest would be appropriate?
|
Beta Was this translation helpful? Give feedback.
-
Just like there is no way to disable individual API endpoints (with very few exceptions that do not really disable the endpoint itself, only what it can do). @moerwald the recommended workaround is to use a reverse proxy in front of the API, which allows you to restrict access to specific endpoints, control all security-relevant headers, and so on. |
Beta Was this translation helpful? Give feedback.
-
@lukebakken I agree that we can redirect With We have already done something equally opinionated in #13698 for a paying user who made a very big deal out of the fact that a static HTTP API doc page was publicly accessible. So I guess we can do that again. |
Beta Was this translation helpful? Give feedback.
-
@moerwald if you have a commercial license from Broadcom, feel free to file a ticket and we will replicate #13698. If you would like to have first class support for a feature 99% of users have never asked for, and you do not financially sponsor RabbitMQ development, you are welcome to contribute such a change after signing a contributor CLA using #13698 as a very close example. |
Beta Was this translation helpful? Give feedback.
-
Converted to a discussion. |
Beta Was this translation helpful? Give feedback.
@moerwald if you have a commercial license from Broadcom, feel free to file a ticket and we will replicate #13698.
If you would like to have first class support for a feature 99% of users have never asked for, and you do not financially sponsor RabbitMQ development, you are welcome to contribute such a change after signing a contributor CLA using #13698 as a very close example.