CVE-2022-31168 Zulip Server insufficient authorization for changing bot roles

Medium 5.4 Published Updated

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.

Weakness: CWE-863, CWE-285

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.

Sources

Also known as GHSA-c3cp-ggg5-9xw5.

Is CVE-2022-31168 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free