Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-34299-lab — Docker test environment for CVE-2025-34299 - Monsta FTP Pre-Auth RCE vulnerability | Kitploit
Tools/GitHubGitHub/kre80r/cve-2025-34299-lab
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubkre80r/cve-2025-34299-lab

CVE-2025-34299-lab

Docker test environment for CVE-2025-34299 - Monsta FTP Pre-Auth RCE vulnerability

View Repository
8 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-34299 Test Environment

Docker test environment for CVE-2025-34299 - Monsta FTP Pre-Authentication Remote Code Execution vulnerability.

Vulnerability Details

FieldValue
CVE IDCVE-2025-34299
SeverityCritical (CVSS 9.8)
CWECWE-434 (Unrestricted Upload of File with Dangerous Type)
Affected Versions<= 2.11.2
Patched Version2.11.3
KEVYes

Description

Monsta FTP versions <= 2.11.2 contain a pre-authenticated remote code execution vulnerability via unrestricted arbitrary file upload. The downloadFile API endpoint (/mftp/application/api/api.php) accepts user-controlled file paths without proper sanitization, allowing attackers to:

  1. Send a POST request with actionName: downloadFile
  2. Specify a malicious FTP server under their control
  3. Instruct Monsta FTP to download arbitrary files (including PHP webshells) to arbitrary server locations
  4. Achieve RCE with web server privileges

Quick Start

root@kitploit:~
# Clone this repository
git clone https://github.com/KrE80r/CVE-2025-34299-lab.git
cd CVE-2025-34299-lab

# Start the vulnerable environment
docker-compose up -d

# Verify it's running
curl -s http://localhost:8080/mftp/ | grep -o "MonstaFTP"

Testing with Nuclei

root@kitploit:~
# Test with nuclei template
nuclei -t CVE-2025-34299.yaml -u http://localhost:8080

# Expected output:
# [CVE-2025-34299] [http] [critical] http://localhost:8080/mftp/application/api/api.php ["2.10.4"]

Manual Verification

root@kitploit:~
# Check if the vulnerable API endpoint is accessible
curl -X POST http://localhost:8080/mftp/application/api/api.php \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d 'request={"connectionType":"ftp","configuration":{"host":"127.0.0.1","username":"test","initialDirectory":"/","password":"test","port":21},"actionName":"downloadFile","context":{"remotePath":"/test.txt","localPath":"/tmp/test.txt"}}'

# Expected response contains "CONNECTION_FAILURE_ERROR" proving the vulnerable code path is reached

Environment Details

  • Base Image: php:7.4-apache
  • Monsta FTP Version: 2.10.4 (vulnerable)
  • Default Port: 8080
  • Web Path: /mftp/

Cleanup

root@kitploit:~
# Stop and remove the container
docker-compose down

# Remove the image
docker rmi cve-2025-34299-lab-monsta-ftp-vulnerable

References

  • NVD - CVE-2025-34299
  • WatchTowr Labs Advisory
  • GitHub Advisory - GHSA-42m5-3r2p-wr92

Disclaimer

This environment is provided for security research and testing purposes only. Do not use against systems you do not own or have explicit permission to test.

License

MIT License

Download Tool