{"id":"UBUNTU-CVE-2018-9846","details":"In Roundcube from versions 1.2.0 to 1.3.5, with the archive plugin enabled and configured, it's possible to exploit the unsanitized, user-controlled \"_uid\" parameter (in an archive.php _task=mail&_mbox=INBOX&_action=plugin.move2archive request) to perform an MX (IMAP) injection attack by placing an IMAP command after a %0d%0a sequence. NOTE: this is less easily exploitable in 1.3.4 and later because of a Same Origin Policy protection mechanism.","modified":"2026-03-31T18:01:19.661515Z","published":"2018-04-07T21:29:00Z","related":["USN-8132-1"],"upstream":["CVE-2018-9846"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-9846"},{"type":"REPORT","url":"https://github.com/roundcube/roundcubemail/issues/6238"},{"type":"REPORT","url":"https://github.com/roundcube/roundcubemail/commit/e3dd5b66d236867572e68fcb80281e9268a0cfb0"},{"type":"REPORT","url":"https://github.com/roundcube/roundcubemail/issues/6229"},{"type":"REPORT","url":"https://medium.com/@ndrbasi/cve-2018-9846-roundcube-303097048b0a"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-9846"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8132-1"}],"affected":[{"package":{"name":"roundcube","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/roundcube@1.2~beta+dfsg.1-0ubuntu1+esm7?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2~beta+dfsg.1-0ubuntu1+esm7"}]}],"versions":["1.1.1+dfsg.1-2","1.1.2+dfsg.1-5","1.1.3+dfsg.1-1","1.1.4+dfsg.1-1","1.2~beta+dfsg.1-0ubuntu1","1.2~beta+dfsg.1-0ubuntu1+esm1","1.2~beta+dfsg.1-0ubuntu1+esm2","1.2~beta+dfsg.1-0ubuntu1+esm3","1.2~beta+dfsg.1-0ubuntu1+esm4","1.2~beta+dfsg.1-0ubuntu1+esm5","1.2~beta+dfsg.1-0ubuntu1+esm6"],"ecosystem_specific":{"binaries":[{"binary_name":"roundcube","binary_version":"1.2~beta+dfsg.1-0ubuntu1+esm7"},{"binary_name":"roundcube-core","binary_version":"1.2~beta+dfsg.1-0ubuntu1+esm7"},{"binary_name":"roundcube-mysql","binary_version":"1.2~beta+dfsg.1-0ubuntu1+esm7"},{"binary_name":"roundcube-pgsql","binary_version":"1.2~beta+dfsg.1-0ubuntu1+esm7"},{"binary_name":"roundcube-plugins","binary_version":"1.2~beta+dfsg.1-0ubuntu1+esm7"},{"binary_name":"roundcube-sqlite3","binary_version":"1.2~beta+dfsg.1-0ubuntu1+esm7"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-9846.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}