CVE-2016-9920 Command injection in n/a
Authenticated attackers can execute arbitrary code via crafted email requests when sendmail is enabled without SMTP configuration.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-9920?
CVE-2016-9920 is a high-severity command injection vulnerability in Roundcube Webmail, published on 8 Dec 2016. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the sendmail program is enabled, does not properly restrict the use of custom envelope-from addresses on the sendmail command line, which allows remote authenticated users to execute arbitrary code via a modified HTTP request that sends a crafted e-mail message.
Weakness: CWE-284
Which versions are affected by CVE-2016-9920?
It affects 1 product.
Products include Roundcube Webmail.
How do I fix CVE-2016-9920?
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-2016-9920 being exploited?
There is no known exploitation of CVE-2016-9920 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Roundcube Webmail
Sources
Also known as CVE-2017-1000204, DEBIAN-CVE-2016-9920, DLA-737-1, GHSA-f59r-7mfp-ww98, MGASA-2016-0430, UBUNTU-CVE-2016-9920.