Vulnerabilities · 2023 · Zulip
CVE-2023-22735
Zulip Server vulnerability
Zulip is an open-source team collaboration tool. In versions of zulip prior to commit `2f6c5a8` but after commit `04cf68b` users could upload files with arbitrary `Content-Type` which would be served from the Zulip hostname with `Content-Disposition: inline` and no `Content-Security-Policy` header, allowing them to trick other users into executing arbitrary Javascript in the context of the Zulip application. Among other things, this enables session theft. Only deployments which use the S3 storage (not the local-disk storage) are affected, and only deployments which deployed commit 04cf68b45ebb5c03247a0d6453e35ffc175d55da, which has only been in `main`, not any numbered release. Users affected should upgrade from main again to deploy this fix. Switching from S3 storage to the local-disk storage would nominally mitigate this, but is likely more involved than upgrading to the latest `main` which addresses the issue.
Affected products
Zulip Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Zulip Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/zulip/zulip/security/advisories/GHSA-wm83-3764-5wqh · Patch
- github.com/zulip/zulip/commit/2f6c5a883e106aa82a570d3d1f243993284b70f3 · Patch
- github.com/zulip/zulip/commit/04cf68b45ebb5c03247a0d6453e35ffc175d55da
- zulip.readthedocs.io/en/latest/production/upgrade-or-modify.html#upgrading-from-a-git-repo
- nvd.nist.gov/vuln/detail/CVE-2023-22735
- cve.org/CVERecord?id=CVE-2023-22735
More vulnerabilities in Zulip products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.