Skip to content

CVE-2021-41101 CORS `Access-Control-Allow-Origin` settings are too lenient

MediumCVSS 5.7 EPSS 0.71%
Published
Updated
Exploit status
No public exploit known

Description

wire-server is an open-source back end for Wire, a secure collaboration platform. Before version 2.106.0, the CORS Access-Control-Allow-Origin header set by nginz is set for all subdomains of .wire.com (including wire.com). This means that if somebody were to find an XSS vector in any of the subdomains, they could use it to talk to the Wire API using the user's Cookie. A patch does not exist, but a workaround does. To make sure that a compromise of one subdomain does not yield access to the cookie of another, one may limit the Access-Control-Allow-Origin header to apps that actually require the cookie (account-pages, team-settings and the webapp).

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
wire server < 2.106.0 2.106.0 Fixed
wireapp wire-server = < 2.106.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
wire server < 2.106.0 2.106.0
wireapp wire-server = < 2.106.0 No fix listed

References