CVE-2020-12640 Path traversal in n/a
Attackers can execute code and read local files via directory traversal in plugin names, affecting Roundcube Webmail users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-12640?
CVE-2020-12640 is a critical path traversal 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
Roundcube Webmail before 1.4.4 allows attackers to include local files and execute code via directory traversal in a plugin name to rcube_plugin_api.php.
Weakness: CWE-22
Which versions are affected by CVE-2020-12640?
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-12640?
Upgrade roundcube to a fixed version for your release line: 1.2.10, 1.3.11 or 1.4.4.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-12640 being exploited?
There is no known exploitation of CVE-2020-12640 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Opensuse Backports Sle
Sources
Also known as BIT-roundcube-2020-12640, DEBIAN-CVE-2020-12640, GHSA-j63m-cchh-gcjv, UBUNTU-CVE-2020-12640.