CVE-2023-38686
published 2023-08-04CVE-2023-38686: 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…
PriorityP425medium5.3CVSS 3.1
AVAACHPRNUINSUCHINAN
EPSS
0.23%
13.7th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| matrix-org | sydent | < 2.5.6 | 2.5.6 |
| matrix | sydent | < 2.5.6 | 2.5.6 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2023-38686: Sydent is an identity server for the Matrix communications protocol
osv·2023-08-04
CVE-2023-38686 CVE-2023-38686: Sydent is an identity server for the Matrix communications protocol
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
OSV
Sydent does not verify email server certificates
osv·2023-07-31
CVE-2023-38686 [CRITICAL] Sydent does not verify email server certificates
Sydent does not verify email server certificates
## Impact
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](https://en.wikipedia.org/wiki/Man-in-the-middle_attack). Attackers with privileged access to the network can intercept room invitations and address confirmation emails.
CVSS 3.1 overall score: 3.3 - [AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N/CR:L/IR:L/AR:X/MAV:A/MAC:H/MPR:N/MUI:N/MS:C/MC:L/MI:L/MA:N](https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N/CR:L/IR:L/AR:X/MAV:A/MAC:H/MPR:N/MUI:N/MS:C/MC:L/MI:L/MA:N&version=3.1)
_Reported by Martin Schobert, [Pentagrid AG](https://pentagrid.ch/)._
### Details
Syde
GHSA
Sydent does not verify email server certificates
ghsa·2023-07-31
CVE-2023-38686 [CRITICAL] CWE-295 Sydent does not verify email server certificates
Sydent does not verify email server certificates
## Impact
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](https://en.wikipedia.org/wiki/Man-in-the-middle_attack). Attackers with privileged access to the network can intercept room invitations and address confirmation emails.
CVSS 3.1 overall score: 3.3 - [AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N/CR:L/IR:L/AR:X/MAV:A/MAC:H/MPR:N/MUI:N/MS:C/MC:L/MI:L/MA:N](https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N/CR:L/IR:L/AR:X/MAV:A/MAC:H/MPR:N/MUI:N/MS:C/MC:L/MI:L/MA:N&version=3.1)
_Reported by Martin Schobert, [Pentagrid AG](https://pentagrid.ch/)._
### Details
Syde
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://docs.python.org/3/library/ssl.html?highlight=ssl#security-considerationshttps://github.com/matrix-org/sydent/commit/1cd748307c6b168b66154e6c4db715d4b9551261https://github.com/matrix-org/sydent/pull/574https://github.com/matrix-org/sydent/releases/tag/v2.5.6https://github.com/matrix-org/sydent/security/advisories/GHSA-p6hw-wm59-3g5ghttps://github.com/python/cpython/issues/91826https://peps.python.org/pep-0476/https://docs.python.org/3/library/ssl.html?highlight=ssl#security-considerationshttps://github.com/matrix-org/sydent/commit/1cd748307c6b168b66154e6c4db715d4b9551261https://github.com/matrix-org/sydent/pull/574https://github.com/matrix-org/sydent/releases/tag/v2.5.6https://github.com/matrix-org/sydent/security/advisories/GHSA-p6hw-wm59-3g5ghttps://github.com/python/cpython/issues/91826https://peps.python.org/pep-0476/
2023-08-04
Published