Privilege escalation in Cyrus Imap
CVE-2019-19783
An issue was discovered in Cyrus IMAP before 2.5.15, 3.0.x before 3.0.13, and 3.1.x through 3.1.8. If sieve script uploading is allowed (3.x) or certain non-default sieve options are enabled (2.x), a user with a mail account on the service can use a sieve script containing a fileinto directive to create any mailbox with administrator privileges, because of folder mishandling in autosieve_createfolder() in imap/lmtp_sieve.c.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.017, 77.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cyrus Imap
- Canonical Ubuntu Linux — versions 18.04
- Debian Linux — versions 9.0, 10.0
- Fedoraproject Fedora — versions 30, 31
Weakness classification (CWE)
References
- www.cyrusimap.org/imap/download/release-notes/2.5/x/2.5.15.html (Patch, Release Notes, Vendor Advisory)
- www.cyrusimap.org/imap/download/release-notes/3.0/x/3.0.13.html (Patch, Release Notes, Vendor Advisory)
- 20191219 [SECURITY] [DSA 4590-1] cyrus-imapd security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-4590 (vendor-advisory, Third Party Advisory)
- FEDORA-2019-7938c21723 (vendor-advisory)
- FEDORA-2019-ad23a4522d (vendor-advisory)
- GLSA-202006-23 (vendor-advisory, Third Party Advisory)
- USN-4566-1 (vendor-advisory, Third Party Advisory)