Bug 2575884 (CVE-2026-132145)

Summary: CVE-2026-132145 rsyslog: rsyslog: omdtls name and fingerprint modes do not verify the DTLS server identity
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, security-response-team, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in rsyslog. When using the Datagram Transport Layer Security (DTLS) output module (omdtls) configured to authenticate receivers by name or fingerprint, the module validates the certificate chain against trusted certificate authorities but fails to verify that the certificate matches the intended receiver's identity or fingerprint. An attacker who can redirect or intercept outbound network traffic and present a certificate issued by a trusted certificate authority could capture forwarded log data, leading to information disclosure.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2583934    
Bug Blocks:    

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.