Patchfirst
CVE-2020-12641 KEVPublic exploit Critical · 9.8 EPSS 84.4%

Roundcube Webmail Remote Code Execution Vulnerability

Roundcube · Roundcube Webmail

Summary

Roundcube Webmail, the open-source webmail client, contains a flaw in its rcube_image.php component (versions before 1.4.4) where shell metacharacters are not neutralised in the im_convert_path or im_identify_path configuration settings. An attacker able to supply or influence those configuration values can inject operating system commands that are executed on the server.

Official description · NVD

rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in a configuration setting for im_convert_path or im_identify_path.

Breakdown
69.8 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 3 years after disclosure. Public exploit code (PoC-in-GitHub) appeared 4 years after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+3 yrs
  3. Added to CISA KEVEU database agrees+3 yrs
  4. Public exploit codePoC-in-GitHub+4 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

See the family tree

A fix was bypassed or incomplete once over 4 years.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2020-12641Roundcube Webmail Remote Code Execution4 May 2020KEV
  2. incomplete fixHigh

    Why these are linked:

    • Stated in the CVE textNOTE: this issue exists because of an incomplete fix for CVE-2020-12641.
    • Same code patched: rcube_image.php (machine-matched)commit fcfb099commit 5ea9f37
    CVE-2024-37385Roundcube Webmail before 1.5.7 and 1.6.x before 1.6.7 on Windows…7 Jun 2024

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Public-facing web app exploited remotely, unauthenticated

rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Shell metacharacter injection yields command execution

allows attackers to execute arbitrary code via shell metacharacters
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2020-12641 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

8 links, grouped by NVD tag (7 duplicates merged)
↑ ↓ chooseEnter openEsc close