GLSA-200502-09 : Python: Arbitrary code execution through SimpleXMLRPCServer

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200502-09
(Python: Arbitrary code execution through SimpleXMLRPCServer)

Graham Dumpleton discovered that XML-RPC servers making use of the
SimpleXMLRPCServer library that use the register_instance() method to
register an object without a _dispatch() method are vulnerable to a
flaw allowing to read or modify globals of the associated module.

Impact :

A remote attacker may be able to exploit the flaw in such XML-RPC
servers to execute arbitrary code on the server host with the rights of
the XML-RPC server.

Workaround :

Python users that don't make use of any SimpleXMLRPCServer-based
XML-RPC servers, or making use of servers using only the
register_function() method are not affected.

See also :

http://www.python.org/security/PSF-2005-001/
http://www.gentoo.org/security/en/glsa/glsa-200502-09.xml

Solution :

All Python users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose dev-lang/python

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 16446 (gentoo_GLSA-200502-09.nasl)

Bugtraq ID:

CVE ID: CVE-2005-0089