Lucene search

K
nessusThis script is Copyright (C) 2005-2022 Tenable Network Security, Inc.KAYAKO_INDEX_XSS.NASL
HistoryMar 22, 2005 - 12:00 a.m.

Kayako eSupport Troubleshooter Module index.php Multiple Parameter XSS

2005-03-2200:00:00
This script is Copyright (C) 2005-2022 Tenable Network Security, Inc.
www.tenable.com
24

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.002 Low

EPSS

Percentile

57.2%

The version of Kayako eSupport installed on the remote host is subject to multiple cross-site scripting vulnerabilities in the script ‘index.php’ through the parameters ‘_i’ and ‘_c’. These issues may allow an attacker to inject HTML and script code into a user’s browser within the context of the remote site, enabling him to steal authentication cookies, access data recently submitted by the user, and the like.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

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

if (description)
{
  script_id(17598);
  script_version("1.20");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id("CVE-2005-0842");
  script_bugtraq_id(12868);

  script_name(english:"Kayako eSupport Troubleshooter Module index.php Multiple Parameter XSS");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server contains a PHP script that is affected by
several cross-site scripting vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Kayako eSupport installed on the remote host is subject
to multiple cross-site scripting vulnerabilities in the script
'index.php' through the parameters '_i' and '_c'.  These issues may
allow an attacker to inject HTML and script code into a user's browser
within the context of the remote site, enabling him to steal
authentication cookies, access data recently submitted by the user,
and the like.");
  script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/393946");
  # http://web.archive.org/web/20060810122150/http://forums.kayako.com/showthread.php?t=2689
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e8313f62");
  script_set_attribute(attribute:"solution", value:
"Upgrade to eSupport 2.3.1 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");

  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"false");
  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:"2005/03/22");
  script_set_attribute(attribute:"patch_publication_date", value:"2004/12/25");
  script_set_attribute(attribute:"plugin_publication_date", value:"2005/03/22");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:kayako:esupport");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

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

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

  script_dependencies("http_version.nasl", "cross_site_scripting.nasl");
  script_require_keys("www/PHP");
  script_exclude_keys("Settings/disable_cgi_scanning");
  script_require_ports("Services/www", 80);

  exit(0);
}


include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("url_func.inc");


port = get_http_port(default:80, php:TRUE);
if ( get_kb_item("www/" + port + "/generic_xss") )
  exit(1, "The server listening on port "+port+" is affected by a generic cross-site-scripting vulnerability.");

# A simple alert.
xss = "<script>alert('" + SCRIPT_NAME + "');</script>";
exss = urlencode(str:xss);

# Try the exploit.
affected = test_cgi_xss(port: port, cgi: "/index.php", dirs: cgi_dirs(),
 pass_str: xss, 
 qs: strcat("_a=knowledgebase&",
    	    "_j=questiondetails&",
	    "_i=[1]['%3e", exss, "]") );

if (!affected)
  exit(0, "No affected URLs were found on port "+port+".");
VendorProductVersionCPE
kayakoesupportcpe:/a:kayako:esupport

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.002 Low

EPSS

Percentile

57.2%

Related for KAYAKO_INDEX_XSS.NASL