⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kerio_wrf_management_detection.nasl

📁 漏洞扫描源码,可以扫描linux,windows,交换机路由器
💻 NASL
字号:
## Script Written By Ferdy Riphagen # <f[dot]riphagen[at]nsec[dot]nl>## Script distributed under the GNU GPLv2 License.### Changes by Tenable :##  - Improved version extraction#  - Report layout#  - Fixed SSL detection#desc["english"] = "Synopsis :The remote host is running a firewall application. Description :The remote host appears to be running the Kerio WinRoute Firewallapplication.  It is possible to access the HTTP or HTTPS managementinterface on the host. Solution :If the service is not needed, disable HTTP and/or HTTPS management, or filter incomming requests to the ports from untrusted sources.  Risk factor :Low / CVSS Base Score : 1 (AV:R/AC:L/Au:R/C:P/A:N/I:N/B:N)";  if (description) { script_id(20225); script_version("$Revision: 38 $"); name["english"] = "Kerio WinRoute Firewall HTTP/HTTPS Management Detection"; script_name(english:name["english"]); script_description(english:desc["english"]); summary["english"] = "Check if Kerio WinRoute Firewall HTTP/HTTPS management is enabled"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_family(english:"Firewalls"); script_copyright(english:"This script is Copyright (C) 2005 Ferdy Riphagen"); script_dependencie("http_version.nasl"); script_require_ports("Service/www", 4080, 4081); script_exclude_keys("Settings/disable_cgi_scanning"); exit(0);}include("http_func.inc");include("http_keepalive.inc");include("global_settings.inc");port = get_http_port(default:4080);if (!get_port_state(port)) get_http_port(default:4081);if (!get_port_state(port)) exit(0);res = http_get_cache(item: "/", port: port);if (!res) exit(0);if ("Kerio WinRoute Firewall" >< res &&      ( line = egrep(pattern: "Kerio WinRoute Firewall [0-9.]+", string: res))){  # Check and build the version.  version = ereg_replace(pattern:".*Kerio WinRoute Firewall ([0-9.]+).*", string:line, replace:"\1");  if (version == line ) version = NULL;  if ( version != NULL )  {    report = string(desc["english"],    "\n\n",    "Plugin output :\n",    "\n",    "The Kerio WinRoute Firewall Management Webserver is listening on this port.\n",    "The version of the application is :\n",version);   }  else report = desc["english"];  if ( version != NULL ) set_kb_item(name:"Services/www/" + port + "/kerio_wrf", value:version);  security_note(port: port, data: report);  exit(0);}

⌨️ 快捷键说明

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