CVE-2020-12641 Roundcube Webmail Remote Code Execution
Attackers can execute arbitrary code via shell metacharacters in specific image conversion configuration settings in Roundcube Webmail.
- Exploited in the wild
- Since 22 Jun 2023
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-12641?
CVE-2020-12641 is a critical command injection vulnerability in Opensuse Backports Sle, published on 4 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2020-12641?
1 open source package ship an affected version, including roundcube. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
roundcube Bitnami | From 1.2.0 | 1.2.10, 1.3.11, 1.4.4 |
Products include Opensuse Backports Sle, Opensuse Leap, Roundcube Webmail.
How do I fix CVE-2020-12641?
Upgrade roundcube to a fixed version for your release line: 1.2.10, 1.3.11 or 1.4.4. US federal agencies must fix it by 13 Jul 2023.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-12641 being exploited?
Yes. Attackers have exploited CVE-2020-12641 in the wild since at least 22 Jun 2023.
Public exploit code: 1 Nuclei template and 2 proofs of concept on GitHub.
Other vulnerabilities in Opensuse Backports Sle
Sources
Also known as BIT-roundcube-2020-12641, DEBIAN-CVE-2020-12641, GHSA-q9jx-pp2v-v8xh, UBUNTU-CVE-2020-12641.