{"id":"CVE-2021-41101","published":"2021-09-30T19:20:09Z","modified":"2024-08-04T02:59:31Z","title":"CORS `Access-Control-Allow-Origin` settings are too lenient","vendor":"wireapp","product":"wire-server","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00708,"percentile":0.54363,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/wireapp/wire-server/security/advisories/GHSA-v7xx-cx8m-g66p","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":10.87},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"wireapp","affectedVersions":[{"vendor":"wireapp","product":"wire-server","versions":["< 2.106.0"]}],"euvd":{"id":"EUVD-2021-28240","exploited":false,"provenance":"source"}}