Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2020-12640 PoC — Roundcube Webmail 路径遍历漏洞

Source
Associated Vulnerability
Title:Roundcube Webmail 路径遍历漏洞 (CVE-2020-12640)
Description:Roundcube Webmail是一款基于浏览器的开源IMAP客户端,它支持地址薄管理、信息搜索、拼写检查等。 Roundcube Webmail 1.4.4之前版本中的rcube_plugin_api.php文件存在安全漏洞。攻击者可利用该漏洞包含本地文件并执行代码。
Description
CVE-2020-12640: Local PHP File Inclusion via "Plugin Value" in Roundcube Webmail
Readme
# CVE-2020-12640: Local PHP File Inclusion via "Plugin Value" in Roundcube Webmail

A Path Traversal vulnerability exists in Roundcube versions before 1.4.4, 1.3.11 and 1.2.10.

Because the "\_plugins\_<PLUGIN_NAME>" parameters do not perform sanitization/input filtering, an attacker with access to the Roundcube Installer can leverage a path traversal vulnerability to include arbitrary PHP files on the local system.

### Vendor Disclosure:

The vendor's disclosure and fix for this vulnerability can be found [here](https://roundcube.net/news/2020/04/29/security-updates-1.4.4-1.3.11-and-1.2.10).

### Requirements:

This vulnerability requires:
<br/>
- Access to the Roundcube Webmail installer component
- Write access to the target's filesystem

### Proof Of Concept:

More details and the exploitation process can be found in this [PDF](https://github.com/mbadanoiu/CVE-2020-12640/blob/main/Roundcube%20Disclosures%20-%20CVE-2020-12640.pdf).
File Snapshot

[4.0K] /data/pocs/a697e77ff8e4f74d8a1b533fea6f3e45d85ff75d ├── [ 950] README.md └── [221K] Roundcube Disclosures - CVE-2020-12640.pdf 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.