DSA-1863-1 zope2.10/zope2.9 -- several vulnerabilities

Related Vulnerabilities: 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: CVE-2009-0668 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. 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.

Debian Security Advisory

DSA-1863-1 zope2.10/zope2.9 -- several vulnerabilities

Date Reported:
15 Aug 2009
Affected Packages:
zope2.10/zope2.9
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2009-0668, CVE-2009-0669.
More information:

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:

  • CVE-2009-0668

    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.

  • 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-4etch4 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.

Fixed in:

Debian GNU/Linux 4.0 (etch)

Source:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4.diff.gz
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4.dsc
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6.orig.tar.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9-sandbox_2.9.6-4etch4_all.deb
Alpha:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4_alpha.deb
AMD64:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4_amd64.deb
ARM:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4_arm.deb
HP Precision:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4_hppa.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4_ia64.deb
Big-endian MIPS:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4_mips.deb
Little-endian MIPS:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/z/zope2.9/zope2.9_2.9.6-4etch4_sparc.deb

Debian GNU/Linux 5.0 (lenny)

Source:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6.orig.tar.gz
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1.dsc
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1.diff.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10-sandbox_2.10.6-1+lenny1_all.deb
Alpha:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_alpha.deb
AMD64:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_amd64.deb
ARM:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_arm.deb
ARM EABI:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_armel.deb
HP Precision:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_hppa.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_ia64.deb
Little-endian MIPS:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/z/zope2.10/zope2.10_2.10.6-1+lenny1_sparc.deb

MD5 checksums of the listed files are available in the original advisory.