CVE-2017-16651: Roundcube Webmail File Disclosure
Roundcube Webmail · listed in the CISA catalog of actively exploited vulnerabilities since 2021-11-03.
- CVSS v3.1 (CVE record)
- 7.8
- high
- EPSS (exploit probability, 30 days)
- 46%
- higher than 98.8% of all CVEs
- Added to CISA KEV
- 2021-11-03
- US federal due date 2022-05-03
- Ubuntu priority
- high
CVE-2017-16651 explained
CVE-2017-16651 is a file disclosure flaw in Roundcube Webmail before 1.1.10, 1.2.x before 1.2.7, and 1.3.x before 1.3.3. An authenticated user can read arbitrary files on the server, including configuration files. It was exploited in the wild in November 2017 and is listed in the CISA Known Exploited Vulnerabilities catalog.
Impact
An attacker with a valid Roundcube username and password and an active session can read arbitrary files on the host's filesystem, including configuration files. The issue involves file-based attachment plugins and settings upload requests. The CVSS vector rates attack complexity as low, with low privileges required and no user interaction. It rates confidentiality, integrity and availability impact as high.
Who is affected
The facts list one affected release. Ubuntu 16.04 LTS, source package roundcube, is end of life. A fix is available only through Ubuntu Pro (ESM) in version 1.2~beta+dfsg.1-0ubuntu1+esm5. Upstream, Roundcube Webmail versions before 1.1.10, 1.2.x before 1.2.7, and 1.3.x before 1.3.3 are affected.
Written with AI from the data on this page and checked against it automatically.
Official description
Roundcube Webmail before 1.1.10, 1.2.x before 1.2.7, and 1.3.x before 1.3.3 allows unauthorized access to arbitrary files on the host's filesystem, including configuration files, as exploited in the wild in November 2017. The attacker must be able to authenticate at the target system with a valid username/password as the attack requires an active session.
The issue is related to file-based attachment plugins and _task=settings&_action=upload-display&_from=timezone requests.
CISA required action: Apply updates per vendor instructions.
CISA notes
Ubuntu and Debian releases
A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.
Ubuntu 16.04 LTS·roundcube
fix via Ubuntu Pro
Fixed: 1.2~beta+dfsg.1-0ubuntu1+esm5
What to do
- On Ubuntu 16.04 LTS, enable Ubuntu Pro (ESM) and update
roundcubeto1.2~beta+dfsg.1-0ubuntu1+esm5or later. - Plan an upgrade from Ubuntu 16.04 LTS to a supported Ubuntu release, because it is end of life.
- Restart the web server or PHP services that serve Roundcube so the updated code is loaded.
- Review Roundcube configuration files and rotate any secrets they contain if you suspect access by an unauthorized user.
- Restrict network access to the Roundcube web interface to trusted users where possible.
Written with AI from the data on this page and checked against it automatically.
Check and fix on a server
Run on each Ubuntu or Debian server. Replace roundcube with the source package from the table above.
1. Show installed packages built from the source package, with their versions
dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="roundcube"'2. Compare each installed version with the fixed version for your release from the table
I=INSTALLED_VERSION; F=FIXED_VERSION # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac3. Install the fix
sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="roundcube"{print $1}')Services keep running the old code until they are restarted – restart the affected service or check with needrestart.
Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-552 Files or Directories Accessible to External Parties
Questions about CVE-2017-16651
- Can an anonymous attacker exploit CVE-2017-16651?
- No. The attacker must authenticate with a valid username and password, because the attack requires an active session. Any user with a Roundcube account could potentially read arbitrary files on the server.
- Is this vulnerability exploited in practice?
- Yes. The description states it was exploited in the wild in November 2017. CISA added it to its Known Exploited Vulnerabilities catalog on 2021-11-03, with the required action to apply updates per vendor instructions.
- How do I get the fix on Ubuntu 16.04 LTS?
- Ubuntu 16.04 LTS is end of life. The fixed package
1.2~beta+dfsg.1-0ubuntu1+esm5is available only with an Ubuntu Pro subscription through ESM. Otherwise, upgrade to a supported release.
Written with AI from the data on this page and checked against it automatically.
References
Vendor
Other advisories
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.