CVE-2022-31122 Auth bypass in wire-server

Critical 9.8 Published Updated

Attackers with SAML metadata can impersonate users, delete accounts, or create malicious accounts in Wire server deployments with SAML enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-31122?

CVE-2022-31122 is a critical authentication bypass vulnerability in wireapp wire-server, published on 18 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-287, CWE-1270

Which versions are affected by CVE-2022-31122?

It affects 1 product.

Products include Wire Wire Server.

How do I fix CVE-2022-31122?

No fix has been published for CVE-2022-31122 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2022-31122 being exploited?

There is no known exploitation of CVE-2022-31122 in the wild and no public exploit code.

Sources

Also known as GHSA-gq27-gmgq-fmxw.

Is CVE-2022-31122 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free