CVE-2021-32718 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ management UI
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rabbitmq-server(Debian 12) | < 3.9.4-1 | 3.9.4-1 | Fixed |
| debian/rabbitmq-server(Debian 13) | < 3.9.4-1 | 3.9.4-1 | Fixed |
| debian/rabbitmq-server(Debian 14) | < 3.9.4-1 | 3.9.4-1 | Fixed |
| ubuntu/rabbitmq-server(Ubuntu 20.04) | < 3.8.3-0ubuntu0.2; = 3.7.8-4ubuntu2; = 3.7.18-1; = 3.8.2-0ubuntu1 +6 more | 3.8.3-0ubuntu0.2 | Fixed |
| VMware rabbitmq | < 3.8.17 | 3.8.17 | Fixed |
| rabbitmq-server | = < 3.8.17 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/rabbitmq-server(Debian:12) | < 3.9.4-1 | 3.9.4-1 |
| debian/rabbitmq-server(Debian:13) | < 3.9.4-1 | 3.9.4-1 |
| debian/rabbitmq-server(Debian:14) | < 3.9.4-1 | 3.9.4-1 |
| VMware rabbitmq | < 3.8.17 | 3.8.17 |
| rabbitmq-server | = < 3.8.17 | No fix listed |
| ubuntu/rabbitmq-server(Ubuntu:20.04) | < 3.8.3-0ubuntu0.2 | 3.8.3-0ubuntu0.2 |
| ubuntu/rabbitmq-server(Ubuntu:20.04) | = 3.7.8-4ubuntu2 | No fix listed |
| ubuntu/rabbitmq-server(Ubuntu:20.04) | = 3.7.18-1 | No fix listed |
| ubuntu/rabbitmq-server(Ubuntu:20.04) | = 3.8.2-0ubuntu1 | No fix listed |
| ubuntu/rabbitmq-server(Ubuntu:20.04) | = 3.8.2-0ubuntu1.1 | No fix listed |
| ubuntu/rabbitmq-server(Ubuntu:20.04) | = 3.8.2-0ubuntu1.2 | No fix listed |
| ubuntu/rabbitmq-server(Ubuntu:20.04) | = 3.8.2-0ubuntu1.3 | No fix listed |
| ubuntu/rabbitmq-server(Ubuntu:20.04) | = 3.8.2-0ubuntu1.4 | No fix listed |
| ubuntu/rabbitmq-server(Ubuntu:20.04) | = 3.8.2-0ubuntu1.5 | No fix listed |
| ubuntu/rabbitmq-server(Ubuntu:20.04) | = 3.8.3-0ubuntu0.1 | No fix listed |
References
- Debian Security Tracker CVE-2021-32718 vendor-advisory
- 20211203 usd AG Security Advisories 11/2021 exploit mailing-list third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking mitigation third-party-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking
- ubuntu.com vendor-advisory