Debian DSA-2234-1 : zodb - several vulnerabilities

high Nessus Plugin ID 53861

Synopsis

The remote Debian host is missing a security-related update.

Description

Several remote vulnerabilities have been discovered in python-zodb, a set of tools for using ZODB, that could lead to arbitrary code execution in the worst case. The Common Vulnerabilities and Exposures project identifies the following problems :

- 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-0669 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 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.

Solution

Upgrade the zodb packages.

For the oldstable distribution (lenny), this problem has been fixed in version 1:3.6.0-2+lenny3.

The stable distribution (squeeze) is not affected, it was fixed before the initial release.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540465

https://security-tracker.debian.org/tracker/CVE-2009-0668

https://security-tracker.debian.org/tracker/CVE-2009-0669

https://www.debian.org/security/2011/dsa-2234

Plugin Details

Severity: High

ID: 53861

File Name: debian_DSA-2234.nasl

Version: 1.10

Type: local

Agent: unix

Published: 5/11/2011

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:zodb, cpe:/o:debian:debian_linux:5.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 5/10/2011

Reference Information

CVE: CVE-2009-0668, CVE-2009-0669

BID: 35987

CWE: 287, 94

DSA: 2234