Path traversal in Roundcube Webmail - CVE-2020-12640
Published: June 11, 2020
Vulnerability identifier: #VU28981
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-12640
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote user to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences passed via the plugin name to rcube_plugin_api.php. A remote user can send a specially crafted HTTP request and read arbitrary files on the system.
Affected software
Roundcube Webmail
Gentoo Linux
SUSE Linux
Opensuse
Ubuntu
roundcube (Ubuntu package)
roundcube-core (Ubuntu package)
Gentoo Linux
SUSE Linux
Opensuse
Ubuntu
roundcube (Ubuntu package)
roundcube-core (Ubuntu package)
How to mitigate CVE-2020-12640
Install update from vendor's website.
Roundcube Webmail - addressed in versions 1.2.10, 1.3.11, 1.4.4
roundcube (Ubuntu package) - addressed in versions 1.2~beta+dfsg.1-0ubuntu1+esm2, 1.3.6+dfsg.1-1ubuntu0.1~esm2, 1.4.3+dfsg.1-1ubuntu0.1~esm2, 1.5.0+dfsg.1-2ubuntu0.1~esm1
roundcube-core (Ubuntu package) - addressed in versions 1.2~beta+dfsg.1-0ubuntu1+esm2, 1.3.6+dfsg.1-1ubuntu0.1~esm2, 1.4.3+dfsg.1-1ubuntu0.1~esm2, 1.5.0+dfsg.1-2ubuntu0.1~esm1
roundcube (Ubuntu package) - addressed in versions 1.2~beta+dfsg.1-0ubuntu1+esm2, 1.3.6+dfsg.1-1ubuntu0.1~esm2, 1.4.3+dfsg.1-1ubuntu0.1~esm2, 1.5.0+dfsg.1-2ubuntu0.1~esm1
roundcube-core (Ubuntu package) - addressed in versions 1.2~beta+dfsg.1-0ubuntu1+esm2, 1.3.6+dfsg.1-1ubuntu0.1~esm2, 1.4.3+dfsg.1-1ubuntu0.1~esm2, 1.5.0+dfsg.1-2ubuntu0.1~esm1