ID KAYAKO_XSS.NASL Type nessus Reporter This script is Copyright (C) 2005-2021 Tenable Network Security, Inc. Modified 2005-02-16T00:00:00
Description
The remote host is running Kayako eSupport, a web-based support and
help desk application.
This version of eSupport is vulnerable to a cross-site scripting flaw
involving the 'nav' parameter of the 'index.php' script. An attacker,
exploiting this flaw, would need to be able to coerce an unsuspecting
user into visiting a malicious website. Upon successful exploitation,
the attacker would be able to steal credentials or execute browser-
side code.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(16474);
script_version("1.23");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_cve_id("CVE-2005-0487");
script_bugtraq_id(12563);
script_name(english:"Kayako eSupport index.php nav Parameter XSS");
script_summary(english:"Determines the presence of Kayako eSupport");
script_set_attribute(attribute:"synopsis", value:
"The remote web server contains a PHP script that suffers from a cross-
site scripting flaw.");
script_set_attribute(attribute:"description", value:
"The remote host is running Kayako eSupport, a web-based support and
help desk application.
This version of eSupport is vulnerable to a cross-site scripting flaw
involving the 'nav' parameter of the 'index.php' script. An attacker,
exploiting this flaw, would need to be able to coerce an unsuspecting
user into visiting a malicious website. Upon successful exploitation,
the attacker would be able to steal credentials or execute browser-
side code.");
script_set_attribute(attribute:"see_also", value:"http://forums.kayako.com/threads/esupport-security-vulnerabilities.2765/");
script_set_attribute(attribute:"see_also", value:"https://marc.info/?l=full-disclosure&m=110845724029888&w=2");
script_set_attribute(attribute:"solution", value:"Upgrade to Kayako eSupport version 2.3.5 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/02/16");
script_set_attribute(attribute:"plugin_publication_date", value:"2005/02/16");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe",value:"cpe:/a:kayako:esupport");
script_end_attributes();
script_copyright(english:"This script is Copyright (C) 2005-2021 Tenable Network Security, Inc.");
script_category(ACT_ATTACK);
script_family(english:"CGI abuses : XSS");
script_dependencies("http_version.nasl", "cross_site_scripting.nasl");
script_exclude_keys("Settings/disable_cgi_scanning");
script_require_ports("Services/www", 80);
script_require_keys("www/PHP");
exit(0);
}
include("global_settings.inc");
include("audit.inc");
include("misc_func.inc");
include("http.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.");
affected = test_cgi_xss(
port: port,
cgi: "/index.php",
qs: "_a=knowledgebase&_j=questiondetails&_i=2&nav=<script>alert(document.cookie)</script>",
pass_str: "<script>alert(document.cookie)</script>"
);
if (!affected)
audit(AUDIT_WEB_APP_NOT_AFFECTED, "Kayako eSupport", build_url(port:port, qs:'/index.php'));
{"id": "KAYAKO_XSS.NASL", "bulletinFamily": "scanner", "title": "Kayako eSupport index.php nav Parameter XSS", "description": "The remote host is running Kayako eSupport, a web-based support and\nhelp desk application. \n\nThis version of eSupport is vulnerable to a cross-site scripting flaw\ninvolving the 'nav' parameter of the 'index.php' script. An attacker,\nexploiting this flaw, would need to be able to coerce an unsuspecting\nuser into visiting a malicious website. Upon successful exploitation,\nthe attacker would be able to steal credentials or execute browser-\nside code.", "published": "2005-02-16T00:00:00", "modified": "2005-02-16T00:00:00", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "href": "https://www.tenable.com/plugins/nessus/16474", "reporter": "This script is Copyright (C) 2005-2021 Tenable Network Security, Inc.", "references": ["http://forums.kayako.com/threads/esupport-security-vulnerabilities.2765/", "https://marc.info/?l=full-disclosure&m=110845724029888&w=2"], "cvelist": ["CVE-2005-0487"], "type": "nessus", "lastseen": "2021-01-20T11:36:50", "edition": 26, "viewCount": 10, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2005-0487"]}, {"type": "osvdb", "idList": ["OSVDB:12514", "OSVDB:13921"]}], "modified": "2021-01-20T11:36:50", "rev": 2}, "score": {"value": 5.2, "vector": "NONE", "modified": "2021-01-20T11:36:50", "rev": 2}, "vulnersScore": 5.2}, "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(16474);\n script_version(\"1.23\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/19\");\n\n script_cve_id(\"CVE-2005-0487\");\n script_bugtraq_id(12563);\n\n script_name(english:\"Kayako eSupport index.php nav Parameter XSS\");\n script_summary(english:\"Determines the presence of Kayako eSupport\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote web server contains a PHP script that suffers from a cross-\nsite scripting flaw.\");\n script_set_attribute(attribute:\"description\", value:\n\"The remote host is running Kayako eSupport, a web-based support and\nhelp desk application. \n\nThis version of eSupport is vulnerable to a cross-site scripting flaw\ninvolving the 'nav' parameter of the 'index.php' script. An attacker,\nexploiting this flaw, would need to be able to coerce an unsuspecting\nuser into visiting a malicious website. Upon successful exploitation,\nthe attacker would be able to steal credentials or execute browser-\nside code.\");\n script_set_attribute(attribute:\"see_also\", value:\"http://forums.kayako.com/threads/esupport-security-vulnerabilities.2765/\");\n script_set_attribute(attribute:\"see_also\", value:\"https://marc.info/?l=full-disclosure&m=110845724029888&w=2\");\n script_set_attribute(attribute:\"solution\", value:\"Upgrade to Kayako eSupport version 2.3.5 or later.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_set_cvss_temporal_vector(\"CVSS2#E:H/RL:OF/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No exploit is required\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);\n \n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2005/02/16\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2005/02/16\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"remote\");\n script_set_attribute(attribute:\"cpe\",value:\"cpe:/a:kayako:esupport\");\n script_end_attributes();\n \n script_copyright(english:\"This script is Copyright (C) 2005-2021 Tenable Network Security, Inc.\");\n \n script_category(ACT_ATTACK);\n script_family(english:\"CGI abuses : XSS\");\n\n script_dependencies(\"http_version.nasl\", \"cross_site_scripting.nasl\");\n script_exclude_keys(\"Settings/disable_cgi_scanning\");\n script_require_ports(\"Services/www\", 80);\n script_require_keys(\"www/PHP\");\n exit(0);\n}\n\ninclude(\"global_settings.inc\");\ninclude(\"audit.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"http.inc\");\n\nport = get_http_port(default:80, php:TRUE);\nif ( get_kb_item(\"www/\" + port + \"/generic_xss\") )\n exit(1, \"The server listening on port \"+port+\" is affected by a generic cross-site-scripting vulnerability.\");\n\naffected = test_cgi_xss(\n port: port, \n cgi: \"/index.php\", \n qs: \"_a=knowledgebase&_j=questiondetails&_i=2&nav=<script>alert(document.cookie)</script>\",\n pass_str: \"<script>alert(document.cookie)</script>\"\n);\n\nif (!affected)\n audit(AUDIT_WEB_APP_NOT_AFFECTED, \"Kayako eSupport\", build_url(port:port, qs:'/index.php'));\n", "naslFamily": "CGI abuses : XSS", "pluginID": "16474", "cpe": ["cpe:/a:kayako:esupport"], "scheme": null}