Vulnerability in Roundcube Webmail
CVE-2016-9920
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.056, 93.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Roundcube Webmail — versions 1.2.0, 1.2.1, 1.2.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- t0kx/exploit-CVE-2016-9920 (48 stars, last pushed 2024-04-20): Roundcube 1.0.0 <= 1.2.2 Remote Code Execution exploit and vulnerable container
Also mentioned in 9 other repositories (anquanscan/sec-tools, ARPSyndicate/cvemon, ARPSyndicate/cve-scores, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- blog.ripstech.com/2016/roundcube-command-execution-via-email/ (Exploit, Third Party Advisory)
- www.securityfocus.com/bid/94858 (vdb-entry)
- [oss-security] 20161208 roundcube code execution via mail() (mailing-list, Mailing List, Third Party Advisory)
- roundcube.net/news/2016/11/28/updates-1.2.3-and-1.1.7-released (Release Notes, Vendor Advisory)
- GLSA-201612-44 (vendor-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.