zulip/docs
Alex Vandiver a5496f4098 CVE-2021-43799: Set a secure Erlang cookie.
The RabbitMQ docs state ([1]):

    RabbitMQ nodes and CLI tools (e.g. rabbitmqctl) use a cookie to
    determine whether they are allowed to communicate with each
    other. [...] The cookie is just a string of alphanumeric
    characters up to 255 characters in size. It is usually stored in a
    local file.

...and goes on to state (emphasis ours):

    If the file does not exist, Erlang VM will try to create one with
    a randomly generated value when the RabbitMQ server starts
    up. Using such generated cookie files are **appropriate in
    development environments only.**

The auto-generated cookie does not use cryptographic sources of
randomness, and generates 20 characters of `[A-Z]`.  Because of a
semi-predictable seed, the entropy of this password is thus less than
the idealized 26^20 = 94 bits of entropy; in actuality, it is 36 bits
of entropy, or potentially as low as 20 if the performance of the
server is known.

These sizes are well within the scope of remote brute-force attacks.

On provision, install, and upgrade, replace the default insecure
20-character Erlang cookie with a cryptographically secure
255-character string (the max length allowed).

[1] https://www.rabbitmq.com/clustering.html#erlang-cookie
2022-01-25 02:13:53 +00:00
..
_static readthedocs: Add proper backlink to the Zulip homepage. 2021-07-06 10:59:59 -07:00
_templates docs: Follow Sphinx 4 rename of master_doc to root_doc. 2021-08-31 14:24:16 -07:00
contributing portico: Update contributor count from 700 to 1000. 2022-01-24 12:41:49 -08:00
development Remove Ubuntu 18.04 support. 2022-01-21 17:26:14 -08:00
documentation documentation: Expand documentation processes in new feature tutorial. 2021-11-02 14:03:34 -07:00
git dev docs: Update Tig link. 2021-11-30 14:36:29 -08:00
images docs: Add missing width to Zulip logo. 2021-02-05 09:49:33 -08:00
overview CVE-2021-43799: Set a secure Erlang cookie. 2022-01-25 02:13:53 +00:00
production puppet: Always set the RabbitMQ nodename to zulip@localhost. 2022-01-25 01:48:02 +00:00
subsystems Remove Ubuntu 18.04 support. 2022-01-21 17:26:14 -08:00
testing external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
translating external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
tutorials external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
.gitignore
Makefile docs: Replace Makefile based on output of newer sphinx-quickstart. 2019-12-02 18:39:33 -08:00
README.md docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
THIRDPARTY nagios: Replace check_website_response with standard check_http plugin. 2021-07-09 16:47:03 -07:00
code-of-conduct.md
conf.py docs: Enable sphinx_rtd_theme as an extension. 2021-11-04 11:55:15 -07:00
index.md external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
requirements.readthedocs.txt requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30

README.md

Zulip Markdown documentation hosted elsewhere

The Markdown files in this directory ( /zulip/docs ) are not intended to be read on GitHub. Instead, visit our ReadTheDocs to read the Zulip documentation.