Vulnerability Details : CVE-2023-32682
Synapse is a Matrix protocol homeserver written in Python with the Twisted framework. In affected versions it may be possible for a deactivated user to login when using uncommon configurations. This only applies if any of the following are true: 1. JSON Web Tokens are enabled for login via the `jwt_config.enabled` configuration setting. 2. The local password database is enabled via the `password_config.enabled` and `password_config.localdb_enabled` configuration settings *and* a user's password is updated via an admin API after a user is deactivated. Note that the local password database is enabled by default, but it is uncommon to set a user's password after they've been deactivated. Installations that are configured to only allow login via Single Sign-On (SSO) via CAS, SAML or OpenID Connect (OIDC); or via an external password provider (e.g. LDAP) are not affected. If not using JSON Web Tokens, ensure that deactivated users do not have a password set. This issue has been addressed in version 1.85.0. Users are advised to upgrade.
Vulnerability category: BypassGain privilege
Products affected by CVE-2023-32682
- cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-32682
0.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 50 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-32682
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
2.8
|
2.5
|
NIST | |
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
2.8
|
2.5
|
GitHub, Inc. |
CWE ids for CVE-2023-32682
-
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-32682
-
https://github.com/matrix-org/synapse/pull/15634
Consolidate logic to check for deactivated users. by clokep · Pull Request #15634 · matrix-org/synapse · GitHubPatch
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6DH5A5YEB5LRIPP32OUW25FCGZFCZU2/
[SECURITY] Fedora 38 Update: matrix-synapse-1.85.2-1.fc38 - package-announce - Fedora Mailing-Lists
-
https://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html#create-or-modify-account
Users - SynapseProduct
-
https://github.com/matrix-org/synapse/pull/15624
Do not allow deactivated users to login with JWT by clokep · Pull Request #15624 · matrix-org/synapse · GitHubPatch
-
https://github.com/matrix-org/synapse/security/advisories/GHSA-26c5-ppr8-f33p
Improper checks for deactivated users during login · Advisory · matrix-org/synapse · GitHubMitigation;Patch;Vendor Advisory
-
https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#password_config
Configuration Manual - SynapseProduct
-
https://matrix-org.github.io/synapse/latest/jwt.html
JSON Web Tokens - SynapseProduct
Jump to