DSA 1817-1: New ctorrent packages fix arbitrary code execution  

Posted by Daniela Mehler

"-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA-1817-1 security@debian.org
http://www.debian.org/security/ Nico Golde
June 17th, 2009 http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package : ctorrent
Vulnerability : stack-based buffer overflow
Problem type : local (remote)
Debian-specific: no
Debian bug : 530255
CVE ID : CVE-2009-1759


Michael Brooks discovered that ctorrent, a text-mode bittorrent client,
does not verify the length of file paths in torrent files. An attacker
can exploit this via a crafted torrent that contains a long file path to
execute arbitrary code with the rights of the user opening the file.


The oldstable distribution (etch) does not contain ctorrent.

For the stable distribution (lenny), this problem has been fixed in
version 1.3.4-dnh3.2-1+lenny1.

For the testing distribution (squeeze), this problem will be fixed soon.

For the unstable distribution (sid), this problem has been fixed in
version 1.3.4-dnh3.2-1.1.


We recommend that you upgrade your ctorrent 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
- --------------------------------

Debian (stable)
- ---------------

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

Source archives:

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1.diff.gz
Size/MD5 checksum: 6427 a8eb130df614638863d1de39f80aeb3c
http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1.dsc
Size/MD5 checksum: 1132 2159a81d35c934811cc4b65a5d51c63e
http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2.orig.tar.gz
Size/MD5 checksum: 201651 8c4605ea3a1f6d09da593c25b5ab7dbd

alpha architecture (DEC Alpha)

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_alpha.deb
Size/MD5 checksum: 124858 5fce08bb15b4706ae4dc25c20a9da7b4

amd64 architecture (AMD x86_64 (AMD64))

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_amd64.deb
Size/MD5 checksum: 112618 34ca707d68325c7b3939338d0b0ca7c2

arm architecture (ARM)

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_arm.deb
Size/MD5 checksum: 111212 8e4c1fa0ef849a48d3a87e5f68543520

armel architecture (ARM EABI)

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_armel.deb
Size/MD5 checksum: 109968 60648ec18a34e50b483fbbf3dacba958

hppa architecture (HP PA RISC)

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_hppa.deb
Size/MD5 checksum: 126318 e784df9d63ad73e20cc295f9afd3a436

i386 architecture (Intel ia32)

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_i386.deb
Size/MD5 checksum: 107962 d17a52c0f1c4f78cb912159719eaca5d

ia64 architecture (Intel ia64)

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_ia64.deb
Size/MD5 checksum: 161648 179939230644da247cc342e8b2695df4

mips architecture (MIPS (Big Endian))

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_mips.deb
Size/MD5 checksum: 123522 efe46dd5e1f6604d01e4e9dccedae3d6

mipsel architecture (MIPS (Little Endian))

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_mipsel.deb
Size/MD5 checksum: 124204 5af9aa2d675d420684e78250663098a1

powerpc architecture (PowerPC)

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_powerpc.deb
Size/MD5 checksum: 123882 ee2163a4290b1c617e5b0a90caa7b4c4

s390 architecture (IBM S/390)

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_s390.deb
Size/MD5 checksum: 115012 fcb29b56a042601293a48ae9a406fc0b

sparc architecture (Sun SPARC/UltraSPARC)

http://security.debian.org/pool/updates/main/c/ctorrent/ctorrent_1.3.4-dnh3.2-1+lenny1_sparc.deb
Size/MD5 checksum: 111682 149c6237664380b0d6c6cb74a3006e0d


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

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and http://packages.debian.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAko5aTcACgkQHYflSXNkfP+v/ACfVJIYp9f2lYmdeH6pUO3SmMFi
KFIAoKyTR4/nZu832eu8H82JKf7wfEJ+
=es+I
-----END PGP SIGNATURE-----
"

This entry was posted on 12:36 PM .