Vulnerability Details : CVE-2023-22735
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.
Products affected by CVE-2023-22735
- cpe:2.3:a:zulip:zulip_server:2023-01-09:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-22735
0.24%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-22735
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.6
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
2.1
|
2.5
|
NIST | |
4.4
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
1.3
|
2.7
|
GitHub, Inc. |
CWE ids for CVE-2023-22735
-
Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-22735
-
https://zulip.readthedocs.io/en/latest/production/upgrade-or-modify.html#upgrading-from-a-git-repository
Upgrade Zulip — Zulip 7.0-dev+git documentationNot Applicable
-
https://github.com/zulip/zulip/commit/2f6c5a883e106aa82a570d3d1f243993284b70f3
CVE-2023-22735: Provide the Content-Disposition header from S3. · zulip/zulip@2f6c5a8 · GitHubPatch
-
https://github.com/zulip/zulip/commit/04cf68b45ebb5c03247a0d6453e35ffc175d55da
uploads: Serve S3 uploads directly from nginx. · zulip/zulip@04cf68b · GitHubProduct
-
https://github.com/zulip/zulip/security/advisories/GHSA-wm83-3764-5wqh
User uploads proxied from S3 lack `Content-Security-Policy` headers, may be served with `Content-Disposition: inline` · Advisory · zulip/zulip · GitHubPatch;Vendor Advisory
Jump to