CVE-2018-9846: Input Validation

Published Apr 7, 2018
·
Updated

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.

Affected Software

3 affected componentsFixes available
debian/roundcube
1.3.17+dfsg.1-1~deb10u21.3.17+dfsg.1-1~deb10u31.4.14+dfsg.1-1~deb11u11.4.13+dfsg.1-1~deb11u11.6.3+dfsg-1~deb12u11.6.4+dfsg-1
Roundcube Webmail>=1.2.0<=1.3.5
Debian Debian Linux=9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/roundcube to a version that resolves this vulnerability.

    Fixed in 1.3.17+dfsg.1-1~deb10u2Fixed in 1.3.17+dfsg.1-1~deb10u3Fixed in 1.4.14+dfsg.1-1~deb11u1Fixed in 1.4.13+dfsg.1-1~deb11u1Fixed in 1.6.3+dfsg-1~deb12u1Fixed in 1.6.4+dfsg-1
  2. Upgrade

    Upgrade roundcube to a version that resolves this vulnerability.

    Fixed in 1.3.4
  3. Upgrade

    Upgrade roundcube to a version that resolves this vulnerability.

    Fixed in 1.3.5

Event History

Apr 7, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via NVD·09:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 8, 2018
Data Sourced
08:30 AM
SeverityAffected Software

Frequently Asked Questions

1

What is CVE-2018-9846?

CVE-2018-9846 is a vulnerability in Roundcube versions 1.2.0 to 1.3.5 with the archive plugin enabled and configured.

2

What is the severity of CVE-2018-9846?

CVE-2018-9846 has a severity score of 8.8 (high).

3

How can CVE-2018-9846 be exploited?

CVE-2018-9846 can be exploited through an MX (IMAP) injection attack using the unsanitized '_uid' parameter in the 'archive.php' file.

4

Which software is affected by CVE-2018-9846?

Roundcube versions 1.2.0 to 1.3.5 with the archive plugin enabled and configured are affected. Additionally, Roundcube Webmail and Debian Linux version 9.0 are also affected.

5

How can I fix the CVE-2018-9846 vulnerability?

To fix the CVE-2018-9846 vulnerability, update Roundcube to version 1.3.17+dfsg.1-1~deb10u2, 1.3.17+dfsg.1-1~deb10u3, 1.4.14+dfsg.1-1~deb11u1, 1.4.13+dfsg.1-1~deb11u1, 1.6.3+dfsg-1~deb12u1, or 1.6.4+dfsg-1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203