Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Zulip | Zulip Server | 2023-01-09 |
Related Weaknesses (CWE)
References
- https://github.com/zulip/zulip/commit/04cf68b45ebb5c03247a0d6453e35ffc175d55daProduct
- https://github.com/zulip/zulip/commit/2f6c5a883e106aa82a570d3d1f243993284b70f3Patch
- https://github.com/zulip/zulip/security/advisories/GHSA-wm83-3764-5wqhPatchVendor Advisory
- https://zulip.readthedocs.io/en/latest/production/upgrade-or-modify.html#upgradiNot Applicable
- https://github.com/zulip/zulip/commit/04cf68b45ebb5c03247a0d6453e35ffc175d55daProduct
- https://github.com/zulip/zulip/commit/2f6c5a883e106aa82a570d3d1f243993284b70f3Patch
- https://github.com/zulip/zulip/security/advisories/GHSA-wm83-3764-5wqhPatchVendor Advisory
- https://zulip.readthedocs.io/en/latest/production/upgrade-or-modify.html#upgradiNot Applicable
FAQ
What is CVE-2023-22735?
CVE-2023-22735 is a vulnerability with a CVSS score of 4.4 (MEDIUM). 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 ...
How severe is CVE-2023-22735?
CVE-2023-22735 has been rated MEDIUM with a CVSS base score of 4.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-22735?
Check the references section above for vendor advisories and patch information. Affected products include: Zulip Zulip Server.