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

high Nessus Plugin ID 16446

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.

Solution

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

See Also

https://www.python.org/news/security/

https://security.gentoo.org/glsa/200502-09

Plugin Details

Severity: High

ID: 16446

File Name: gentoo_GLSA-200502-09.nasl

Version: 1.17

Type: local

Published: 2/14/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:python

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2/8/2005

Reference Information

CVE: CVE-2005-0089

GLSA: 200502-09