CVE-2021-43799
Zulip RabbitMQ Weak Cookie Vulnerability
Description
Zulip is an open-source team collaboration tool. Zulip Server installs RabbitMQ for internal message passing. In versions of Zulip Server prior to 4.9, the initial installation (until first reboot, or restart of RabbitMQ) does not successfully limit the default ports which RabbitMQ opens; this includes port 25672, the RabbitMQ distribution port, which is used as a management port. RabbitMQ's default "cookie" which protects this port is generated using a weak PRNG, which limits the entropy of the password to at most 36 bits; in practicality, the seed for the randomizer is biased, resulting in approximately 20 bits of entropy. If other firewalls (at the OS or network level) do not protect port 25672, a remote attacker can brute-force the 20 bits of entropy in the "cookie" and leverage it for arbitrary execution of code as the rabbitmq user. They can also read all data which is sent through RabbitMQ, which includes all message traffic sent by users. Version 4.9 contains a patch for this vulnerability. As a workaround, ensure that firewalls prevent access to ports 5672 and 25672 from outside the Zulip server.
INFO
Published Date :
Jan. 25, 2022, 9:15 p.m.
Last Modified :
Feb. 2, 2022, 6:35 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-43799 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-43799
.
URL | Resource |
---|---|
https://github.com/gteissier/erl-matter | Third Party Advisory |
https://github.com/zulip/zulip/commit/a5496f4098e3998c9b84e8dc564aa983d6cdf6e8 | Patch Third Party Advisory |
https://github.com/zulip/zulip/releases/tag/4.9 | Release Notes Third Party Advisory |
https://github.com/zulip/zulip/security/advisories/GHSA-p663-wxvv-2fjp | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python Exploit Code
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-43799
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-43799
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Feb. 02, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/gteissier/erl-matter No Types Assigned https://github.com/gteissier/erl-matter Third Party Advisory Changed Reference Type https://github.com/zulip/zulip/commit/a5496f4098e3998c9b84e8dc564aa983d6cdf6e8 No Types Assigned https://github.com/zulip/zulip/commit/a5496f4098e3998c9b84e8dc564aa983d6cdf6e8 Patch, Third Party Advisory Changed Reference Type https://github.com/zulip/zulip/releases/tag/4.9 No Types Assigned https://github.com/zulip/zulip/releases/tag/4.9 Release Notes, Third Party Advisory Changed Reference Type https://github.com/zulip/zulip/security/advisories/GHSA-p663-wxvv-2fjp No Types Assigned https://github.com/zulip/zulip/security/advisories/GHSA-p663-wxvv-2fjp Third Party Advisory Added CWE NIST CWE-338 Added CPE Configuration OR *cpe:2.3:a:zulip:zulip:*:*:*:*:*:*:*:* versions up to (excluding) 4.9
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-43799
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-43799
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
3.12 }} 0.20%
score
0.91253
percentile