DSA 883-1: New thttpd packages fix insecure temporary file
Posted on: 11/04/2005 07:12 PM

The Debian Security Team published a new security update for Debian GNU/Linux. Here the announcement:

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 883-1 security@debian.org
http://www.debian.org/security/ Martin Schulze
November 4th, 2005 http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package : thttpd
Vulnerability : insecure temporary file
Problem type : local
Debian-specific: no
CVE ID : CVE-2005-3124

Javier Fernández-Sanguino Peña from the Debian Security Audit team
discovered that the syslogtocern script from thttpd, a tiny webserver,
uses a temporary file insecurely, allowing a local attacker to craft a
symlink attack to overwrite arbitrary files.

For the old stable distribution (woody) this problem has been fixed in
version 2.21b-11.3.

For the stable distribution (sarge) this problem has been fixed in
version 2.23beta1-3sarge1.

For the unstable distribution (sid) this problem has been fixed in
version 2.23beta1-4.

We recommend that you upgrade your thttpd package.


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 3.0 alias woody
- --------------------------------

Source archives:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3.dsc
Size/MD5 checksum: 545 ba3c0bb15f6212db97bcf6d6524d4780
http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3.diff.gz
Size/MD5 checksum: 12672 47c8093a645102ea2f328455195e763c
http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b.orig.tar.gz
Size/MD5 checksum: 127157 9c1512664cf70c286331243ab622173e

Alpha architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3_alpha.deb
Size/MD5 checksum: 67624 465efe17c6bf662b1b191b91c8cd8491
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.3_alpha.deb
Size/MD5 checksum: 27940 3830272b2dae0993fa96b4bb014feb09

ARM architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3_arm.deb
Size/MD5 checksum: 54272 fd2de8fb819e11c5a0a91ad4546d3b07
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.3_arm.deb
Size/MD5 checksum: 23384 9a02e239a4d792547e088b2e7047d08a

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3_i386.deb
Size/MD5 checksum: 51996 5c6c5f4bda6ecf89c095595ae7d47e0a
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.3_i386.deb
Size/MD5 checksum: 23732 b86b4669f89ea162f965430181004097

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3_ia64.deb
Size/MD5 checksum: 78060 ae4c37cfeb4bb00aabe86fb53ac8d320
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.3_ia64.deb
Size/MD5 checksum: 29732 3f7102053a50f0c67edc8d566e3707e8

HP Precision architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3_hppa.deb
Size/MD5 checksum: 59244 1b007a6734c854b6a313e3a48c59b5d3
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.3_hppa.deb
Size/MD5 checksum: 25618 1c4087f8fa972c8ec9364fb422b1f399

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3_m68k.deb
Size/MD5 checksum: 49632 f1cc7d708bbcf9fc34fe5382b8370bd3
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.3_m68k.deb
Size/MD5 checksum: 23386 4b6af55203f640969e0ca8fadd3ebf7d

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3_mips.deb
Size/MD5 checksum: 58302 e6c7222513bd7b96a09fb53f16447552
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.3_mips.deb
Size/MD5 checksum: 24670 2f575c075a755b452ee27749cab8e72d

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3_mipsel.deb
Size/MD5 checksum: 58424 af4447af28817c182ffe85b2f1ddbaa4
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.3_mipsel.deb
Size/MD5 checksum: 24744 9b7b47b0e29e90a4805edfb960912db5

PowerPC architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3_powerpc.deb
Size/MD5 checksum: 56558 cd91f39ec6a4b76377fb62f93eb31f8d
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.3_powerpc.deb
Size/MD5 checksum: 23992 7d582bab26cb31d3b9b109008cc5d493

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3_s390.deb
Size/MD5 checksum: 54762 72de109e9fd79a02ea9de27619a26923
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.3_s390.deb
Size/MD5 checksum: 24536 6bd0b8d4676a15c349905b0b70bb7c65

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.21b-11.3_sparc.deb
Size/MD5 checksum: 58326 5e288c30abd19e26ed1121585e83c52c
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.21b-11.3_sparc.deb
Size/MD5 checksum: 30104 dc9d39c3a3aa44f7cb120f1ab4fddc19


Debian GNU/Linux 3.1 alias sarge
- --------------------------------

Source archives:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1.dsc
Size/MD5 checksum: 614 290db913568006f555f67c0529f2ad7c
http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1.diff.gz
Size/MD5 checksum: 14109 d0598767e42a34ad05c9df1c3962b140
http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1.orig.tar.gz
Size/MD5 checksum: 128712 d3d91f6596f53d5e2b27cea8607d5bba

Alpha architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_alpha.deb
Size/MD5 checksum: 59240 f6854853b290fe2ce1a925cbbea3856a
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_alpha.deb
Size/MD5 checksum: 27978 6b4680363644b459e0e47222985f749f

AMD64 architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_amd64.deb
Size/MD5 checksum: 56034 9848065d7700f2f6e0a036ee76e8fcf7
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_amd64.deb
Size/MD5 checksum: 26456 befb78e032aa654e5fcfcc7c9fdff21b

ARM architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_arm.deb
Size/MD5 checksum: 53198 6a9c1e8afaa60a7b4b7787729dd97b9b
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_arm.deb
Size/MD5 checksum: 24610 f35f8b0a749694fea536296d2a41e1f0

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_i386.deb
Size/MD5 checksum: 51494 eeb422504ed7247f4bbfd5ed27a89bac
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_i386.deb
Size/MD5 checksum: 24638 85147190249ea9d69c16d8f1dfdfb42e

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_ia64.deb
Size/MD5 checksum: 71954 924db7bf3beb5ce3c0e5018759aef3d6
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_ia64.deb
Size/MD5 checksum: 30276 530abc02e3c392a91bff06fe1d8ce7af

HP Precision architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_hppa.deb
Size/MD5 checksum: 57374 4755b42efc9a48b59b1e745862e01098
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_hppa.deb
Size/MD5 checksum: 26912 557472d5a3e182b86999baa0b89846ba

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_m68k.deb
Size/MD5 checksum: 50132 bcb24b62afb868c5e04b8c1db66e6cc3
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_m68k.deb
Size/MD5 checksum: 24756 4b30d87639b3d6b7ca58537cf16c6953

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_mips.deb
Size/MD5 checksum: 57044 410e480e061a3876b7ff01beaffb571e
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_mips.deb
Size/MD5 checksum: 30980 2cda342ba6a04fdbe0a938359eeff813

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_mipsel.deb
Size/MD5 checksum: 57112 fe0268048af2940619a9380d7cd83626
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_mipsel.deb
Size/MD5 checksum: 31126 64e73613ca88afa3fd379b657c80a414

PowerPC architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_powerpc.deb
Size/MD5 checksum: 53442 58c39568158a4c3da81efcaf6a0ab838
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_powerpc.deb
Size/MD5 checksum: 25160 a5ff28da9df6080438012db8014b0212

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_s390.deb
Size/MD5 checksum: 56214 f39998665c2df9236d2902120eb977f9
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_s390.deb
Size/MD5 checksum: 26268 34e822b698803e3e0139430aea707f55

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/t/thttpd/thttpd_2.23beta1-3sarge1_sparc.deb
Size/MD5 checksum: 53298 a8dcaf92cb41b607618b4a271927c250
http://security.debian.org/pool/updates/main/t/thttpd/thttpd-util_2.23beta1-3sarge1_sparc.deb
Size/MD5 checksum: 24718 54c4e9dac68c9b8472dc92fe6966f6e4


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 lt;pkggt;' and http://packages.debian.org/lt;pkggt;

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDa5G8W5ql+IAeqTIRAvGgAKCF0lAb2AjYJB4W/gjWdVqucENh6wCfYLYa
Hl49V6DyO77BW4UyQ4LjSSs=
=On/a
-----END PGP SIGNATURE-----



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/dsa_883_1_new_thttpd_packages_fix_insecure_temporary_file.html)