Bug 2575884 (CVE-2026-132145) - CVE-2026-132145 rsyslog: rsyslog: omdtls name and fingerprint modes do not verify the DTLS server identity
Summary: CVE-2026-132145 rsyslog: rsyslog: omdtls name and fingerprint modes do not ve...
Keywords:
Status: NEW
Alias: CVE-2026-132145
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2583934
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-18 14:22 UTC by OSIDB Bzimport
Modified: 2026-11-25 04:02 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-18 14:22:04 UTC
Summary

The optional rsyslog |omdtls|output module offers |tls.authmode="name"|and |tls.authmode="fingerprint"|for DTLS receiver authentication. In affected upstream versions, both modes validate the receiver certificate chain but do not bind the certificate to the expected receiver name or fingerprint. An attacker who can redirect outbound DTLS traffic to a receiver with a different-identity certificate accepted by the configured CA trust set may receive forwarded logs.


     Preconditions and impact

An operator must explicitly configure omdtls with one of the affected authentication modes. The attack additionally requires traffic redirection or on-path control and a certificate accepted by the action’s configured or inherited CA trust set. An untrusted certificate is rejected. A narrow private CA issuing certificates only to the intended receiver reduces the practical opportunity. This is not a default-installation or arbitrary-certificate attack.

Potential confidentiality loss depends on the contents of forwarded logs. Separate integrity and availability impacts have not been established for this report.


     Technical details

The affected code parses name and fingerprint as distinct modes but configures OpenSSL certificate-chain verification identically for both, as it does for |certvalid|. After |SSL_connect|, it records the peer subject and issuer for debugging and marks the connection established without comparing the certificate identity or fingerprint.

|certvalid|is deliberately chain-only and is outside this finding.

The reporter supplied a trusted-CA wrong-name receiver control that captured three canary log records and an untrusted matching-name certificate control that failed. Independently, the maintainer reproduced trusted wrong-name handshake acceptance and successful transmission of DTLS application data on public main; the untrusted control failed.


     Resolution

The fix retains certificate-chain validation and adds receiver-identity enforcement before logs are sent. In name mode, the certificate is compared with the configured |target|DNS name or IP address, or with an explicit |tls.permittedpeer|value when supplied. Fingerprint mode requires a complete SHA-256 certificate pin in |tls.permittedpeer|. A missing or malformed pin fails during configuration, and an identity or fingerprint mismatch rejects the connection.

Until a fixed build is available, deployments relying on these modes can restrict the CA trust set to the intended receiver. This reduces the opportunity to present another trusted certificate but does not replace identity verification. Operators should review DNS/IP target and certificate SAN alignment before deploying the fix and set |tls.permittedpeer|explicitly when the network target differs from the certificate identity.


Note You need to log in before you can comment on or make changes to this bug.