Vulnerability · Published Jul 22, 2022 · Assigned by GitHub_M
CVE-2022-31168Zulip Server insufficient authorization for changing bot roles
Medium 5.4
In plain English
A medium-severity incorrect authorization in zulip from zulip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities).
Official 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 products (as reported)
Weakness: CWE-285, CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/zulip/zulip/security/advisories/GHSA-c3cp-ggg5-9xw5 x_refsource_CONFIRM
- https://github.com/zulip/zulip/commit/751b2a03e565e9eb02ffe923b7c24ac73d604034 x_refsource_MISC
- https://github.com/zulip/zulip/releases/tag/5.5 x_refsource_MISC