3.1low
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ management UI
- Severity
- 3.1low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.43% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-RABBITMQ-2021-32718GHSA-c3hj-rg5h-2772
Description
RabbitMQ is a multi-protocol messaging broker. In rabbitmq-server prior to version 3.8.17, a new user being added via management UI could lead to the user's bane being rendered in a confirmation message without proper `<script>` tag sanitization, potentially allowing for JavaScript code execution in the context of the page. In order for this to occur, the user must be signed in and have elevated permissions (other user management). The vulnerability is patched in RabbitMQ 3.8.17. As a workaround, disable `rabbitmq_management` plugin and use CLI tools for management operations and Prometheus and Grafana for metrics and monitoring.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rabbitmq rabbitmq-server | < 3.8.17 | CVE List |
| vmware rabbitmq | before 3.8.17 | NVD |
| rabbitmq (Bitnami) | before 3.8.17 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
RabbitMQ is a multi-protocol messaging broker. In rabbitmq-server prior to version 3.8.17, a new user being added via management UI could lead to the user's bane being rendered in a confirmation message without proper `<script>` tag sanitization, potentially allowing for JavaScript code execution in the context of the page. In order for this to occur, the user must be signed in and have elevated permissions (other user management). The vulnerability is patched in RabbitMQ 3.8.17. As a workaround, disable `rabbitmq_management` plugin and use CLI tools for management operations and Prometheus and Grafana for metrics and monitoring.
NVD (es)
RabbitMQ es un broker de mensajería multiprotocolo. En rabbitmq-server versiones anteriores a 3.8.17, la adición de un nuevo usuario por medio de la Interfaz de administración podía conllevar que el bane del usuario se mostrara en un mensaje de confirmación sin el apropiado saneamiento o de la etiqueta "(script)", permitiendo potencialmente una ejecución de código JavaScript en el contexto de la página. Para que esto ocurra, el usuario debe haber iniciado sesión y tener permisos elevados (otra administración de usuarios). La vulnerabilidad está parcheada en RabbitMQ versión 3.8.17. Como solución alternativa, desactivar el plugin "rabbitmq_management" y usar herramientas CLI para las operaciones de administración y Prometheus y Grafana para las métricas y la monitorización
References
| https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-c3hj-rg5h-2772 | advisory, mitigation, third-party-advisory | |
| https://github.com/rabbitmq/rabbitmq-server/pull/3028 | advisory, patch, third-party-advisory | |
| http://seclists.org/fulldisclosure/2021/Dec/3 | advisory, exploit, mailing-list, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32718 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32718 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-32718 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-RABBITMQ-2021-32718 changed 2026-09-08 | Apache-2.0 |