Distro advisory · Debian 5
lftp - file overwrite vulnerability
Description
Vulnerability : missing input validation Problem type : remote (local) Debian-specific: no CVE Id : CVE-2010-2251
It was discovered that in lftp, a command-line HTTP/FTP client, there is no proper validation of the filename provided by the server through the Content-Disposition header; attackers can use this flaw by suggesting a filename they wish to overwrite on the client machine, and then possibly execute arbitrary code (for instance if the attacker elects to write a dotfile in a home directory).
Manual fix · Debian 5
sudo apt-get updatesudo apt-get install --only-upgrade lftpdpkg -s lftp | grep VersionSources