Vulnerabilities > CVE-2003-1157 - Cross-Site Scripting vulnerability in Citrix Metaframe 1.0

047910
CVSS 4.3 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
PARTIAL
Availability impact
NONE
network
citrix
nessus
exploit available

Summary

Cross-site scripting (XSS) vulnerability in login.asp in Citrix MetaFrame XP Server 1.0 allows remote attackers to inject arbitrary web script or HTML via the NFuse_Message parameter.

Vulnerable Configurations

Part Description Count
Application
Citrix
1

Exploit-Db

descriptionCitrix Metaframe XP Cross-site Scripting Vulnerability. CVE-2003-1157. Remote exploit for windows platform
idEDB-ID:23316
last seen2016-02-02
modified2003-10-31
published2003-10-31
reporterAndy Davis
sourcehttps://www.exploit-db.com/download/23316/
titleCitrix Metaframe XP - Cross-Site Scripting Vulnerability

Nessus

NASL familyCGI abuses : XSS
NASL idCITRIX_WEB_XSS.NASL
descriptionThe remote server is running a Citrix Web Interface server that is vulnerable to cross-site scripting. When a user fails to authenticate, the Citrix Web Interface includes the error message text in the URL. The error message can be tampered with to perform a cross-site scripting attack.
last seen2020-06-01
modified2020-06-02
plugin id12301
published2004-07-06
reporterThis script is Copyright (C) 2004-2018 Michael J. Richardson
sourcehttps://www.tenable.com/plugins/nessus/12301
titleCitrix MetaFrame XP login.asp NFuse_Message Parameter XSS
code
#
# This script was written by Michael J. Richardson <[email protected]>
#

# Changes by Tenable:
# - Revised plugin title (10/12/09)
# - Revised plugin description- fixed typo (06/03/2011)


include("compat.inc");

if(description)
{
  script_id(12301);
  script_version ("1.28");
  script_cve_id("CVE-2003-1157");
  script_bugtraq_id(8939);

  script_name(english:"Citrix MetaFrame XP login.asp NFuse_Message Parameter XSS");

 script_set_attribute(attribute:"synopsis", value:
"The web application running on the remote host has a cross-site
scripting vulnerability." );
 script_set_attribute(attribute:"description", value:
"The remote server is running a Citrix Web Interface server that 
is vulnerable to cross-site scripting.  When a user fails to 
authenticate, the Citrix Web Interface includes the error message 
text in the URL.  The error message can be tampered with to 
perform a cross-site scripting attack." );
 script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2003/Oct/336" );
 script_set_attribute(attribute:"see_also", value:"https://resources.sei.cmu.edu/library/asset-view.cfm?assetID=52451" );
 script_set_attribute(attribute:"solution", value:
"Upgrade to Citrix Web Interface 2.1 or newer." );
 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/07/06");
 script_set_attribute(attribute:"vuln_publication_date", value: "2003/10/31");
 script_set_attribute(attribute:"patch_publication_date", value: "2003/10/02");
 script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/12");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe",value:"cpe:/a:citrix:web_interface");
script_end_attributes();

 script_summary(english:"Checks for Citrix Web Interface Cross-Site Scripting Vulnerability");
 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2004-2020 Michael J. Richardson");
 script_family(english:"CGI abuses : XSS");
 script_dependencie("find_service1.nasl", "http_version.nasl");
 script_require_ports("Services/www", 80);
 script_require_keys("www/ASP");
 exit(0);
}

#
# The script code starts here
#
include("http_func.inc");
include("http_keepalive.inc");
include("global_settings.inc");

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

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


function check(url)
{
   local_var req, res;
   req = http_get(item:string(url, "/login.asp?NFuse_LogoutId=&NFuse_MessageType=Error&NFuse_Message=<SCRIPT>alert('Ritchie')</SCRIPT>&ClientDetection=ON"), port:port);
   res = http_keepalive_send_recv(port:port, data:req, bodyonly:TRUE);
   if ( res == NULL ) exit(0);

   if(ereg(pattern:"^HTTP/[0-9]\.[0-9] +200 ", string:res) && "<SCRIPT>alert('Ritchie')</SCRIPT>" >< res)
      {
        security_warning(port);
	set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
        exit(0);
      } 
}

check(url:"/citrix/nfuse/default");
check(url:"/citrix/MetaframeXP/default");