Description
A command injection vulnerability in FTP-Flask-python through 5173b68 allows unauthenticated remote attackers to execute arbitrary OS commands. The /ftp.html endpoint's "Upload File" action constructs a shell command from the ftp_file parameter and executes it using os.system() without sanitization or escaping.
References
github.com/...6828244ff9729fa29cc144d74ccbea30a73/ftp_app.py
gist.github.com/Spendroslav/1c0c6a6556992291b19c3178e3cb5885