CVE-2022-31168 Zulip Server insufficient authorization for changing bot roles
A member can escalate privileges to organization administrator by crafting an API call to grant admin rights to their own bot.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-31168?
CVE-2022-31168 is a medium-severity vulnerability in zulip, published on 22 Jul 2022. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Which versions are affected by CVE-2022-31168?
It affects 1 product.
Products include Zulip Zulip.
How do I fix CVE-2022-31168?
No fix has been published for CVE-2022-31168 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-31168 being exploited?
There is no known exploitation of CVE-2022-31168 in the wild and no public exploit code.
Other vulnerabilities in zulip
- CVE-2021-43799 RabbitMQ exposes ports with weak default secrets in Zulip Server
- CVE-2022-35962 Crafted link in Zulip message can cause disclosure of credentials
- CVE-2016-4427 Auth bypass in zulip
- CVE-2021-3866 Cross-site Scripting (XSS) - Stored in zulip/zulip
- CVE-2023-28623 Unauthorized user can register an account in specific configurations in Zulip
Sources
Also known as GHSA-c3cp-ggg5-9xw5.