Bug 1977002 (CVE-2021-32718) - CVE-2021-32718 rabbitmq-server: improper neutralization of script-related HTML tags in a web page (basic XSS) in management UI
Summary: CVE-2021-32718 rabbitmq-server: improper neutralization of script-related HTM...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2021-32718
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1977004 1977003 1990956 1990957 1990958 1990959
Blocks: 1977005
TreeView+ depends on / blocked
 
Reported: 2021-06-28 18:00 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-12-07 20:27 UTC (History)
19 users (show)

Fixed In Version: rabbitmq 3.8.17
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-22 21:54:42 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:8851 0 None None None 2022-12-07 19:25:38 UTC
Red Hat Product Errata RHSA-2022:8867 0 None None None 2022-12-07 20:27:03 UTC

Description Guilherme de Almeida Suckevicz 2021-06-28 18:00:09 UTC
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.

Reference:
https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-c3hj-rg5h-2772

Upstream patch:
https://github.com/rabbitmq/rabbitmq-server/pull/3028

Comment 1 Guilherme de Almeida Suckevicz 2021-06-28 18:00:41 UTC
Created rabbitmq-server tracking bugs for this issue:

Affects: epel-7 [bug 1977004]
Affects: fedora-all [bug 1977003]

Comment 4 Tapas Jena 2021-07-06 09:28:13 UTC
RabbitMq-server is no more relevant(not in use) to Ansible Tower after Tower v3.6 and and Tower upto v3.6 are already EOL. Hence, marking Tower as "Not Affected" by this vulnerability.

Comment 5 Product Security DevOps Team 2021-07-22 21:54:42 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-32718

Comment 7 errata-xmlrpc 2022-12-07 19:25:36 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 16.2

Via RHSA-2022:8851 https://access.redhat.com/errata/RHSA-2022:8851

Comment 8 errata-xmlrpc 2022-12-07 20:27:01 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 16.1

Via RHSA-2022:8867 https://access.redhat.com/errata/RHSA-2022:8867


Note You need to log in before you can comment on or make changes to this bug.