Debian Security Advisory
DSA-2085-1 lftp -- missing input validation
- Date Reported:
- 03 Aug 2010
- Affected Packages:
- lftp
- Vulnerable:
- Yes
- Security database references:
- In Mitre's CVE dictionary: CVE-2010-2251.
- More information:
-
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).
For the stable distribution (lenny), this problem has been fixed in version 3.7.3-1+lenny1.
For the testing distribution (squeeze), this problem has been fixed in version 4.0.6-1.
For the unstable distribution (sid), this problem has been fixed in version 4.0.6-1.
We recommend that you upgrade your lftp packages.
- Fixed in:
-
Debian GNU/Linux 5.0 (lenny)
- Source:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1.dsc
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1.diff.gz
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3.orig.tar.gz
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1.diff.gz
- Alpha:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_alpha.deb
- AMD64:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_amd64.deb
- ARM:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_arm.deb
- ARM EABI:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_armel.deb
- HP Precision:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_hppa.deb
- Intel IA-32:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_i386.deb
- Intel IA-64:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_ia64.deb
- Big-endian MIPS:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_mips.deb
- Little-endian MIPS:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_mipsel.deb
- PowerPC:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_powerpc.deb
- IBM S/390:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_s390.deb
- Sun Sparc:
- http://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_sparc.deb
MD5 checksums of the listed files are available in the original advisory.