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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2020-8635 PoC — Wing FTP Server 安全漏洞

Source
Associated Vulnerability
Title:Wing FTP Server 安全漏洞 (CVE-2020-8635)
Description:Wing FTP Server是一套跨平台的FTP服务器软件。 基于Linux、macOS和Solaris平台的Wing FTP Server v6.2.3版本中存在安全漏洞,该漏洞源于程序为安装路径和配置文件分配了不安全的权限。本地攻击者可通过修改系统文件利用该漏洞任意创建带有全部权限的FTP账户并在操作系统中提升权限。
Description
Wing FTP Server 6.2.3 - Privilege Escalation
Readme
### What's this
Wing FTP Server 6.2.3 - Privilege Escalation

### Exploit

##### Introduction
Wing FTP Server v6.2.3 for Linux, macOS, and Solaris sets insecure permissions on installation directories and configuration files. This allows local users to arbitrarily create FTP users with full privileges, and escalate privileges within the operating system by modifying system files.

##### Tested on
Ubuntu 18.04, Kali Linux 4, MacOS Catalina, Solaris 11.4 (x86)

##### Exploit
~~~
python3 cve-2020-8635.py -t 192.168.0.2:2222 -u lowleveluser -p demo 
~~~
![](image/wftpsploit.jpg)
File Snapshot

[4.0K] /data/pocs/7007581d5b0a06c32ed3050ab4a50baa223b6f08 ├── [ 14K] CVE-2020-8635.py ├── [4.0K] image │   └── [ 79K] wftpsploit.jpg └── [ 598] README.md 1 directory, 3 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.