Input validation error in Cyrus IMAP Server - CVE-2019-19783

 

Input validation error in Cyrus IMAP Server - CVE-2019-19783

Published: December 20, 2019


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

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

Cyrus IMAP Server
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

Install updates from vendor's website.

Cyrus IMAP Server - addressed in versions 2.5.15, 3.0.13, 3.1.9
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

External References

Related Security Bulletins