Bug 827020 (CVE-2013-2214) - VUL-0: CVE-2013-2214: nagios: unauthorized host/service views displayed in servicegroup view
Summary: VUL-0: CVE-2013-2214: nagios: unauthorized host/service views displayed in se...
Status: RESOLVED WONTFIX
Alias: CVE-2013-2214
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Deadline: 2013-07-12
Assignee: Security Team bot
QA Contact: Security Team bot
URL:
Whiteboard: CVSSv2:RedHat:CVE-2013-2214:4.0:(AV:N...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-27 02:58 UTC by Alexander Bergmann
Modified: 2018-04-27 22:42 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2013-06-27 02:58:05 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
Comment 1 Swamp Workflow Management 2013-06-27 16:00:09 UTC
bugbot adjusting priority
Comment 3 Lars Vogdt 2013-06-28 08:58:26 UTC
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.
Comment 5 Bernhard Wiedemann 2013-06-28 09:00:25 UTC
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 /
Comment 7 Swamp Workflow Management 2013-06-28 09:05:39 UTC
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.
Comment 8 Bernhard Wiedemann 2013-07-01 08:00:43 UTC
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
Comment 9 Swamp Workflow Management 2013-07-08 08:04:56 UTC
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
Comment 10 Swamp Workflow Management 2013-07-08 09:06:34 UTC
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
Comment 11 Bernhard Wiedemann 2013-07-11 06:00:56 UTC
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
Comment 24 Marcus Meissner 2013-08-13 11:40:50 UTC
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
Comment 30 Marcus Meissner 2013-11-28 15:58:18 UTC
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>
Comment 31 Marcus Meissner 2013-11-28 16:27:44 UTC
As we have Nagios 3.0, I would now stop this update and revert the cvhange.
Comment 34 Sebastian Krahmer 2014-01-07 12:30:28 UTC
seems so