CVE-2022-31168
JSON

5.4medium

Zulip Server insufficient authorization for changing bot roles

Severity
5.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.84% (higher than 59% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Zulip is an open source team chat tool. Due to an incorrect authorization check in Zulip Server 5.4 and earlier, a member of an organization could craft an API call that grants organization administrator privileges to one of their bots. The vulnerability is fixed in Zulip Server 5.5. Members who don’t own any bots, and lack permission to create them, can’t exploit the vulnerability. As a workaround for the vulnerability, an organization administrator can restrict the `Who can create bots` permission to administrators only, and change the ownership of existing bots.

Affected

Product or packageVersionsReported by
zulip zulip< 5.5, before 5.5CVE List, NVD

All scores

GitHub_M5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-285CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Zulip is an open source team chat tool. Due to an incorrect authorization check in Zulip Server 5.4 and earlier, a member of an organization could craft an API call that grants organization administrator privileges to one of their bots. The vulnerability is fixed in Zulip Server 5.5. Members who don’t own any bots, and lack permission to create them, can’t exploit the vulnerability. As a workaround for the vulnerability, an organization administrator can restrict the `Who can create bots` permission to administrators only, and change the ownership of existing bots.

NVD (es)

Zulip es una herramienta de chat de equipo de código abierto. Debido a una comprobación de autorización incorrecta en Zulip Server versiones 5.4 y anteriores, un miembro de una organización podría diseñar una llamada a la API que conceda privilegios de administrador de la organización a uno de sus bots. La vulnerabilidad ha sido corregida en Zulip Server versión 5.5. Los miembros que no posean ningún bot, y carezcan de permiso para crearlos, no pueden explotar la vulnerabilidad. Como mitigación a la vulnerabilidad, un administrador de la organización puede restringir el permiso "Who can create bots" a administradores solamente, y cambiar la propiedad de los bots existentes

References

Sources

SourceRecordLicence
CVE ListCVE-2022-31168 changed 2025-04-23CVE Terms of Use
NVDCVE-2022-31168 changed 2026-06-17Public domain