CVE-2021-41101
JSON

5.7medium

CORS `Access-Control-Allow-Origin` settings are too lenient

Severity
5.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.71% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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).

Affected

Product or packageVersionsReported by
wireapp wire-server< 2.106.0CVE List
wire wire_serverbefore 2.106.0NVD

All scores

GitHub_M5.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:P/I:N/A:N

Classification

What each source says

CVE List

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).

NVD (es)

wire-server es un back end de código abierto para Wire, una plataforma de colaboración segura. Versiones anteriores a 2.106.0, el encabezado CORS "Access-Control-Allow-Origin" establecida por "nginz" se establece para todos los subdominios de ".wire.com" (incluyendo "wire.com"). Esto significa que si alguien encontrara un vector de tipo XSS en cualquiera de los subdominios, podría usarlo para hablar con la API de Wire usando la Cookie del usuario. No se presenta un parche, pero sí una solución. Para asegurarse de que un compromiso de un subdominio no da acceso a la cookie de otro, es posible limitar el encabezado "Access-Control-Allow-Origin" a las aplicaciones que realmente requieren la cookie (account-pages, team-settings y la webapp)

References

Sources

SourceRecordLicence
CVE ListCVE-2021-41101 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-41101 changed 2026-06-17Public domain