CVE-2022-31122
JSON

9.8critical

Wire-server vulnerable to Token Recipient Confusion resulting in account impersonation, deletion or malicious account creation

Severity
9.8critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.74% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Wire is an encrypted communication and collaboration platform. Versions prior to 2022-07-12/Chart 4.19.0 are subject to Token Recipient Confusion. If an attacker has certain details of SAML IdP metadata, and configures their own SAML on the same backend, the attacker can delete all SAML authenticated accounts of a targeted team, Authenticate as a user of the attacked team and create arbitrary accounts in the context of the team if it is not managed by SCIM. This issue is fixed in wire-server 2022-07-12 and is already deployed on all Wire managed services. On-premise instances of wire-server need to be updated to 2022-07-12/Chart 4.19.0, so that their backends are no longer affected. As a workaround, the risk of an attack can be reduced by disabling SAML configuration for teams (galley.config.settings.featureFlags.sso). Helm overrides are located in `values/wire-server/values.yaml` Note that the ability to configure SAML SSO as a team is disabled by default for on-premise installations.

Affected

Product or packageVersionsReported by
wireapp wire-server< 2022-07-12, < 4.19.0CVE List
wire wire_serverbefore 2022-07-12NVD

All scores

GitHub_M9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-287CWE-1270

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

Wire is an encrypted communication and collaboration platform. Versions prior to 2022-07-12/Chart 4.19.0 are subject to Token Recipient Confusion. If an attacker has certain details of SAML IdP metadata, and configures their own SAML on the same backend, the attacker can delete all SAML authenticated accounts of a targeted team, Authenticate as a user of the attacked team and create arbitrary accounts in the context of the team if it is not managed by SCIM. This issue is fixed in wire-server 2022-07-12 and is already deployed on all Wire managed services. On-premise instances of wire-server need to be updated to 2022-07-12/Chart 4.19.0, so that their backends are no longer affected. As a workaround, the risk of an attack can be reduced by disabling SAML configuration for teams (galley.config.settings.featureFlags.sso). Helm overrides are located in `values/wire-server/values.yaml` Note that the ability to configure SAML SSO as a team is disabled by default for on-premise installations.

NVD (es)

Wire es una plataforma de comunicación y colaboración cifrada. Las versiones anteriores a 2022-07-12/Chart 4.19.0 están sujetas a una confusión del destinatario del token. Si un atacante presenta determinados detalles de los metadatos de SAML IdP, y configura su propio SAML en el mismo backend, el atacante puede eliminar todas las cuentas autenticadas por SAML de un equipo objetivo, autenticarse como usuario del equipo atacado y crear cuentas arbitrarias en el contexto del equipo si no está gestionado por SCIM. Este problema ha sido corregido en wire-server 2022-07-12 y ya está implantado en todos los servicios administrados por Wire. Las instancias locales de wire-server deben actualizarse a 2022-07-12/Chart 4.19.0, de modo que sus backends ya no estén afectados. Como mitigación, puede reducirse el riesgo de ataque al deshabilitar la configuración de SAML para los equipos (galley.config.settings.featureFlags.sso). Las anulaciones de Helm son encontradas en "values/wire-server/values.yaml" Tenga en cuenta que la capacidad de configurar SAML SSO como equipo está deshabilitada por defecto para las instalaciones locales

References

Sources

SourceRecordLicence
CVE ListCVE-2022-31122 changed 2025-04-23CVE Terms of Use
NVDCVE-2022-31122 changed 2026-06-17Public domain