Articles / New znc packages fix privil...

New znc packages fix privilege escalation

It was discovered that znc, an IRC proxy/bouncer, does not properly sanitize input contained in configuration change requests to the webadmin interface. This allows authenticated users to elevate their privileges and indirectly execute arbitrary commands. Updated packages are available from security.debian.org.

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

- ------------------------------------------------------------------------
Debian Security Advisory DSA-1735-1                  security@debian.org
http://www.debian.org/security/                           Florian Weimer
March 10, 2009                        http://www.debian.org/security/faq
- ------------------------------------------------------------------------

Package        : znc
Vulnerability  : missing input sanitization
Problem type   : remote
Debian-specific: no
CVE Id(s)      : CVE-2009-0759
Debian Bug     : 516950

It was discovered that znc, an IRC proxy/bouncer, does not properly
sanitize input contained in configuration change requests to the
webadmin interface.  This allows authenticated users to elevate their
privileges and indirectly execute arbitrary commands (CVE-2009-0759).

For the old stable distribution (etch), this problem has been fixed in
version 0.045-3+etch2.

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

For the unstable distribution (sid), this problem has been fixed in
version 0.066-1.

We recommend that you upgrade your znc 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 4.0 alias etch
- -------------------------------

Source archives:

 http://security.debian.org/pool/updates/main/z/znc/znc_0.045.orig.tar.gz
   Size/MD5 checksum:   204863 9a514b125b7514811fd03befa73cce77
 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2.dsc
   Size/MD5 checksum:      962 1962af4c56b4c4c169832249d6b99f30
 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2.diff.gz
   Size/MD5 checksum:    12817 c254e989604122fb7267a0fafeddfd95

alpha architecture (DEC Alpha)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2_alpha.deb
   Size/MD5 checksum:   859792 f154f471d3b0d42d7b7cfe8eebaf3134

amd64 architecture (AMD x86_64 (AMD64))

 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2_amd64.deb
   Size/MD5 checksum:   793694 80c9126c518abe062265cee5d94ca6f1

hppa architecture (HP PA RISC)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2_hppa.deb
   Size/MD5 checksum:   857356 04a64d64b5a4582fcd7db3bef32822ec

i386 architecture (Intel ia32)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2_i386.deb
   Size/MD5 checksum:   806592 99b63e880bbba2841f30ed006fbe2364

ia64 architecture (Intel ia64)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2_ia64.deb
   Size/MD5 checksum:   957620 061cfe882476dc4ad55caf16ec8c7af8

mips architecture (MIPS (Big Endian))

 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2_mips.deb
   Size/MD5 checksum:   713450 625f8ed77be76269bd78f4414ed55a61

mipsel architecture (MIPS (Little Endian))

 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2_mipsel.deb
   Size/MD5 checksum:   710332 5b07981be622bf78839d2376af142e3d

powerpc architecture (PowerPC)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2_powerpc.deb
   Size/MD5 checksum:   789838 5c75fc8a345a20c6b6e39e2eb97cd004

s390 architecture (IBM S/390)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2_s390.deb
   Size/MD5 checksum:   730066 514965b8fa4913d2e1ff13630bd5957a

sparc architecture (Sun SPARC/UltraSPARC)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.045-3+etch2_sparc.deb
   Size/MD5 checksum:   747502 6b72758d93bb4ddc392ef6cfa119a5c2


Debian GNU/Linux 4.0 alias lenny
- -------------------------------

Source archives:

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1.dsc
   Size/MD5 checksum:     1332 c657b80b61750fc072ce257c1d682b21
 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1.diff.gz
   Size/MD5 checksum:     8253 04053487dbf0b49da04ded749d1c384e
 http://security.debian.org/pool/updates/main/z/znc/znc_0.058.orig.tar.gz
   Size/MD5 checksum:   340741 c02fd740c55d5b3a7912f7584344103e

alpha architecture (DEC Alpha)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1_alpha.deb
   Size/MD5 checksum:  1096362 92f9a65cd06d7da250f79a3d11e0a124

amd64 architecture (AMD x86_64 (AMD64))

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1_amd64.deb
   Size/MD5 checksum:  1028438 f2058b3d07a9233cef8f9ca0dfec6673

arm architecture (ARM)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1_arm.deb
   Size/MD5 checksum:  1149682 3ed9f92e4ca7ee29ff3c60897cc71c21

hppa architecture (HP PA RISC)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1_hppa.deb
   Size/MD5 checksum:  1163022 359b9459a44f3653e2571cda2fb51085

i386 architecture (Intel ia32)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1_i386.deb
   Size/MD5 checksum:  1013106 15b468bd87a584a0415584452d26ab38

ia64 architecture (Intel ia64)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1_ia64.deb
   Size/MD5 checksum:  1181082 f86b365aa064e782ea72a82d216edd62

mips architecture (MIPS (Big Endian))

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1_mips.deb
   Size/MD5 checksum:   916040 f6c21df1590da49c335bc76860e5af8d

mipsel architecture (MIPS (Little Endian))

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1_mipsel.deb
   Size/MD5 checksum:   906310 d156e11c8c0bedb5dd56fcfcf40730e9

powerpc architecture (PowerPC)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1_powerpc.deb
   Size/MD5 checksum:  1034324 29a41349db3b895e1a6bdf0bdf249ff8

s390 architecture (IBM S/390)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1_s390.deb
   Size/MD5 checksum:   970792 b0f4f9f9b0e38309fca19dabe60beef4

sparc architecture (Sun SPARC/UltraSPARC)

 http://security.debian.org/pool/updates/main/z/znc/znc_0.058-2+lenny1_sparc.deb
   Size/MD5 checksum:  1000006 ea9cd30f00b2f9466dfeb84e96198099


 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)

iQEcBAEBAgAGBQJJtsx5AAoJEL97/wQC1SS+q8UH/1er3nhvWfhDamiBuVL0Z0Fk
n/Q5RjGvgFewUI9/uvVmrklaV+EkKjbD79w0ksHGxXilkuGNXsH1oQZgEvbWumgN
Cyuz2s167wkjsqDDm9kAp0ijbyBXQ3ogffN+42sKtKn3+1QRMB+0kdHBjdmSAyrx
j8Y/CqzVWgQXR0QbE37kgK/hd+0oKKwoTGQeSa2eB0r6xgJmFsJnZADjh+LVFYd2
f3whQ3N68oZTIPjDwKt5/UUyXIA6tZLt7SYd4R+VjqlSglLjrICpVjysNtVWkVm6
bdwDjn4fbYjfpJhCKg3CdKcVzG/lvo2zES5+d6sREFEH3qxyMKXqEdnJ3rLq9xQ=
=ubas
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Ctalk

A language that adds classes, methods, and other object oriented features to C.

Screenshot

Project Spotlight

Firejail

A Linux namespaces sandbox program.