# # (C) Tenable Network Security if(description) { script_id(11764); script_version ("$Revision$"); script_bugtraq_id(7969); name["english"] = "TMax Soft Jeus Cross Site Scripting"; script_name(english:name["english"]); desc["english"] = " The remote host is running Tmax Soft JEUS, a web application written in Java. There is a cross site scripting issue in this software which may allow an attacker to steal the cookies of your legitimate users, by luring them into clicking on a rogue URL through the misue of the file /url.jsp. Solution : None at this time Risk Factor : Low/Medium"; script_description(english:desc["english"]); summary["english"] = "Checks for TMax Jeus"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2003 Tenable Network Security"); family["english"] = "CGI abuses"; script_family(english:family["english"]); script_dependencie("find_service.nes", "http_version.nasl", "cross_site_scripting.nasl"); script_require_ports("Services/www", 80); exit(0); } include("http_func.inc"); include("http_keepalive.inc"); port = get_kb_item("Services/www"); if(!port) port = 80; if(!get_port_state(port))exit(0); if(get_kb_item(string("www/", port, "/generic_xss"))) exit(0); dirs = make_list("", cgi_dirs()); foreach d (dirs) { req = http_get(item:d+"/url.jsp?", port:port); res = http_keepalive_send_recv(port:port, data:req, bodyonly:1); if ( res == NULL ) exit(0); if("" >< res) { security_warning(port); exit(0); } }