Lucene search
K

Nagios XI < 2009R1.3B Multiple Unspecified XSS

🗓️ 06 Oct 2010 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 10 Views

Nagios XI < 2009R1.3B Multiple Unspecified XSS. Remote attacker could exploit by tricking user into making a malicious request resulting in the execution of arbitrary script code

Refs
Code
SourceLink
nessuswww.nessus.org/u
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#


include('deprecated_nasl_level.inc');
include('compat.inc');


if (description)
{
  script_id(49775);
  script_version("1.8");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");

  script_bugtraq_id(43058);
  script_xref(name:"Secunia", value:"41121");

  script_name(english:"Nagios XI < 2009R1.3B Multiple Unspecified XSS");
  script_summary(english:"Version check");

  script_set_attribute(
    attribute:"synopsis",
    value:
"A web application on the remote host has multiple cross-site
scripting vulnerabilities."
  );
  script_set_attribute(
    attribute:"description",
    value:
"According to its self-reported version, the version of Nagios XI
running on the remote host has multiple cross-site scripting
vulnerabilities.  Unspecified input to the status and dashboard pages
are not properly sanitized.

A remote attacker could exploit this by tricking a user into making a
malicious request, resulting in the execution of arbitrary script
code."
  );
  # http://web.archive.org/web/20101124000600/http://assets.nagios.com/downloads/nagiosxi/CHANGES.TXT
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?bf01b1cf");
  script_set_attribute(attribute:"solution", value:"Upgrade to Nagios XI 2009R1.3B or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);

  script_set_attribute(attribute:"vuln_publication_date", value:"2010/09/03");
  script_set_attribute(attribute:"patch_publication_date", value:"2010/09/03");
  script_set_attribute(attribute:"plugin_publication_date", value:"2010/10/06");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses : XSS");

  script_copyright(english:"This script is Copyright (C) 2010-2021 Tenable Network Security, Inc.");

  script_dependencies("nagios_enterprise_detect.nasl");
  script_require_keys("www/nagios_xi");
  script_require_ports("Services/www", 80);

  exit(0);
}


include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("webapp_func.inc");


port = get_http_port(default:80, php:TRUE);
install = get_install_from_kb(appname:'nagios_xi', port:port, exit_on_fail:TRUE);
url = build_url(qs:install['dir'], port:port);

match = eregmatch(string:install['ver'], pattern:'([^ ]*)( build ([0-9]+)|$)');
if (match)
{
  ver = match[1];
  build = int(match[3]);
}
else exit(1, 'Error parsing version of Nagios XI install at '+url);

# Only attempt the regex comparisons if there's no build number to compare.
if (
  (build != 0 && build < 20100903) ||
  (build == 0 && ver =~ '^2009R(C|1$|1\\.[0-2]|1\\.3$)')
)
{
  set_kb_item(name:'www/'+port+'/XSS', value:TRUE);

  if (report_verbosity > 0)
  {
    fixed_ver = '2009R1.3B build 20100903';
    report =
      '\n  URL               : ' + url +
      '\n  Installed version : ' + install['ver'] +
      '\n  Fixed version     : ' + fixed_ver + '\n';
    security_warning(port:port, extra:report);
  }
  else security_warning(port);
}
else exit(0, 'Nagios XI version '+install['ver']+' at '+url+' is not affected.');

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

19 Jan 2021 00:00Current
5.8Medium risk
Vulners AI Score5.8
10