Vulnerability Name:

CVE-2021-32719 (CCN-204514)

Assigned:2021-06-27
Published:2021-06-27
Updated:2021-07-02
Summary:RabbitMQ is a multi-protocol messaging broker. In rabbitmq-server prior to version 3.8.18, when a federation link was displayed in the RabbitMQ management UI via the `rabbitmq_federation_management` plugin, its consumer tag was rendered without proper <script> tag sanitization. This potentially allows for JavaScript code execution in the context of the page. The user must be signed in and have elevated permissions (manage federation upstreams and policies) for this to occur. The vulnerability is patched in RabbitMQ 3.8.18. As a workaround, disable the `rabbitmq_federation_management` plugin and use [CLI tools](https://www.rabbitmq.com/cli.html) instead.
CVSS v3 Severity:4.8 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N)
4.6 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
5.5 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N)
5.3 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:3.5 Low (CVSS v2 Vector: AV:N/AC:M/Au:S/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
5.5 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-79
Vulnerability Consequences:Cross-Site Scripting
References:Source: MITRE
Type: CNA
CVE-2021-32719

Source: XF
Type: UNKNOWN
rabbitmq-cve202132719-xss(204514)

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/rabbitmq/rabbitmq-server/pull/3122

Source: CCN
Type: RabbitMQ GIT Repository
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ federation management plugin

Source: CONFIRM
Type: Mitigation, Third Party Advisory
https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-5452-hxj4-773x

Source: MISC
Type: Exploit, Third Party Advisory
https://herolab.usd.de/security-advisories/usd-2021-0011/

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-32719

Vulnerable Configuration:Configuration 1:
  • cpe:/a:vmware:rabbitmq:*:*:*:*:*:*:*:* (Version < 3.8.18)

  • Configuration CCN 1:
  • cpe:/a:vmware:rabbitmq:3.8.17:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:8059
    P
    perl-solv-0.7.23-150400.3.3.1 on GA media (Moderate)
    2023-06-20
    oval:org.opensuse.security:def:7991
    P
    binutils-devel-32bit-2.39-150100.7.40.1 on GA media (Moderate)
    2023-06-20
    oval:org.opensuse.security:def:3475
    P
    dovecot22-2.2.31-19.17.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:95105
    P
    erlang-rabbitmq-client-3.8.11-3.3.3 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:111739
    P
    Security update for rabbitmq-server (Moderate)
    2021-10-09
    oval:org.opensuse.security:def:102212
    P
    Security update for rabbitmq-server (Moderate)
    2021-10-09
    oval:org.opensuse.security:def:69148
    P
    Security update for rabbitmq-server (Moderate)
    2021-10-09
    oval:org.opensuse.security:def:1636
    P
    Security update for rabbitmq-server (Moderate)
    2021-10-09
    oval:org.opensuse.security:def:111076
    P
    Security update for rabbitmq-server (Moderate)
    2021-10-04
    oval:org.opensuse.security:def:96072
    P
    Security update for rabbitmq-server (Moderate)
    2021-09-29
    oval:org.opensuse.security:def:102762
    P
    Security update for rabbitmq-server (Moderate)
    2021-09-29
    oval:org.opensuse.security:def:69080
    P
    Security update for rabbitmq-server (Moderate)
    2021-09-29
    oval:org.opensuse.security:def:109428
    P
    Security update for rabbitmq-server (Moderate)
    2021-09-29
    oval:org.opensuse.security:def:118524
    P
    Security update for rabbitmq-server (Moderate)
    2021-09-29
    BACK
    vmware rabbitmq *
    vmware rabbitmq 3.8.17 -