CVEs / CVE-2020-12641
CVE-2020-12641: Roundcube Webmail Remote Code Execution Vulnerability
- Known exploited in the CISA KEV catalog since 22 Jun 2023
- critical 9.8 CVSS 3.1 (NVD)
- EPSS 84.3% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2020-12641
Summary
Roundcube Webmail contains an remote code execution vulnerability that allows attackers to execute code via shell metacharacters in a configuration setting for im_convert_path or im_identify_path.
Description
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | n/a | — |
Exploitation
| In CISA KEV since | 22 Jun 2023 |
|---|---|
| Due date for US federal agencies | 13 Jul 2023 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply updates per vendor instructions. |
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-78 |
References
- CVE-2020-12641 on NVD
- CVE-2020-12641 in the CISA KEV catalog
- https://roundcube.net/news/2020/04/29/security-updates-1.4.4-1.3.11-and-1.2.10 (cited by CISA)
- CVE-2020-12641 on OSV
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00083.html Mailing List, Third Party Advisory
- https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2020-12641-Command%20Injection-Roundcube Exploit, Third Party Advisory
- https://github.com/roundcube/roundcubemail/commit/fcfb099477f353373c34c8a65c9035b06b364db3 Patch
- https://github.com/roundcube/roundcubemail/compare/1.4.3...1.4.4 Release Notes
- https://github.com/roundcube/roundcubemail/releases/tag/1.4.4 Release Notes
- https://roundcube.net/news/2020/04/29/security-updates-1.4.4-1.3.11-and-1.2.10 Release Notes, Vendor Advisory
- https://security.gentoo.org/glsa/202007-41 Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-12641 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.