CVE-2021-41101
CORS `Access-Control-Allow-Origin` settings are too lenient
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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).
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)
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-09-15 CVE Reserved
- 2021-09-30 CVE Published
- 2023-04-23 EPSS Updated
- 2024-08-04 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
References (1)
URL | Tag | Source |
---|---|---|
https://github.com/wireapp/wire-server/security/advisories/GHSA-v7xx-cx8m-g66p | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Wire Search vendor "Wire" | Wire Server Search vendor "Wire" for product "Wire Server" | < 2.106.0 Search vendor "Wire" for product "Wire Server" and version " < 2.106.0" | - |
Affected
|