CVE-2022-31122CWE-1270CWE-287

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

Critical · published October 18, 2022

CVSS v3.1
9.8
EPSS
1%
Percentile
53.5
In the wild
Unconfirmed
What it is

🚨 A crafty attacker could unleash chaos with just the right SAML metadata! This vulnerability in Wire allows someone to impersonate users and delete accounts — all thanks to Token Recipient Confusion! 🔥 Think of it like a restaurant where anyone can walk in, impersonating a staff member, and start cancelling reservations or adding random patrons. If they know the right details, they can wreak havoc without anyone batting an eye! An attacker can potentially delete all SAML-authenticated accounts of a targeted team, impersonate users, and create arbitrary accounts. This could lead to a complete takeover of the team’s communication, resulting in devastating data breaches or loss of sensitive information.

Put simply

Think of it like a restaurant where anyone can walk in, impersonating a staff member, and start cancelling reservations or adding random patrons. If they know the right details, they can wreak havoc without anyone batting an eye! CVE-2022-31122 affects Wire versions prior to 2022-07-12/Chart 4.19.0, allowing attackers with knowledge of SAML IdP metadata to configure their SAML settings on the backend and gain unauthorized access.

What to do

An attacker can potentially delete all SAML-authenticated accounts of a targeted team, impersonate users, and create arbitrary accounts. This could lead to a complete takeover of the team’s communication, resulting in devastating data breaches or loss of sensitive information. Update your on-premise instances of wire-server to version 2022-07-12/Chart 4.19.0 immediately to eliminate this vulnerability. As a temporary workaround, disable SAML configuration for teams to reduce risk. Check helm overrides located in `values/wire-server/values.yaml`. You're on the right track! By following these steps, you'll secure your team and keep the digital villains at bay. You've got this! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00724 · 53.5th percentile
Weaknesses
CWE-1270 · Generation of Incorrect Security Tokens; CWE-287 · Improper Authentication
Published
2022-10-18T00:00Z
EPSS history
Timeline
  • 18 OCT 00:00Z
    Wire-server vulnerable to Token Recipient Confusion resulting in account impersonation, deletion or malicious account creation
    cvelistv5