Debian DSA-3942-1 : supervisor - security update

high Nessus Plugin ID 102449

Synopsis

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

Description

Calum Hutton reported that the XML-RPC server in supervisor, a system for controlling process state, does not perform validation on requested XML-RPC methods, allowing an authenticated client to send a malicious XML-RPC request to supervisord that will run arbitrary shell commands on the server as the same user as supervisord.

The vulnerability has been fixed by disabling nested namespace lookup entirely. supervisord will now only call methods on the object registered to handle XML-RPC requests and not any child objects it may contain, possibly breaking existing setups. No publicly available plugins are currently known that use nested namespaces. Plugins that use a single namespace will continue to work as before. Details can be found on the upstream issue at https://github.com/Supervisor/supervisor/issues/964 .

Solution

Upgrade the supervisor packages.

For the oldstable distribution (jessie), this problem has been fixed in version 3.0r1-1+deb8u1.

For the stable distribution (stretch), this problem has been fixed in version 3.3.1-1+deb9u1.

See Also

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

https://github.com/Supervisor/supervisor/issues/964

https://packages.debian.org/source/jessie/supervisor

https://packages.debian.org/source/stretch/supervisor

https://www.debian.org/security/2017/dsa-3942

Plugin Details

Severity: High

ID: 102449

File Name: debian_DSA-3942.nasl

Version: 3.7

Type: local

Agent: unix

Published: 8/14/2017

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:9.0, cpe:/o:debian:debian_linux:8.0, p-cpe:/a:debian:debian_linux:supervisor

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/13/2017

Exploitable With

Metasploit (Supervisor XML-RPC Authenticated Remote Code Execution)

Reference Information

CVE: CVE-2017-11610

DSA: 3942