Where
-Infinity
0

Hello,

The optional rsyslog imdtls input module did not enforce tls.permittedpeer after a successful CA-authenticated DTLS handshake when configured with tls.authmode="name" or tls.authmode="fingerprint".

After SSLaccept() succeeds, imdtls performs the permitted-peer identity check. When that check fails, the module logged a warning but left the DTLS session active. The session was subsequently read and received records were passed to the configured ruleset.

Impact ======

A remote peer whose certificate is accepted by the listener's configured CA, but whose name or fingerprint is not listed in tls.permittedpeer, could inject chosen syslog records into the configured input stream.

This is an integrity issue for that input stream. It does not provide access to stored logs, modification or deletion of existing records, confidentiality loss, memory corruption, or code execution.

Affected configurations =======================

The issue affects only deployments where all of the following apply:

- rsyslog was built with the optional imdtls module and the module is explicitly loaded; - a reachable imdtls listener is configured with tls.authmode="name" or tls.authmode="fingerprint" together with tls.permittedpeer; and - the attacker possesses the private key for a client certificate accepted by the listener's configured CA.

Normal DTLS certificate-chain verification remains effective. Arbitrary remote clients, including clients using self-signed or otherwise untrusted certificates, cannot exploit this issue. tls.authmode="certvalid" is not affected.

Affected versions =================

v8.2402.0 and later.

Fixed version: 2026-09-23 daily stable

Fix ===

The following change in plugins/imdtls/imdtls.c, in DTLSAcceptSession(), immediately removes a session that failed post-handshake permitted-peer verification:

if (status == 0) { LogMsg(0, RSRETNOERRCODE, LOGWARNING, "imdtls: Cert Verify FAILED for DTLS client idx (%d)", idx); DTLScleanupSession(inst, idx); }

Regression coverage verifies rejection of CA-signed but non-permitted clients for both name- and fingerprint-based permitted-peer authorization, while retaining the permitted-peer positive control.

Severity ========

We assess this as Medium severity.

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N (4.3, Medium)

CVE assignment is pending.

Credits =======

This issue was found by Anthropic using Claude to study the security of open-source software and was manually validated by David Korczynski from Ada Logics. Please credit Claude and Ada Logics in public advisories.

Regards, Rainer Gerhards rsyslog project

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203