[LWN Logo]
[Timeline]
Subject: [RHSA-2000:052-04] Zope update
To: redhat-watch-list@redhat.com
From: bugzilla@redhat.com
Date: Fri, 18 Aug 2000 16:07 -0400

---------------------------------------------------------------------
                   Red Hat, Inc. Security Advisory

Synopsis:          Zope update
Advisory ID:       RHSA-2000:052-04
Issue date:        2000-08-11
Updated on:        2000-08-18
Product:           Red Hat Powertools
Keywords:          Zope
Cross references:  N/A
---------------------------------------------------------------------

1. Topic:

Vulnerabilities exist with all Zope-2.0 releases. This advisory supercedes
the advisory issued on 2000-08-11. Please use the packages listed in this
advisory instead of the packages refered to previously.

2. Relevant releases/architectures:

Red Hat Powertools 6.1 - noarch
Red Hat Powertools 6.2 - noarch

3. Problem description:

The issue involves the fact that the getRoles method of user objects
contained in the default UserFolder implementation returns a mutable Python
type. Because the mutable object is still associated with the persistent
User object, users with the ability to edit DTML could arrange to give
themselves extra roles for the duration of a single request by mutating the
roles list as a part of the request processing.

Further investigation revealed that it was possible to access the mutable
attribute directly to perform the same exploit.

4. Solution:

Users of Red Hat Powertools 6.1 who have not upgraded Zope to the version
of Zope released in Red Hat Powertools 6.2 (2.1.2-5) need to do so prior to
installing this Zope update. The Zope packages from 6.2 are located at: 

ftp://ftp.redhat.com/pub/redhat/powertools/6.2/

After you have upgraded to Zope-2.1.2-5 install the Zope-Hotfix package. To
install the update, use this command:

rpm -Uvh Zope-Hotfix-DTML-08_17_2000-1.noarch.rpm

Once the Zope-Hotfix package is installed, restart Zope.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

N/A

6. RPMs required:

Red Hat Powertools 6.2:

noarch:
ftp://updates.redhat.com/powertools/6.2/noarch/Zope-Hotfix-DTML-08_17_2000-1.noarch.rpm

sources:
ftp://updates.redhat.com/powertools/6.2/SRPMS/Zope-Hotfix-DTML-08_17_2000-1.src.rpm

7. Verification:

MD5 sum                           Package Name
--------------------------------------------------------------------------
89f08b0f1e53da3c1945132ce1736516  6.2/SRPMS/Zope-Hotfix-DTML-08_17_2000-1.src.rpm
0e6d83f627f9daee652001f07fd4d668  6.2/noarch/Zope-Hotfix-DTML-08_17_2000-1.noarch.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
    http://www.redhat.com/corp/contact.html

You can verify each package with the following command:
    rpm --checksig  <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg <filename>

8. References:

http://www.zope.org/Products/Zope/Hotfix_2000-08-17/security_alert
http://www.zope.org/Products/Zope/Hotfix_08_09_2000/security_alert


Copyright(c) 2000 Red Hat, Inc.