CVE-2022-31122 Vulnerability Analysis & Exploit Details

CVE-2022-31122
Vulnerability Scoring

9.8
/10
Critical Risk

As a catastrophic security flaw, CVE-2022-31122 has severe implications, demanding immediate intervention.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2022-31122 Details

Status: Modified

Last updated: 🕖 21 Nov 2024, 07:03 UTC
Originally published on: 🕙 18 Oct 2022, 10:15 UTC

Time between publication and last update: 764 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE-2022-31122 Vulnerability Summary

CVE-2022-31122: 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.

Assessing the Risk of CVE-2022-31122

Access Complexity Graph

The exploitability of CVE-2022-31122 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2022-31122

With low attack complexity and no required privileges, CVE-2022-31122 is an easy target for cybercriminals. Organizations should prioritize immediate mitigation measures to prevent unauthorized access and data breaches.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2022-31122, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2022-31122, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2022-31122 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2022-31122 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2022-31122 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.177% (probability of exploit)

EPSS Percentile: 55.96% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 44.04% of others.

CVE-2022-31122 References

External References

CWE Common Weakness Enumeration

CWE-287

CAPEC Common Attack Pattern Enumeration and Classification

  • Authentication Abuse CAPEC-114 An attacker obtains unauthorized access to an application, service or device either through knowledge of the inherent weaknesses of an authentication mechanism, or by exploiting a flaw in the authentication scheme's implementation. In such an attack an authentication mechanism is functioning but a carefully controlled sequence of events causes the mechanism to grant access to the attacker.
  • Authentication Bypass CAPEC-115 An attacker gains access to application, service, or device with the privileges of an authorized or privileged user by evading or circumventing an authentication mechanism. The attacker is therefore able to access protected data without authentication ever having taken place.
  • Identity Spoofing CAPEC-151 Identity Spoofing refers to the action of assuming (i.e., taking on) the identity of some other entity (human or non-human) and then using that identity to accomplish a goal. An adversary may craft messages that appear to come from a different principle or use stolen / spoofed authentication credentials.
  • Fake the Source of Data CAPEC-194 An adversary takes advantage of improper authentication to provide data or services under a falsified identity. The purpose of using the falsified identity may be to prevent traceability of the provided data or to assume the rights granted to another individual. One of the simplest forms of this attack would be the creation of an email message with a modified "From" field in order to appear that the message was sent from someone other than the actual sender. The root of the attack (in this case the email system) fails to properly authenticate the source and this results in the reader incorrectly performing the instructed action. Results of the attack vary depending on the details of the attack, but common results include privilege escalation, obfuscation of other attacks, and data corruption/manipulation.
  • Exploiting Trust in Client CAPEC-22 An attack of this type exploits vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by communicating directly with the server where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Utilizing REST's Trust in the System Resource to Obtain Sensitive Data CAPEC-57 This attack utilizes a REST(REpresentational State Transfer)-style applications' trust in the system resources and environment to obtain sensitive data once SSL is terminated.
  • Session Hijacking CAPEC-593 This type of attack involves an adversary that exploits weaknesses in an application's use of sessions in performing authentication. The adversary is able to steal or manipulate an active session and use it to gain unathorized access to the application.
  • Token Impersonation CAPEC-633 An adversary exploits a weakness in authentication to create an access token (or equivalent) that impersonates a different entity, and then associates a process/thread to that that impersonated token. This action causes a downstream user to make a decision or take action that is based on the assumed identity, and not the response that blocks the adversary.
  • Upload a Web Shell to a Web Server CAPEC-650 By exploiting insufficient permissions, it is possible to upload a web shell to a web server in such a way that it can be executed remotely. This shell can have various capabilities, thereby acting as a "gateway" to the underlying web server. The shell might execute at the higher permission level of the web server, providing the ability the execute malicious code at elevated levels.
  • Adversary in the Middle (AiTM) CAPEC-94 An adversary targets the communication between two components (typically client and server), in order to alter or obtain data from transactions. A general approach entails the adversary placing themself within the communication channel between the two components.

Vulnerable Configurations

  • cpe:2.3:a:wire:wire_server:2018-10-04:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2018-10-04:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2018-10-25:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2018-10-25:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2018-11-16:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2018-11-16:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2018-11-28:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2018-11-28:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2018-12-06:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2018-12-06:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-01-10:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-01-10:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-01-24:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-01-24:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-02-18:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-02-18:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-02-22:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-02-22:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-02-28:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-02-28:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-03-25:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-03-25:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-04-09:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-04-09:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-05-02:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-05-02:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-05-13:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-05-13:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-07-08:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-07-08:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-08-08:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-08-08:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-09-03:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-09-03:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-09-16:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-09-16:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-09-30:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-09-30:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-11-06:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-11-06:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-11-28:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-11-28:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2019-12-20:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2019-12-20:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-01-09:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-01-09:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-01-30:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-01-30:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-02-06:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-02-06:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-02-18:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-02-18:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-02-27:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-02-27:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-03-10:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-03-10:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-04-15:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-04-15:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-04-21:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-04-21:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-05-07:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-05-07:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-05-15:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-05-15:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-06-03:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-06-03:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-06-10:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-06-10:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-06-19:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-06-19:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-07-13:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-07-13:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-07-29:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-07-29:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-09-04:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-09-04:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-10-05:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-10-05:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-10-28:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-10-28:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-11-25:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-11-25:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-12-15:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-12-15:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2020-12-21:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2020-12-21:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-01-06:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-01-06:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-01-12:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-01-12:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-01-15:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-01-15:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-02-16:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-02-16:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-02-25:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-02-25:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-03-02:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-03-02:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-03-21:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-03-21:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-03-22:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-03-22:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-03-23:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-03-23:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-05-04:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-05-04:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-05-05:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-05-05:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-05-26:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-05-26:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-06-08:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-06-08:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-06-23:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-06-23:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-07-09:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-07-09:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-08-02:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-08-02:*:*:*:*:*:*:*
  • cpe:2.3:a:wire:wire_server:2021-08-16:*:*:*:*:*:*:*
    cpe:2.3:a:wire:wire_server:2021-08-16:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2022-31122: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-3103 – The CLEVER - HTML5 Radio Player With History - Shoutcast and Icecast - Elementor Widget Addon plugin for WordPress is vulnerable to arbitrary file ...
  • CVE-2025-3275 – The Themesflat Addons For Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the TF E Slider widget in all versions up...
  • CVE-2025-1457 – The Element Pack Addons for Elementor – Free Templates and Widgets for Your WordPress Websites plugin for WordPress is vulnerable to Stored Cross-S...
  • CVE-2025-1093 – The AIHub theme for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the generate_image function in all ver...
  • CVE-2025-3284 – The User Registration & Membership – Custom Registration Form, Login Form, and User Profile plugin for WordPress is vulnerable to Cross-Site Reques...