CVE-2020-12640: Roundcube Webmail - File Inclusion
- Cve: CVE-2020-12640
- Name: Roundcube Webmail - File Inclusion
- 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.
- Impact: Attackers can include local files and execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to version 1.4.4 or later.
- Vulnerability type: file_inclusion
- Vulnerability impact: file_system_read, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.06727
- Epss percentile: 0.94105
- Assignee: [email protected]
- Published at: 2020-05-04T15:15:14Z
- Age in days: 2395
- Modified at: 2026-06-17T02:52:03Z
- Patch available: yes
- Public exploits total: 2
- References total: 7
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-12640
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2020-12640-PHP%20Local%20File%20Inclusion-Roundcube | nvd | 2020-05-04 |
| https://github.com/mbadanoiu/CVE-2020-12640 | poc-in-github | 2024-04-13 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/roundcube/roundcubemail/commit/814eadb699e8576ce3a78f21e95bf69a7c7b3794 | Patch, Third Party Advisory |
| https://roundcube.net/news/2020/04/29/security-updates-1.4.4-1.3.11-and-1.2.10 | Release Notes, Vendor Advisory |
| https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2020-12640-PHP%20Local%20File%20Inclusion-Roundcube | Exploit, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00083.html | Third Party Advisory |
| https://github.com/roundcube/roundcubemail/compare/1.4.3...1.4.4 | Release Notes, Third Party Advisory |
| https://github.com/roundcube/roundcubemail/releases/tag/1.4.4 | Release Notes, Third Party Advisory |
| https://security.gentoo.org/glsa/202007-41 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| roundcube:webmail | >= 1.4.0, < 1.4.4; >= 1.3.0, < 1.3.11; >= 1.2.0, < 1.2.10 | /v1/products/roundcube/webmail |
| opensuse:leap | = 15.2, = 15.1 | /v1/products/opensuse/leap |
| opensuse:backports_sle | = 15.0 sp1, = 15.0 sp2 | /v1/products/opensuse/backports_sle |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| roundcube/roundcubemail | commit, compare, fix, releases | yes | /v1/repositories/roundcube/roundcubemail |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2020-05-04
- Remote: yes
- Exposed hosts: 129
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports