CVE Vulnerabilities

CVE-2023-38686

Improper Certificate Validation

Published: Aug 04, 2023 | Modified: Aug 10, 2023
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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 Sydents 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 Sydents emails fail to send by setting the configured SMTP server to a loopback or non-routable address under ones control which does not have a listening SMTP server.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

Name Vendor Start Version End Version
Sydent Matrix * 2.5.6 (excluding)
Matrix-sydent Ubuntu bionic *
Matrix-sydent Ubuntu esm-apps/jammy *
Matrix-sydent Ubuntu jammy *
Matrix-sydent Ubuntu lunar *
Matrix-sydent Ubuntu mantic *
Matrix-sydent Ubuntu trusty *
Matrix-sydent Ubuntu xenial *

Potential Mitigations

References