mirror --script in lftp before 3.5.9 does not properly quote shell metacharacters, which might allow remote user-assisted attackers to execute shell commands via a malicious script. NOTE: it is not clear whether this issue crosses security boundaries, since the script already supports commands such as "get" which could overwrite executable files.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10806
https://issues.rpath.com/browse/RPL-1229
http://www.vupen.com/english/advisories/2007/1590
http://www.securityfocus.com/bid/23736
http://secunia.com/advisories/36559
http://secunia.com/advisories/25132
http://secunia.com/advisories/25107