Name | CVE-2018-9846 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4181-1 |
Debian Bugs | 895184 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
roundcube (PTS) | stretch (security), stretch (lts), stretch | 1.2.3+dfsg.1-4+deb9u10 | fixed |
buster, buster (lts) | 1.3.17+dfsg.1-1~deb10u7 | fixed | |
buster (security) | 1.3.17+dfsg.1-1~deb10u6 | fixed | |
bullseye (security), bullseye | 1.4.15+dfsg.1-1+deb11u4 | fixed | |
bookworm (security), bookworm | 1.6.5+dfsg-1+deb12u4 | fixed | |
sid, trixie | 1.6.9+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
roundcube | source | wheezy | (not affected) | |||
roundcube | source | stretch | 1.2.3+dfsg.1-4+deb9u2 | DSA-4181-1 | ||
roundcube | source | (unstable) | 1.3.6+dfsg.1-1 | 895184 |
[wheezy] - roundcube <not-affected> (Vulnerable code not present in archive.php)
https://github.com/roundcube/roundcubemail/issues/6238
https://github.com/roundcube/roundcubemail/commit/e3dd5b66d236867572e68fcb80281e9268a0cfb0 (release-1.3)
https://github.com/roundcube/roundcubemail/commit/cdeb6234a2e029c499898c3432fdf5b2cf093640 (release-1.2)
https://github.com/roundcube/roundcubemail/commit/5b7e9a2c960eb4fd2364921297020a5dcd2d7dbc (release-1.2)
https://github.com/roundcube/roundcubemail/commit/c69b851b8a704f6483ec9d1cae7cd1ecd33c3343 (release-1.2)
https://github.com/roundcube/roundcubemail/commit/7901047474729a7f466eb8c59c92a36fc7cf0e70 (release-1.2)