sympa_unauthorised_list_creation.nasl

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

NASL
94
字号
#  This script was written by David Maciejak <david dot maciejak at kyxar dot fr>#  based on work from#  (C) Tenable Network Security##  Ref: Sympa Team - August 2004# This script is released under the GNU GPLv2if(description){script_id(14300);script_bugtraq_id(10941); #script_cve_id("CVE-MAP-NOMATCH"); name["english"] = "Sympa unauthorised list creation security issue"; script_name(english:name["english"]); script_version ("$Revision: 38 $");  desc["english"] = "The remote host seems to be running sympa, an open source mailing list software.This version of Sympa has an authentication flaw within the web interface.An attacker, exploiting this flaw, would be able to bypass securitymechanisms resulting in the ability to perform listmaster functions remotely.Solution : Update to version 4.1.2 or newerSee also: http://www.sympa.org/Risk factor : Medium"; script_description(english:desc["english"]);  summary["english"] = "Checks for sympa version";  script_summary(english:summary["english"]);  script_category(ACT_ATTACK);   script_copyright(english:"This script is Copyright (C) 2004 David Maciejak"); family["english"] = "CGI abuses"; family["francais"] = "Abus de CGI"; script_family(english:family["english"], francais:family["francais"]); script_dependencie("find_service.nes", "http_version.nasl"); script_require_ports("Services/www", 80); script_exclude_keys("Settings/disable_cgi_scanning"); exit(0);}## The script code starts here#include("http_func.inc");include("http_keepalive.inc");port = get_http_port(default:80);if(!get_port_state(port))exit(0);function check(url){req = http_get(item:string(url, "home"), port:port);r = http_keepalive_send_recv(port:port, data:req);if ( r == NULL ) exit(0);    #We need to match this        #TD NOWRAP><I>Powered by</I></TD>    #<TD><A HREF="http://www.sympa.org/">    #       <IMG SRC="/icons/sympa/logo-s.png" ALT="Sympa 4.1.2" BORDER="0" >	if ("http://www.sympa.org/" >< r)	{        	if(egrep(pattern:".*ALT=.Sympa (2\.|3\.|4\.0|4\.1\.[01])", string:r)) 		{ 			security_warning(port);			exit(0);		}	} }check(url:"");check(url:"/wws/");check(url:"/wwsympa/");foreach dir (cgi_dirs()){ check(url:dir);}

⌨️ 快捷键说明

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