ID CVE-2019-19783
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:cyrus:imap:3.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.3:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.4:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.5:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.5:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.6:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.6:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.7:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.7:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.8:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.8:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.9:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.9:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.10:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.10:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.11:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.11:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.12:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.12:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.13:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.13:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:2.5.14:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:2.5.14:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.0:-:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.0:beta2:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.0:beta3:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.0:beta3:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.0:beta4:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.0:beta4:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.0:beta5:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.0:beta5:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.0:beta6:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.0:beta6:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.9:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.10:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.11:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.11:*:*:*:*:*:*:*
  • cpe:2.3:a:cyrus:imap:3.0.12:*:*:*:*:*:*:*
    cpe:2.3:a:cyrus:imap:3.0.12:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
CVSS
Base: 3.5 (as of 03-05-2022 - 14:27)
Impact:
Exploitability:
CWE CWE-269
CAPEC
  • Privilege Escalation
    An adversary exploits a weakness enabling them to elevate their privilege and perform an action that they are not supposed to be authorized to perform.
  • Privilege Abuse
    An adversary is able to exploit features of the target that should be reserved for privileged users or administrators but are exposed to use by lower or non-privileged accounts. Access to sensitive information and functionality must be controlled to ensure that only authorized users are able to access these resources. If access control mechanisms are absent or misconfigured, a user may be able to access resources that are intended only for higher level users. An adversary may be able to exploit this to utilize a less trusted account to gain information and perform activities reserved for more trusted accounts. This attack differs from privilege escalation and other privilege stealing attacks in that the adversary never actually escalates their privileges but instead is able to use a lesser degree of privilege to access resources that should be (but are not) reserved for higher privilege accounts. Likewise, the adversary does not exploit trust or subvert systems - all control functionality is working as configured but the configuration does not adequately protect sensitive resources at an appropriate level.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
Access
VectorComplexityAuthentication
NETWORK MEDIUM SINGLE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
cvss-vector via4 AV:N/AC:M/Au:S/C:N/I:P/A:N
redhat via4
advisories
bugzilla
id 1786756
title was used, bypassing ACL checks
oval
OR
  • comment Red Hat Enterprise Linux must be installed
    oval oval:com.redhat.rhba:tst:20070304026
  • AND
    • comment Red Hat Enterprise Linux 8 is installed
      oval oval:com.redhat.rhba:tst:20193384074
    • OR
      • AND
        • comment cyrus-imapd is earlier than 0:3.0.7-19.el8
          oval oval:com.redhat.rhsa:tst:20204655001
        • comment cyrus-imapd is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110859024
      • AND
        • comment cyrus-imapd-debugsource is earlier than 0:3.0.7-19.el8
          oval oval:com.redhat.rhsa:tst:20204655003
        • comment cyrus-imapd-debugsource is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20191771004
      • AND
        • comment cyrus-imapd-utils is earlier than 0:3.0.7-19.el8
          oval oval:com.redhat.rhsa:tst:20204655005
        • comment cyrus-imapd-utils is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20110859028
      • AND
        • comment cyrus-imapd-vzic is earlier than 0:3.0.7-19.el8
          oval oval:com.redhat.rhsa:tst:20204655007
        • comment cyrus-imapd-vzic is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20191771008
rhsa
id RHSA-2020:4655
released 2020-11-04
severity Moderate
title RHSA-2020:4655: cyrus-imapd security update (Moderate)
rpms
  • cyrus-imapd-0:3.0.7-19.el8
  • cyrus-imapd-debuginfo-0:3.0.7-19.el8
  • cyrus-imapd-debugsource-0:3.0.7-19.el8
  • cyrus-imapd-utils-0:3.0.7-19.el8
  • cyrus-imapd-utils-debuginfo-0:3.0.7-19.el8
  • cyrus-imapd-vzic-0:3.0.7-19.el8
  • cyrus-imapd-vzic-debuginfo-0:3.0.7-19.el8
refmap via4
bugtraq 20191219 [SECURITY] [DSA 4590-1] cyrus-imapd security update
debian DSA-4590
fedora
  • FEDORA-2019-7938c21723
  • FEDORA-2019-ad23a4522d
gentoo GLSA-202006-23
misc
ubuntu USN-4566-1
Last major update 03-05-2022 - 14:27
Published 16-12-2019 - 14:15
Last modified 03-05-2022 - 14:27
Back to Top