Vulnerabilities > CVE-2002-0504 - Cross-Site Scripting vulnerability in Citrix Nfuse 1.5/1.51/1.6

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
citrix
nessus
exploit available

Summary

Cross-site scripting vulnerability in Citrix NFuse 1.6 and earlier does not quote results from the getLastError method, which allows remote attackers to execute script in other clients via the NFuse_Application parameter to (1) launch.jsp or (2) launch.asp.

Vulnerable Configurations

Part Description Count
Application
Citrix
4

Exploit-Db

descriptionCitrix NFuse 1.51/1.6 Cross-Site Scripting Vulnerability. CVE-2002-0504 . Remote exploit for jsp platform
idEDB-ID:21355
last seen2016-02-02
modified2002-03-27
published2002-03-27
reporterEric Detoisien
sourcehttps://www.exploit-db.com/download/21355/
titleCitrix NFuse 1.51/1.6 - Cross-Site Scripting Vulnerability

Nessus

NASL familyCGI abuses : XSS
NASL idCITRIX_XSS.NASL
descriptionThe remote version of Citrix NFuse contains a flaw that allows a remote cross-site scripting attack. An attacker can exploit this issue to execute arbitrary HTML or script code in a user
last seen2020-06-01
modified2020-06-02
plugin id14626
published2004-09-02
reporterThis script is Copyright (C) 2004-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/14626
titleCitrix NFuse Launch Scripts 'NFuse_Application' Parameter XSS
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(14626);
  script_version("1.27");
  script_cvs_date("Date: 2018/11/15 20:50:19");

  script_cve_id("CVE-2002-0504");
  script_bugtraq_id(4372);
  script_xref(name:"EDB-ID", value:"21355");

  script_name(english:"Citrix NFuse Launch Scripts 'NFuse_Application' Parameter XSS");
  script_summary(english:"Test Citrix NFuse_Application parameter XSS.");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server is affected by a cross-site scripting
vulnerability.");
  script_set_attribute(attribute:"description", value:
"The remote version of Citrix NFuse contains a flaw that allows a
remote cross-site scripting attack. An attacker can exploit this issue
to execute arbitrary HTML or script code in a user's browser within
the security context of the affected site.");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2002/Mar/398");
  script_set_attribute(attribute:"solution", value:"Unknown at this time.");
  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:"plugin_publication_date", value:"2004/09/02");
  script_set_attribute(attribute:"vuln_publication_date", value:"2002/03/28");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe",value:"cpe:/a:citrix:nfuse");
  script_set_attribute(attribute:"exploited_by_nessus", value:"true");
  script_end_attributes();

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

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

  script_dependencies("http_version.nasl", "cross_site_scripting.nasl");
  script_require_ports("Services/www", 80);
  script_require_keys("www/ASP");

  exit(0);
}

# start the test

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

port = get_http_port(default:80, asp:TRUE);

if(get_kb_item("www/"+ port + "/generic_xss")) exit(0);

# Ensure we only flag an IIS server.
banner = get_http_banner(port:port, exit_on_fail:TRUE);
if ("IIS/" >!< banner && "Apache" >!< banner) audit(AUDIT_WRONG_WEB_SERVER, port, "Microsoft IIS or Apache");

scripts = make_list("/launch.jsp", "/launch.asp");
xss_tag = SCRIPT_NAME - ".nasl" + "-" + unixtime();
str = "?NFuse_Application=>alert('"+xss_tag+"');</script>";

foreach script (scripts)
{
  r = http_send_recv3(
    method  : "GET",
    port    : port,
    item    : script + str,
    exit_on_fail : TRUE
  );

  xss_str = "alert('"+xss_tag+"');</script>";

  if(r[0] =~ "200" && xss_str >< r[2] && ereg(pattern:"nfuse", string:r[2], icase:TRUE, multiline:TRUE))
  {
    output = extract_pattern_from_resp(pattern:"ST:"+xss_str, string: r[2]);
    if (empty_or_null(output)) output = r[2];

    security_report_v4(
      port       : port,
      severity   : SECURITY_WARNING,
      generic    : TRUE,
      xss        : TRUE,  # XSS KB key
      request    : make_list(build_url(qs:script+str, port:port)),
      output     : output
    );
    exit(0);
  }
}
audit(AUDIT_WEB_APP_NOT_AFFECTED, "Citrix NFuse", build_url(qs:"/",port:port));