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

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                 ESB-2009.0581 -- [Linux][Debian][FreeBSD]
                     ctorrent: Execute Arbitrary Code
                               18 June 2009

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              ctorrent
Publisher:            Debian
Operating System:     Debian GNU/Linux 5.0
                      Linux variants
                      FreeBSD
Impact:               Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
CVE Names:            CVE-2009-1759

Original Bulletin:    http://www.debian.org/security/2009/dsa-1817

Comment: This advisory references vulnerabilities in products which run on
         platforms other than Debian. It is recommended that administrators
         running ctorrent check for an updated version of the software for
         their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----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 <pkg>' and http://packages.debian.org/<pkg>
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

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

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iD8DBQFKOZZ/NVH5XJJInbgRAoNqAJ48xf/CaDhrgI4BPQIrd1gun2892gCeN19X
aJFGeAKqvf+U+v1SYx+SerQ=
=DmPd
-----END PGP SIGNATURE-----