Linux Security
Linux Security
Linux Security

Debian: DSA-2085-1: New lftp packages fix file overwrite vulnerability

Date 03 Aug 2010
205
Posted By LinuxSecurity Advisories
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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ------------------------------------------------------------------------
Debian Security Advisory DSA-2085-1                This email address is being protected from spambots. You need JavaScript enabled to view it.
https://www.debian.org/security/                     Sebastien Delafond
August 03, 2010                     https://www.debian.org/security/faq
- ------------------------------------------------------------------------

Package        : lftp
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).

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.

Upgrade instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 5.0 alias lenny
- --------------------------------

Stable updates are available for alpha, amd64, arm, armel, hppa, i386, ia64, mips, mipsel, powerpc, s390 and sparc.

Source archives:

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1.dsc
    Size/MD5 checksum:     1059 64112d74da53a2b3fc9336618115e1eb
  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1.diff.gz
    Size/MD5 checksum:    13674 09040587c1e33a732682d425a3627da2
  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3.orig.tar.gz
    Size/MD5 checksum:  1844300 576a7b1249038ba761325671dd2eba26

alpha architecture (DEC Alpha)

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_alpha.deb
    Size/MD5 checksum:   711424 91c615f46c5dc48adc6dd45d20076b9a

amd64 architecture (AMD x86_64 (AMD64))

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_amd64.deb
    Size/MD5 checksum:   656172 15b40a343fecd7984b95e32dcda6eeed

arm architecture (ARM)

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_arm.deb
    Size/MD5 checksum:   574538 63404d61be53f9d459ee8171e027b9c2

armel architecture (ARM EABI)

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_armel.deb
    Size/MD5 checksum:   581470 7d80d23b595a9a087c76b6bcdf83e285

hppa architecture (HP PA RISC)

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_hppa.deb
    Size/MD5 checksum:   671790 1cebd061da662b9cf2479eeea5c8f9a1

i386 architecture (Intel ia32)

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_i386.deb
    Size/MD5 checksum:   586716 e86f9d7ae3e182c90f85b1f92924ba1c

ia64 architecture (Intel ia64)

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_ia64.deb
    Size/MD5 checksum:   877390 ae790318fc5101487f6871bc108ae091

mips architecture (MIPS (Big Endian))

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_mips.deb
    Size/MD5 checksum:   649034 334ee6e763e7de4c1efd7b55875e1d04

mipsel architecture (MIPS (Little Endian))

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_mipsel.deb
    Size/MD5 checksum:   647518 409d0d333d2370f7003ff54a4a11cab3

powerpc architecture (PowerPC)

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_powerpc.deb
    Size/MD5 checksum:   613568 9bd37572fc37a038c5f17bb626a72634

s390 architecture (IBM S/390)

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_s390.deb
    Size/MD5 checksum:   633538 e7b2bd269c910bd39c6cd924b62b4059

sparc architecture (Sun SPARC/UltraSPARC)

  https://security.debian.org/pool/updates/main/l/lftp/lftp_3.7.3-1+lenny1_sparc.deb
    Size/MD5 checksum:   585096 85f9f06f175d544e0ac380a29e2e00e3


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb https://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
Package info: `apt-cache show ' and https://packages.debian.org/

LinuxSecurity Poll

How frequently do you patch/update your system?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum 0 answer(s) and maximum 3 answer(s).
/main-polls/52-how-frequently-do-you-patch-update-your-system?task=poll.vote&format=json
52
radio
[{"id":"179","title":"As soon as patches\/updates are released - I track advisories for my distro(s) diligently","votes":"69","type":"x","order":"1","pct":75.82,"resources":[]},{"id":"180","title":"Every so often, when I think of it","votes":"14","type":"x","order":"2","pct":15.38,"resources":[]},{"id":"181","title":"Hardly ever","votes":"8","type":"x","order":"3","pct":8.79,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350

Please vote first in order to view vote results.

VOTE ON THE POLL PAGE


VIEW MORE POLLS

bottom 200

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.