CVEfocus › CVE database › CVE-2018-9846

CVE-2018-9846

CVSS 8.8 HighEPSS 2.3% (higher than 83% of CVEs)Published 2018-04-07Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
2Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10roundcubeNot affected
vulnerable_code_not_present
Ubuntu 16.04roundcubeFix pending1.2~beta+dfsg.1-0ubuntu1+esm7 (Ubuntu Pro)UBUNTU-CVE-2018-9846
Ubuntu 14.04roundcubeFix pending
Debian 14roundcubeFixed1.3.6+dfsg.1-1DEBIAN-CVE-2018-9846
Debian 13roundcubeFixed1.3.6+dfsg.1-1DEBIAN-CVE-2018-9846
Debian 12roundcubeFixed1.3.6+dfsg.1-1DEBIAN-CVE-2018-9846
Alpine Linux 3.10roundcubemailFixed1.3.6-r0ALPINE-CVE-2018-9846
Alpine Linux 3.9roundcubemailFixed1.3.6-r0ALPINE-CVE-2018-9846
Alpine Linux 3.8roundcubemailFixed1.3.6-r0ALPINE-CVE-2018-9846
Alpine Linux 3.7roundcubemailFixed1.3.6-r0ALPINE-CVE-2018-9846

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.