LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2017-16651: Roundcube Webmail File Disclosure Vulnerability

RBRecent Breaches Vulnerability Intelligence·Nov 3, 2021
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
May 3, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2017-16651 to its Known Exploited Vulnerabilities catalog on Nov 3, 2021, with a federal patch deadline of May 3, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

Roundcube Webmail contains a file disclosure vulnerability caused by insufficient input validation in conjunction with file-based attachment plugins, which are used by default.

CVE-2017-16651 is a file disclosure vulnerability in Roundcube Webmail. Insufficient input validation, used together with the product’s default file-based attachment plugins, can allow an attacker to obtain files that should remain inaccessible. For organizations that run Roundcube as their webmail front end, this matters because exposed configuration files, credentials, or other server-side data can lead to further compromise of the mail infrastructure and the accounts it serves.

Public detail is limited to the CISA description and the CWE classification; exact version ranges, attack preconditions, and scoring must be confirmed against the vendor advisory before prioritization decisions are finalized.

How it works

The weakness is classified as CWE-552 (Files or Directories Accessible to External Parties). In this class of flaw, the application fails to adequately restrict which files a user-controlled request may reference. Roundcube’s file-based attachment handling, enabled by default, processes paths or identifiers supplied in requests. When input validation is insufficient, an attacker who can interact with the webmail interface may craft requests that cause the application to read and return contents of files outside the intended attachment store.

A technical reader should understand the abuse path at a high level: the attacker supplies malicious input that the attachment plugin treats as a legitimate file reference; the application then discloses the targeted file’s contents in the response. No public exploit mechanics beyond this description are provided here; defenders must treat any authenticated or unauthenticated access to the Roundcube UI as a potential vector until the advisory is reviewed.

Am I affected? How to find it in your systems

Roundcube Webmail is commonly deployed as a browser-based mail client on Linux web servers, often behind Apache or nginx, and may be packaged with hosting control panels or run as a standalone PHP application. Inventory steps:

Telemetry signs of exploitation are not detailed in the supplied facts; treat any unexplained file-access activity originating from the Roundcube process as suspicious and investigate promptly.

How to remediate

Patch first. Apply the updates issued by the Roundcube vendor exactly as described in the official advisory for CVE-2017-16651. CISA’s required action is to apply updates per vendor instructions; confirm the fixed release and any required configuration changes directly from that advisory.

After patching, harden the installation for this class of weakness:

If you can't patch immediately

Until the vendor update can be applied, reduce exposure with compensating controls:

These measures lower risk but do not replace the vendor patch.

If your data may have been exposed

Actively exploited file-disclosure vulnerabilities can lead to credential theft, configuration leakage, and subsequent account or server compromise. Known ransomware use is not documented for this CVE. If you suspect exposure, rotate credentials that may have resided on the affected host, review mail-account access logs, and examine the server for follow-on activity. You can also run a free exposure scan of your email addresses against known breach data sets to determine whether associated accounts appear in prior incidents.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedRoundcube · Roundcube Webmail
WeaknessCWE-552
Added to CISA KEVNov 3, 2021
Federal patch deadlineMay 3, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities