Authentication bypass in Dovecot - CVE-2019-3814

 

Authentication bypass in Dovecot - CVE-2019-3814

Published: February 5, 2019


Vulnerability identifier: #VU17374
CSH Severity: Medium
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N]
CVE-ID: CVE-2019-3814
CWE-ID: CWE-592
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote authenticated attacker to bypass authentication.

The weakness exists due to taking of the username from the user provided authentication fields (e.g. LOGIN command). A remote attacker with access to a valid trusted certificate without the ssl_cert_username_field in it can bypass password verification if the provided trusted SSL certificate is missing the username field and login as anyone else in the system

Affected software

Dovecot
Arch Linux
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Opensuse
Fedora
dovecot (Alpine package)
dovecot (Debian package)
dovecot (Red Hat package)
dovecot

How to mitigate CVE-2019-3814

The vulnerability has been addressed in the versions 2.2.36.1, 2.3.4.1.

Dovecot - addressed in versions 2.2.36.1, 2.3.4.1
dovecot (Alpine package) - update to 2.2.36.1-r0
dovecot (Debian package) - update to 1:2.2.27-3+deb9u3
dovecot (Red Hat package) - update to 2.2.36-6.el7
dovecot - addressed in versions 2.3.6-3.fc29, 2.3.6-3.fc30

External References

Related Security Bulletins