CVE-2018-9846 Command injection in n/a

High 8.8 Published Updated

Attackers can inject IMAP commands via the archive plugin's uid parameter, potentially executing code or reading data if the plugin is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-9846?

CVE-2018-9846 is a high-severity command injection vulnerability in Debian Debian Linux, published on 7 Apr 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2018-9846?

It affects 2 products.

Products include Debian Debian Linux, Roundcube Webmail.

How do I fix CVE-2018-9846?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2018-9846 being exploited?

There is no known exploitation of CVE-2018-9846 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-9846, DSA-4181-1, GHSA-3v75-9ch3-wfrw, MGASA-2018-0288, UBUNTU-CVE-2018-9846.

Is CVE-2018-9846 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free