CVE-2016-9920

NameCVE-2016-9920
Descriptionsteps/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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-737-1
NVD severitymedium (attack range: remote)
Debian Bugs847287

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
roundcube (PTS)wheezy0.7.2-9+deb7u2vulnerable
wheezy (security)0.7.2-9+deb7u9fixed
stretch (security), stretch1.2.3+dfsg.1-4+deb9u1fixed
buster, sid1.3.3+dfsg.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
roundcubesource(unstable)1.2.3+dfsg.1-1medium847287
roundcubesourcewheezy0.7.2-9+deb7u5mediumDLA-737-1

Notes

https://blog.ripstech.com/2016/roundcube-command-execution-via-email/
Fixed by: https://github.com/roundcube/roundcubemail/commit/f84233785ddeed01445fc855f3ae1e8a62f167e1
Fixed by: https://github.com/roundcube/roundcubemail/commit/aa6bf38843f51a0fc7205acc98a7b84f3c4c9c4f

Search for package or bug name: Reporting problems