Roundcube Webmail File Disclosure
CVE-2017-16651 is a high-severity files or directories accessible to external parties vulnerability in Webmail from Roundcube, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. Affected Webmail versions: 1.1.9 and earlier; 1.2.0; 1.2.1, and others listed below. The record does not name a fixed version, so check the vendor advisory. CISA added it to the Known Exploited Vulnerabilities catalogue on November 3, 2021, which means attacks have been observed in the wild.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Check which version of Webmail you run against the affected versions below, and install the vendor's latest release.
- CISA's required action: Apply updates per vendor instructions.
- Read the advisory on roundcube.net for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Roundcube | Webmail | 1.1.9 and earlier; 1.2.0; 1.2.1; 1.2.2; 1.2.3; 1.2.4; 1.2.5; 1.2.6; and 3 more ranges | Not stated |
| Debian | Debian Linux | 7.0; 9.0 | Not stated |
Version data comes from NVD's product matching. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.8 | High | NVD |
| CVSS 3.1 | 7.8 | High | CISA (ADP) |
| CVSS 2.0 | 4.6 | Medium | NVD |
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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Files or Directories Accessible to External Parties
The product makes files or directories accessible to unauthorized actors, even though they should not be.
How developers prevent this class of flaw
- When storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to disable public access.
More Files or Directories Accessible to External Parties vulnerabilities (CWE-552)
Timeline
- CVE record published.
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- Deadline for US federal agencies to remediate, set by CISA.
- CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
- github.com/roundcube/roundcubemail/issues/6026Issue Tracking, Third Party Advisory
- github.com/roundcube/roundcubemail/releases/tag/1.1.10Issue Tracking, Release Notes, Third Party Advisory
- github.com/roundcube/roundcubemail/releases/tag/1.2.7Issue Tracking, Release Notes, Third Party Advisory
- github.com/roundcube/roundcubemail/releases/tag/1.3.3Issue Tracking, Release Notes, Third Party Advisory
Third-party and government advisories
- securityfocus.com/bid/101793Third Party Advisory, VDB Entry
- lists.debian.org/debian-lts-announce/2017/11/msg00039.htmlMailing List, Third Party Advisory
- debian.org/security/2017/dsa-4030Issue Tracking, Third Party Advisory
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-16651US Government Resource
Technical write-ups (may include proof of concept)
- packetstormsecurity.com/files/161226/Roundcube-Webmail-1.2-File-Disclosure.htmlExploit, Third Party Advisory, VDB Entry
Other vulnerabilities in Webmail
- 8.1 High severity
- 7.2 High severity
- 8.3 High severity
- 8.1 High severity
- 7.1 High severity
- 8.5 High severity
Recent Files or Directories Accessible to External Parties vulnerabilities
- 5.5 Medium severity
ImageMagick Arbitrary File Deletion Exploited
Spotted an error? Tell us.