7.5
HIGH CVSS 3.0
CVE-2016-9920
Roundcube Sendmail Envelope-From Code Execution Vulnerability
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.

INFO

Published Date :

Dec. 8, 2016, 6:59 p.m.

Last Modified :

April 12, 2025, 10:46 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2016-9920 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Roundcube webmail
2 Roundcube roundcube_webmail
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 HIGH [email protected]
Solution
Follow the instructions below to mitigate the CVE-2016-9920 vulnerability.
All Roundcube users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose '>=mail-client/roundcube-1.2.3'
Public PoC/Exploit Available at Github

CVE-2016-9920 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-9920 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 1 month ago
49 stars 10 fork 10 watcher
Born at : July 28, 2022, 3:22 a.m. This repo has been linked 149 different CVEs too.

None

Updated: 7 months, 1 week ago
2 stars 1 fork 1 watcher
Born at : Feb. 6, 2021, 4:29 p.m. This repo has been linked 33 different CVEs too.

Roundcube 1.0.0 <= 1.2.2 Remote Code Execution exploit and vulnerable container

roundcube docker vulnerable-container exploit cve-2016-9920 rce

Python PHP Shell

Updated: 3 months, 1 week ago
47 stars 20 fork 20 watcher
Born at : Jan. 6, 2017, 5:55 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-9920 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-9920 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2016/12/08/10
    Added Reference http://www.securityfocus.com/bid/94858
    Added Reference https://blog.ripstech.com/2016/roundcube-command-execution-via-email/
    Added Reference https://roundcube.net/news/2016/11/28/updates-1.2.3-and-1.1.7-released
    Added Reference https://security.gentoo.org/glsa/201612-44
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jul. 01, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201612-44 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 15, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/94858 [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 09, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:roundcube:webmail:1.1.6:*:*:*:*:*:*:* (and previous) *cpe:2.3:a:roundcube:webmail:1.2.1:*:*:*:*:*:*:* *cpe:2.3:a:roundcube:webmail:1.2.2:*:*:*:*:*:*:* *cpe:2.3:a:roundcube:webmail:1.2.0:*:*:*:*:*:*:*
    Added CVSS V2 (AV:N/AC:M/Au:S/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://roundcube.net/news/2016/11/28/updates-1.2.3-and-1.1.7-released No Types Assigned https://roundcube.net/news/2016/11/28/updates-1.2.3-and-1.1.7-released Release Notes, Vendor Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/12/08/10 No Types Assigned http://www.openwall.com/lists/oss-security/2016/12/08/10 Third Party Advisory, Mailing List
    Changed Reference Type https://blog.ripstech.com/2016/roundcube-command-execution-via-email/ No Types Assigned https://blog.ripstech.com/2016/roundcube-command-execution-via-email/ Third Party Advisory, Exploit
    Added CWE CWE-284
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

44.83 }} 6.53%

score

0.97443

percentile