blob: 445b64ea5fd32992903042f2642466c08a599844 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200502-09">
<title>Python: Arbitrary code execution through SimpleXMLRPCServer</title>
Python-based XML-RPC servers may be vulnerable to remote execution of
arbitrary code.
<product type="ebuild">Python</product>
<announced>February 08, 2005</announced>
<revised>February 08, 2005: 01</revised>
<package name="dev-lang/python" auto="yes" arch="*">
<unaffected range="ge">2.3.4-r1</unaffected>
<unaffected range="rge">2.3.3-r2</unaffected>
<unaffected range="rge">2.2.3-r6</unaffected>
<vulnerable range="le">2.3.4</vulnerable>
Python is an interpreted, interactive, object-oriented,
cross-platform programming language.
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 type="high">
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.
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.
All Python users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose dev-lang/python</code>
<uri link="">CAN-2005-0089</uri>
<uri link="">Python PSF-2005-001</uri>
<metadata tag="requester" timestamp="Fri, 4 Feb 2005 14:45:11 +0000">
<metadata tag="bugReady" timestamp="Mon, 7 Feb 2005 08:31:41 +0000">
<metadata tag="submitter" timestamp="Tue, 8 Feb 2005 19:35:29 +0000">