Cross-site scripting in Zulip Server - CVE-2019-16216

 

Cross-site scripting in Zulip Server - CVE-2019-16216

Published: September 18, 2019 / Updated: July 17, 2020


Vulnerability identifier: #VU30743
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2019-16216
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote authenticated user to read and manipulate data.

Zulip server before 2.0.5 incompletely validated the MIME types of uploaded files. A user who is logged into the server could upload files of certain types to mount a stored cross-site scripting attack on other logged-in users. On a Zulip server using the default local uploads backend, the attack is only effective against browsers lacking support for Content-Security-Policy such as Internet Explorer 11. On a Zulip server using the S3 uploads backend, the attack is confined to the origin of the configured S3 uploads hostname and cannot reach the Zulip server itself.


Affected software

Zulip Server

How to mitigate CVE-2019-16216

Install update from vendor's website.

Zulip Server - update to 2.0.5

External References

Related Security Bulletins