9.3
CRITICAL
CVE-2023-38686
Sydent TLS Certificate Verification Vulnerability
Description

Sydent is an identity server for the Matrix communications protocol. Prior to version 2.5.6, if configured to send emails using TLS, Sydent does not verify SMTP servers' certificates. This makes Sydent's emails vulnerable to interception via a man-in-the-middle (MITM) attack. Attackers with privileged access to the network can intercept room invitations and address confirmation emails. This is patched in Sydent 2.5.6. When patching, make sure that Sydent trusts the certificate of the server it is connecting to. This should happen automatically when using properly issued certificates. Those who use self-signed certificates should make sure to copy their Certification Authority certificate, or their self signed certificate if using only one, to the trust store of your operating system. As a workaround, one can ensure Sydent's emails fail to send by setting the configured SMTP server to a loopback or non-routable address under one's control which does not have a listening SMTP server.

INFO

Published Date :

Aug. 4, 2023, 4:15 p.m.

Last Modified :

Aug. 10, 2023, 7:30 p.m.

Remotely Exploitable :

No

Impact Score :

5.8

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2023-38686 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Matrix sydent
References to Advisories, Solutions, and Tools

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-2023-38686 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-38686 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 [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Aug. 10, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://docs.python.org/3/library/ssl.html?highlight=ssl#security-considerations No Types Assigned https://docs.python.org/3/library/ssl.html?highlight=ssl#security-considerations Technical Description
    Changed Reference Type https://github.com/matrix-org/sydent/commit/1cd748307c6b168b66154e6c4db715d4b9551261 No Types Assigned https://github.com/matrix-org/sydent/commit/1cd748307c6b168b66154e6c4db715d4b9551261 Patch
    Changed Reference Type https://github.com/matrix-org/sydent/pull/574 No Types Assigned https://github.com/matrix-org/sydent/pull/574 Issue Tracking, Patch
    Changed Reference Type https://github.com/matrix-org/sydent/releases/tag/v2.5.6 No Types Assigned https://github.com/matrix-org/sydent/releases/tag/v2.5.6 Release Notes
    Changed Reference Type https://github.com/matrix-org/sydent/security/advisories/GHSA-p6hw-wm59-3g5g No Types Assigned https://github.com/matrix-org/sydent/security/advisories/GHSA-p6hw-wm59-3g5g Vendor Advisory
    Changed Reference Type https://github.com/python/cpython/issues/91826 No Types Assigned https://github.com/python/cpython/issues/91826 Issue Tracking
    Changed Reference Type https://peps.python.org/pep-0476/ No Types Assigned https://peps.python.org/pep-0476/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:matrix:sydent:*:*:*:*:*:*:*:* versions up to (excluding) 2.5.6
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-38686 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-2023-38686 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.05 }} -0.01%

score

0.20626

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability