groupwise_web_interface_htmlver_hole.nasl

来自「漏洞扫描源码,可以扫描linux,windows,交换机路由器」· NASL 代码 · 共 80 行

NASL
80
字号
if(description){ script_id(10873); script_cve_id("CAN-2002-0341"); script_version("$Revision: 38 $"); name["english"] = "GroupWise Web Interface 'HTMLVER' hole"; script_name(english:name["english"]);  desc["english"] = "By modifying the GroupWise Web Interface HTMLVER URLrequest, it is possible to gain additional information onthe remote computer and even read local files from itshard driveSolution : contact your vendor for a patchRisk factor : High"; script_description(english:desc["english"]);  summary["english"] = "GroupWise Web Interface 'HTMLVER' hole";  script_summary(english:summary["english"]);  script_category(ACT_GATHER_INFO);  script_copyright(english:"This script is Copyright (C) 2002 SecurITeam"); family["english"] = "CGI abuses"; script_family(english:family["english"]); script_dependencie("find_service.nes", "no404.nasl"); script_require_ports("Services/www", 80); exit(0);}# Check starts hereinclude("http_func.inc");include("http_keepalive.inc");function check(req){  req = http_get(item:req, port:port);  buf = http_keepalive_send_recv(port:port, data:req);  if (("Could not find file SYS" >< buf))  {   	security_hole(port:port);	return(1);  }  return(0);}port = get_http_port(default:80);cginameandpath[0] = string("/GW5/GWWEB.EXE?GET-CONTEXT&HTMLVER=AAA");cginameandpath[1] = string("/GWWEB.EXE?GET-CONTEXT&HTMLVER=AAA");i = 0;if(get_port_state(port)){ for (i = 0; cginameandpath[i]; i = i + 1) {   url = cginameandpath[i];  if(check(req:url))exit(0); }}else exit(0);foreach dir (cgi_dirs()){cginameandpath[0] = string(dir, "/GW5/GWWEB.EXE?GET-CONTEXT&HTMLVER=AAA");cginameandpath[1] = string(dir, "/GWWEB.EXE?GET-CONTEXT&HTMLVER=AAA");for (i = 0; cginameandpath[i]; i = i + 1) {   url = cginameandpath[i];  if(check(req:url))exit(0); }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?