Debian DLA-1615-1 : nagios3 security update

High Nessus Plugin ID 119875

Synopsis

The remote Debian host is missing a security update.

Description

Several issues were corrected in nagios3, a monitoring and management system for hosts, services and networks.

CVE-2018-18245

Maximilian Boehner of usd AG found a cross-site scripting (XSS) vulnerability in Nagios Core. This vulnerability allows attackers to place malicious JavaScript code into the web frontend through manipulation of plugin output. In order to do this the attacker needs to be able to manipulate the output returned by nagios checks, e.g. by replacing a plugin on one of the monitored endpoints. Execution of the payload then requires that an authenticated user creates an alert summary report which contains the corresponding output.

CVE-2016-9566

It was discovered that local users with access to an account in the nagios group are able to gain root privileges via a symlink attack on the debug log file.

CVE-2014-1878

An issue was corrected that allowed remote attackers to cause a stack-based buffer overflow and subsequently a denial of service (segmentation fault) via a long message to cmd.cgi.

CVE-2013-7205 | CVE-2013-7108

A flaw was corrected in Nagios that could be exploited to cause a denial of service. This vulnerability is induced due to an off-by-one error within the process_cgivars() function, which can be exploited to cause an out-of-bounds read by sending a specially crafted key value to the Nagios web UI.

For Debian 8 'Jessie', these problems have been fixed in version 3.5.1.dfsg-2+deb8u1.

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/2018/12/msg00014.html

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

Plugin Details

Severity: High

ID: 119875

File Name: debian_DLA-1615.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2018/12/27

Updated: 2019/02/06

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.2

Temporal Score: 6.3

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

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

CVSS v3.0

Base Score: 7.8

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

Vulnerability Information

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

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: 2018/12/24

Vulnerability Publication Date: 2014/01/15

Reference Information

CVE: CVE-2013-7108, CVE-2013-7205, CVE-2014-1878, CVE-2016-9566, CVE-2018-18245

BID: 64363, 64489, 65605