Articles / Debian: New zope2.10/zope2.…

Debian: New zope2.10/zope2.9 packages fix arbitrary code execution

Several remote vulnerabilities have been discovered in the zope, a feature-rich web application server written in python, that could lead to arbitrary code execution in the worst case. Due to a programming error an authorization method in the StorageServer component of ZEO was not used as an internal method. This allows a malicious client to bypass authentication when connecting to a ZEO server by simply calling this authorization method. The ZEO server doesn’t restrict the callables when unpickling data received from a malicious client which can be used by an attacker to execute arbitrary python code on the server by sending certain exception pickles. This also allows an attacker to import any importable module as ZEO is importing the module containing a callable specified in a pickle to test for a certain flag. Updated packages are available from security.debian.org.

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA-1863-1                    security@debian.org
http://www.debian.org/security/                                 Nico Golde
August 15th, 2009                       http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : zope2.10/zope2.9
Vulnerability  : several
Problem type   : remote
Debian-specific: no
CVE IDs        : CVE-2009-0668 CVE-2009-0669

Several remote vulnerabilities have been discovered in the zope,
a feature-rich web application server written in python, that could
lead to arbitrary code execution in the worst case.  The Common
Vulnerabilities and Exposures project identified the following problems:

Due to a programming error an authorization method in the StorageServer
component of ZEO was not used as an internal method.  This allows a
malicious client to bypass authentication when connecting to a ZEO server
by simply calling this authorization method (CVE-2009-0668).

The ZEO server doesn't restrict the callables when unpickling data received
from a malicious client which can be used by an attacker to execute
arbitrary python code on the server by sending certain exception pickles.
This also allows an attacker to import any importable module as ZEO is
importing the module containing a callable specified in a pickle to test
for a certain flag (CVE-2009-0668).

The update also limits the number of new object ids a client can request
to 100 as it would be possible to consume huge amounts of resources by
requesting a big batch of new object ids. No CVE id has been assigned to
this.


The oldstable distribution (etch), this problem has been fixed in
version 2.9.6-4etch2 of zope2.9.

For the stable distribution (lenny), this problem has been fixed in
version 2.10.6-1+lenny1 of zope2.10.

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

For the unstable distribution (sid), this problem has been fixed in
version 2.10.9-1 of zope2.10.


We recommend that you upgrade your zope2.10/zope2.9 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
- -------------------------------

Debian (oldstable)
- ------------------

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

Source archives:

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2.diff.gz
   Size/MD5 checksum:    17874 3702a3e4a4519b57a12c7cccc164cf47
 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2.dsc
   Size/MD5 checksum:      878 d9acba8fb8981d626357ef9d22dc19e5
 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6.orig.tar.gz
   Size/MD5 checksum:  6977379 e26b1a97ba98194cb6624085aff6abd0

Architecture independent packages:

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9-sandbox_2.9.6-4etch2_all.deb
   Size/MD5 checksum:    11916 48f2c56b9372820369fa91bef4f5559a

alpha architecture (DEC Alpha)

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2_alpha.deb
   Size/MD5 checksum:  7027386 3d2cab8478b4eb10beaddcc3362c08fb

amd64 architecture (AMD x86_64 (AMD64))

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2_amd64.deb
   Size/MD5 checksum:  6992354 cc82b279f1ad82a1d076a6fa3c780d2e

arm architecture (ARM)

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2_arm.deb
   Size/MD5 checksum:  6960068 83358a26ad9ae79722835d0ec951d4ac

hppa architecture (HP PA RISC)

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2_hppa.deb
   Size/MD5 checksum:  7041070 d756089b92f0a69f8b1eaff2491fb95c

i386 architecture (Intel ia32)

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2_i386.deb
   Size/MD5 checksum:  6956416 4e5fe78df1d7af6369ff82d1e7dec1db

ia64 architecture (Intel ia64)

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2_ia64.deb
   Size/MD5 checksum:  7112962 b6ff6326566e61bea15d0a5bd678dfb2

mips architecture (MIPS (Big Endian))

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2_mips.deb
   Size/MD5 checksum:  6991206 241e11931a821606564ebb76c7b0e8b6

mipsel architecture (MIPS (Little Endian))

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2_mipsel.deb
   Size/MD5 checksum:  6932122 df0e0efcd5ae42b0a80761e6ec74c228

powerpc architecture (PowerPC)

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2_powerpc.deb
   Size/MD5 checksum:  7049416 5361f987828c2080acd197d7967c7748

s390 architecture (IBM S/390)

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2_s390.deb
   Size/MD5 checksum:  6959454 0e5f8141533ae484631045be58a40731

sparc architecture (Sun SPARC/UltraSPARC)

 http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch2_sparc.deb
   Size/MD5 checksum:  6965468 54d47f6b31654b925bbbc63adc6d04f2


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/z/zope2.10/zope2.10_2.10.6.orig.tar.gz
   Size/MD5 checksum:  7263938 6e983f0e5a0f6f1eedf347038e09b571
 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1.dsc
   Size/MD5 checksum:     1356 79b85989ea078482571388ac9847f0dd
 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1.diff.gz
   Size/MD5 checksum:    14698 ad40802de32fbe651eb5a0efac571cd5

Architecture independent packages:

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10-sandbox_2.10.6-1+lenny1_all.deb
   Size/MD5 checksum:   179592 5011d75ba94a95bbc9162fe7489f032c

alpha architecture (DEC Alpha)

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_alpha.deb
   Size/MD5 checksum:  7096336 12b145509ac83da642f1bc5d6776c9e7

amd64 architecture (AMD x86_64 (AMD64))

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_amd64.deb
   Size/MD5 checksum:  7060682 d4244d62ff01cbc4c4f74e97bc5cff06

arm architecture (ARM)

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_arm.deb
   Size/MD5 checksum:  7036812 2d675eeac62d10a125b5a452446ed418

armel architecture (ARM EABI)

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_armel.deb
   Size/MD5 checksum:  7030436 acc8ea9724b4a4ef5ffefca0b27a70e4

hppa architecture (HP PA RISC)

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_hppa.deb
   Size/MD5 checksum:  7115728 2747a7f8e0272049db49019dd1aff96a

i386 architecture (Intel ia32)

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_i386.deb
   Size/MD5 checksum:  7039162 e213bd938294ac334027c208f1517560

ia64 architecture (Intel ia64)

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_ia64.deb
   Size/MD5 checksum:  7191926 4a2f5fcf4e45214835ac7193ee797052

mipsel architecture (MIPS (Little Endian))

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_mipsel.deb
   Size/MD5 checksum:  7004356 cea17ee62248140b5b913d2f882d6b2d

powerpc architecture (PowerPC)

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_powerpc.deb
   Size/MD5 checksum:  7091444 a58d2370ecf2f87308c038d1ccea6908

s390 architecture (IBM S/390)

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_s390.deb
   Size/MD5 checksum:  7039020 94363ee0521c6e388cdb2d40ddc80f34

sparc architecture (Sun SPARC/UltraSPARC)

 http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_sparc.deb
   Size/MD5 checksum:  7026956 c4716557a89f405d5fd2424ae42095b0


 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)

iEYEARECAAYFAkqG2pAACgkQHYflSXNkfP+EWwCeNApiKX0ynYQYE7M8VkPEXAa8
7e8AnjWfjhjCMd2A2a6swF1BMGsGAXd4
=eItf
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Kigo Video Converter Ultimate for Mac

A tool for converting and editing videos.

Screenshot

Project Spotlight

Kid3

An efficient tagger for MP3, Ogg/Vorbis, and FLAC files.