Bugzilla – Bug 827020
VUL-0: CVE-2013-2214: nagios: unauthorized host/service views displayed in servicegroup view
Last modified: 2018-04-27 22:42:24 UTC
Public via oss-security. Date: Wed, 26 Jun 2013 12:36:21 -0600 From: Vincent Danen Subject: [oss-security] CVE request: unauthorized host/service views displayed in servicegroup view It was reported that Nagios 3.4.4 at least, and possibly earlier versions, would allow users with access to Nagios to obtain full access to the servicegroup overview, even if they are not authorized to view all of the systems (not configured for this ability in the authorized_for_* configuration option). This includes the servicegroup overview, summary, and grid. Provided the user has access to view some services, they will be able to see all services (including those they should not see). Note that the user in question must have access to some services and must have access to Nagios to begin with. This has not yet been corrected upstream. References: http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg39749.html http://tracker.nagios.org/view.php?id=456 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714171 https://bugzilla.redhat.com/show_bug.cgi?id=978531 ---- CVE-2013-2214 was assigned for this issue. ---- It looks like all our Nagios versions are affected. SLE-10-SP4: nagios-2.6 SLE-11-SP2/3: nagios-3.0.6 openSUSE:12.2: nagios-3.5.0 openSUSE:12.3: nagios-3.5.0
bugbot adjusting priority
updates submitted for: SLE-10-SP4: nagios-2.6 SLE-11-SP2/3: nagios-3.0.6 openSUSE:12.2: nagios-3.5.0 openSUSE:12.3: nagios-3.5.0 LTSS distributions: not included. Up to security.
This is an autogenerated message for OBS integration: This bug (827020) was mentioned in https://build.opensuse.org/request/show/181353 Maintenance / https://build.opensuse.org/request/show/181355 Maintenance /
The SWAMPID for this issue is 53347. This issue was rated as moderate. Please submit fixed packages until 2013-07-12. When done, please reassign the bug to security-team@suse.de. Patchinfo will be handled by security team.
This is an autogenerated message for OBS integration: This bug (827020) was mentioned in https://build.opensuse.org/request/show/181563 Evergreen:11.2 / nagios
openSUSE-SU-2013:1158-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 827020 CVE References: CVE-2013-2214 Sources used: openSUSE 12.3 (src): nagios-3.5.0-2.10.1 openSUSE 12.2 (src): nagios-3.5.0-2.19.1
openSUSE-SU-2013:1160-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 827020 CVE References: CVE-2013-2214 Sources used: openSUSE 11.4 (src): nagios-3.2.3-3.26.1
This is an autogenerated message for OBS integration: This bug (827020) was mentioned in https://build.opensuse.org/request/show/182787 Evergreen:11.2 / nagios
The oss-sec folks is not really agreeing on if this is a security issue or not. lasdt statement by reporter From: Jonas Meurer <jonas@freesources.org> As I understand this changelog entry, it means the following: Hostgroups and servicegroups are listed with all the _authorized_ members if the user is authorized to see at least one member. To me it doesn't mean the following (which was the case without my patch): Servicegroups are listed with all members (regardless wether authorized or unauthorized) if the user is authorized to see at least one member. Another argument for my point of view is that the nagios maintainers (silently) accepted my patch (at least if I remember correctly, it has been incorporated into the upstream development repository). Unfortunately there's still not one single statement from upstream about the issue, that I'm aware of. > I suspect this CVE should be rejected as this is done by design. Like explained above, I disagree with this suggestion :) Kind regards, jonas
http://tracker.nagios.org/view.php?id=456 As discussed on the mailing list; This was by design for 3.4, but I've decided to change it for Nagios 4 and take the patch shipped by Jonas Meurer. Since we just cut a Nagios 4.0 beta4, it will be a little while before it's out in a tarball, but one should be able to get the sources from git and compile the fixed version from there for now. The commit in question describes as nagios-4.0.0-beta4-5-g1ffe547, was just now pushed upstream and looks as follows: commit 1ffe547925a8b90b8d35ea96d6ca92b489178982 (HEAD, origin/master, nomad/mast Author: Jonas Meurer <jonas@freesources.org> Date: Wed Jun 26 16:10:28 2013 +0200 Stop cgi-bin/status.c from listing unauthorized hosts and services in servic Several servicegroup views (overview, summary, grid) in cgi-bin/status.c list all hosts and services within a servicegroup. This is a security issue, as hosts and services (at least their names) are leaked to unauthorized users. Instead, the lists of hosts and services must contain only objects that the user is authorized to see. This patch fixes the servicegroup overview, summary and grid views to list only hosts and services that the user is authorized to see. Signed-off-by: Andreas Ericsson <ae@op5.se>
As we have Nagios 3.0, I would now stop this update and revert the cvhange.
seems so