CVE-2022-31152
Matrix Synapse Event Authorization Rule Bypass Vulnerability
Description
Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround.
INFO
Published Date :
Sept. 2, 2022, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 7:04 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-31152
.
URL | Resource |
---|---|
https://github.com/matrix-org/synapse/pull/13087 | Issue Tracking Patch Third Party Advisory |
https://github.com/matrix-org/synapse/pull/13088 | Issue Tracking Patch Third Party Advisory |
https://github.com/matrix-org/synapse/releases/tag/v1.62.0 | Release Notes Third Party Advisory |
https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765 | Issue Tracking Mitigation Third Party Advisory |
https://github.com/matrix-org/synapse/pull/13087 | Issue Tracking Patch Third Party Advisory |
https://github.com/matrix-org/synapse/pull/13088 | Issue Tracking Patch Third Party Advisory |
https://github.com/matrix-org/synapse/releases/tag/v1.62.0 | Release Notes Third Party Advisory |
https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765 | Issue Tracking Mitigation Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-31152
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-31152
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/matrix-org/synapse/pull/13087 Added Reference https://github.com/matrix-org/synapse/pull/13088 Added Reference https://github.com/matrix-org/synapse/releases/tag/v1.62.0 Added Reference https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Sep. 09, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/matrix-org/synapse/pull/13087 No Types Assigned https://github.com/matrix-org/synapse/pull/13087 Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://github.com/matrix-org/synapse/pull/13088 No Types Assigned https://github.com/matrix-org/synapse/pull/13088 Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://github.com/matrix-org/synapse/releases/tag/v1.62.0 No Types Assigned https://github.com/matrix-org/synapse/releases/tag/v1.62.0 Release Notes, Third Party Advisory Changed Reference Type https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765 No Types Assigned https://github.com/matrix-org/synapse/security/advisories/GHSA-jhjh-776m-4765 Issue Tracking, Mitigation, Third Party Advisory Added CWE NIST CWE-755 Added CPE Configuration OR *cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:* versions up to (excluding) 1.62.0 -
CVE Modified by [email protected]
Sep. 02, 2022
Action Type Old Value New Value Changed Description Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround. Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-31152
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-31152
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.13 }} 0.01%
score
0.47201
percentile