smtp_ms02-037.nasl
来自「漏洞扫描源码,可以扫描linux,windows,交换机路由器」· NASL 代码 · 共 88 行
NASL
88 行
## This script was written by Michael Scheidell SECNAP Network Security## See the Nessus Scripts License for details##if(description){ script_id(11053); script_bugtraq_id(5306); script_version("$Revision: 118 $"); script_cve_id("CVE-2002-0698"); name["english"] = "IMC SMTP EHLO Buffer Overrun"; script_name(english:name["english"]); desc["english"] = " A security vulnerability resultsbecause of an unchecked buffer in the IMC code thatgenerates the response to the EHLO protocol command.If the buffer were overrun with data it would result ineither the failure of the IMC or could allow theattacker to run code in the security context of the IMC,which runs as Exchange5.5 Service Account.** OpenVAS only uses the banner header to determine if this vulnerability exists and does not check for or attempt an actual overflow.Solution : seehttp://www.microsoft.com/technet/security/bulletin/MS02-037.mspxRisk factor : Medium"; script_description(english:desc["english"]); summary["english"] = "Checks to see if remote IMC SMTP version is vulnerable to buffer overflow"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2002 SECNAP Network Security, LLC"); family["english"] = "SMTP problems"; script_family(english:family["english"]); script_dependencie("find_service.nes", "smtpserver_detect.nasl"); script_require_keys("SMTP/microsoft_esmtp_5"); script_require_ports("Services/smtp", 25); exit(0);}include("smtp_func.inc");port = get_kb_item("Services/smtp");if(!port)port = 25;data = get_smtp_banner(port:port);if(!data)exit(0);if(!egrep(pattern:"^220.*Microsoft Exchange Internet.*", string:data))exit(0);# needs to be 5.5.2656.59 or GREATER.# this good:#220 proliant.fdma.com ESMTP Server (Microsoft Exchange#Internet Mail Service 5.5.2656.59) ready#this old:#220 proliant.fdma.com ESMTP Server (Microsoft Exchange#Internet Mail Service 5.5.2653.13) readyif(egrep(string:data, pattern:"Service.5\.[6-9]")) exit(0);if(egrep(string:data, pattern:"Service.5\.5\.[3-9]")) exit(0);if(egrep(string:data, pattern:"Service.5\.5\.2[7-9]")) exit(0);if(egrep(string:data, pattern:"Service.5\.5\.26[6-9]")) exit(0);if(egrep(string:data, pattern:"Service.5\.5\.265[6-9]")) exit(0);security_warning(port);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?