Input validation error in Cyrus IMAP Server - CVE-2019-19783
Published: December 20, 2019
Vulnerability details
The vulnerability allows a remote user to escalate privileges within the application.
The vulnerability exists due to insufficient validation of user-supplied input in autosieve_createfolder() function in imap/lmtp_sieve.c. A remote email user can create any mailbox with administrative privileges.
Successful exploitation of the vulnerability requires that the sieve script uploading is allowed (3.x) or certain non-default sieve options are enabled (2.x).
Affected software
Gentoo Linux
Ubuntu
Fedora
cyrus-imapd (Debian package)
cyrus-admin (Ubuntu package)
cyrus-caldav (Ubuntu package)
cyrus-common (Ubuntu package)
cyrus-imapd (Ubuntu package)
cyrus-replication (Ubuntu package)
cyrus-imapd
How to mitigate CVE-2019-19783
cyrus-imapd (Debian package) - addressed in versions 2.5.10-3+deb9u2, 3.0.8-6+deb10u3
cyrus-admin (Ubuntu package) - update to 2.5.10-3ubuntu1.1
cyrus-caldav (Ubuntu package) - update to 2.5.10-3ubuntu1.1
cyrus-common (Ubuntu package) - update to 2.5.10-3ubuntu1.1
cyrus-imapd (Ubuntu package) - update to 2.5.10-3ubuntu1.1
cyrus-replication (Ubuntu package) - update to 2.5.10-3ubuntu1.1
cyrus-imapd - addressed in versions 3.0.13-1.fc30, 3.0.13-1.fc31