Debian DLA-751-1 : nagios3 security update

critical Nessus Plugin ID 96012

Synopsis

The remote Debian host is missing a security update.

Description

Nagios was found to be vulnerable to two security issues that, when combined, lead to a remote root code execution vulnerability.
Fortunately, the hardened permissions of the Debian package limit the effect of those to information disclosure, but privilege escalation to root is still possible locally.

CVE-2016-9565

Improper sanitization of RSS feed input enables unauthenticated remote read and write of arbitrary files which may lead to remote code execution if the web root is writable.

CVE-2016-9566

Unsafe logfile handling allows unprivileged users to escalate their privileges to root. In wheezy, this is possible only through the debug logfile which is disabled by default.

For Debian 7 'Wheezy', these problems have been fixed in version 3.4.1-3+deb7u3.

We recommend that you upgrade your nagios3 packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2016/12/msg00026.html

https://packages.debian.org/source/wheezy/nagios3

Plugin Details

Severity: Critical

ID: 96012

File Name: debian_DLA-751.nasl

Version: 3.6

Type: local

Agent: unix

Published: 12/20/2016

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:nagios3, p-cpe:/a:debian:debian_linux:nagios3-dbg, cpe:/o:debian:debian_linux:7.0, p-cpe:/a:debian:debian_linux:nagios3-doc, p-cpe:/a:debian:debian_linux:nagios3-cgi, p-cpe:/a:debian:debian_linux:nagios3-core, p-cpe:/a:debian:debian_linux:nagios3-common

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: 12/16/2016

Reference Information

CVE: CVE-2016-9565, CVE-2016-9566