Lucene search
+L

Nagios Cross-site Request Forgery (CSRF) and Authentication Bypass Vulnerability

🗓️ 27 Nov 2008 00:00:00Reported by Copyright (C) 2008 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 29 Views

Nagios Cross-site Request Forgery and Authentication Bypass Vulnerability in version 3.0.5 and prio

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2008-5027
10 Nov 200815:00
cve
cve
CVE
CVE-2008-5028
10 Nov 200815:00
cve
cvelist
Cvelist
CVE-2008-5027
10 Nov 200815:00
cvelist
cvelist
Cvelist
CVE-2008-5028
10 Nov 200815:00
cvelist
freebsd
FreeBSD
nagios -- web interface privilege escalation vulnerability
6 Nov 200800:00
freebsd
debian
Debian
[Backports-security-announce] Security Update for nagios3
8 Dec 200817:54
debian
debian
Debian
[Backports-security-announce] Security Update for nagios3
8 Dec 200811:47
debian
euvd
EUVD
EUVD-2008-5006
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2008-5007
7 Oct 202500:30
euvd
fedora
Fedora
[SECURITY] Fedora 10 Update: nagios-3.0.5-1.fc10
26 Nov 200806:19
fedora
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_nagios_csrf_n_auth_bypass_vuln.nasl 4227 2016-10-07 05:45:35Z teissa $
#
# Nagios Cross-site Request Forgery (CSRF) and Authentication Bypass Vulnerability
#
# Authors:
# Chandan S <[email protected]>
#
# Copyright:
# Copyright (c) 2008 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_solution = "Upgrade to Nagios version 3.2.1 or later.
  For updates refer to http://www.nagios.org/

  *****
  NOTE : Nagios 3.0.5 is prone only to CSRF and not authentication bypass.
  *****";

tag_impact = "Successful exploitation will allow attackers to execute certain commands
  with disable notification actions when a logged-in user visits a malicious
  web site.
  Impact Level: Application";
tag_affected = "Nagios 3.0.5 and prior on Linux.";
tag_insight = "The flaw exists due to improper validation of user supplied inputs passed
  to custom form, browser addon and cmd.cgi script.";
tag_summary = "This host has Nagios installed and is prone to CSRF (Cross Site
  Request Forgery) and Authentication Bypass vulnerability.";

if(description)
{
  script_id(800068);
  script_version("$Revision: 4227 $");
  script_tag(name:"last_modification", value:"$Date: 2016-10-07 07:45:35 +0200 (Fri, 07 Oct 2016) $");
  script_tag(name:"creation_date", value:"2008-11-27 14:04:10 +0100 (Thu, 27 Nov 2008)");
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_cve_id("CVE-2008-5027", "CVE-2008-5028");
  script_bugtraq_id(32156);
  script_name("Nagios Cross-site Request Forgery (CSRF) and Authentication Bypass Vulnerability");

  script_xref(name : "URL" , value : "http://secunia.com/advisories/32543");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/32610");

  script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"executable_version");
  script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_mandatory_keys("login/SSH/success");
  script_dependencies("gather-package-list.nasl");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "solution" , value : tag_solution);
  exit(0);
}


include("ssh_func.inc");
include("version_func.inc");

sock = ssh_login_or_reuse_connection();
if(!sock){
  exit(0);
}

getPath = find_file(file_name:"nagios", file_path:"/", useregex:TRUE,
                    regexpar:"$", sock:sock);
foreach binaryFile (getPath)
{
  nsVer = get_bin_version(full_prog_name:chomp(binaryFile), version_argv:"-V",
                          ver_pattern:"Nagios ([0-9.]+)", sock:sock);
  if(nsVer[1] != NULL)
  {
    if(version_is_less_equal(version:nsVer[1], test_version:"3.0.5")){
      security_message(0);
    }
    ssh_close_connection();
    exit(0);
  }
}
ssh_close_connection();

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

07 Oct 2016 00:00Current
0.5Low risk
Vulners AI Score0.5
EPSS0.06738
29