episodex_guestbook.nasl
来自「漏洞扫描源码,可以扫描linux,windows,交换机路由器」· NASL 代码 · 共 68 行
NASL
68 行
## This script was written by Josh Zlatin-Amishav <josh at tkos dot co dot il>## This script is released under the GNU GPLv2#if(description){ script_id(18362); script_version ("$Revision: 38 $"); script_cve_id("CVE-2005-1684"); script_bugtraq_id(13692, 13693); name["english"] = "Episodex Guestbook Unauthorized Access and HTML Injection Vulnerability"; script_name(english:name["english"]); desc["english"] = "The remote host is running the Episodex Guestbook, a guestbook written in ASP.The remote version of this software contains an input validation flaw leadingto the execution on attacker supplied HTML and script code. In addition anunauthenticated remote attacker can directly access administrator functions.Solution : None at this timeRisk factor : High"; script_description(english:desc["english"]); summary["english"] = "Checks for unathentication access to admin.asp"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_family(english:"CGI abuses"); script_copyright(english:"Copyright (C) 2005 Josh Zlatin-Amishav"); script_dependencies("http_version.nasl"); script_require_ports("Services/www", 80); script_exclude_keys("Settings/disable_cgi_scanning"); exit(0);}include("http_func.inc");include("http_keepalive.inc");port = get_http_port(default:80);if(!get_port_state(port))exit(0);if(!can_host_asp(port:port))exit(0);function check(url){ req = http_get(item:url +"/admin.asp", port:port); res = http_keepalive_send_recv(port:port, data:req); if ( res == NULL ) exit(0); if ( 'Save Configuration' >< res && 'powered by Sven Moderow\'s GuestBook' >< res ) { security_hole(port); exit(0); }}foreach dir ( cgi_dirs() ) check(url:dir);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?