📄 lotus_smency.nasl
字号:
# Written by DokFLeed <dokfleed at dokfleed.net># Looking for smency.nsf Trend/Lotus#if(description){ script_version ("$Revision: 38 $"); script_id(14312); script_bugtraq_id(11612); script_name(english:"ScanMail file check"); desc["english"] = "This script attempts to read sensitive files used by Trend ScanMail,an anti-virus protection program for Domino (formerly Lotus Notes).An attacker, exploiting this flaw, may gain access to confidentialdata or disable the anti-virus protection.Risk : Medium"; script_description(english:desc["english"]); script_summary(english:"Checks for the presence ScanMail files"); script_category(ACT_GATHER_INFO); script_family(english:"CGI abuses"); script_copyright(english:"This script is Copyright (C) 2004 by DokFLeed"); script_dependencie("find_service.nes", "http_version.nasl"); script_require_ports("Services/www", 80); exit(0); }# Start of Code include("http_func.inc");include("http_keepalive.inc");port = get_http_port(default:80);if (!get_port_state(port)) exit(0);files = make_array("/smency.nsf" , "Encyclopedia", "/smconf.nsf" , "Configuration", "/smhelp.nsf" , "Help", "/smftypes.nsf" , "File Types", "/smmsg.nsf" , "Messages", "/smquar.nsf" , "Quarantine", "/smtime.nsf" , "Scheduler", "/smsmvlog.nsf" , "Log", "/smadmr5.nsf" , "Admin Add-in");report = "";foreach path (keys(files)){ req = http_get(item:path, port:port); r = http_keepalive_send_recv(port:port, data:req); if (r == NULL) exit(0); if ("Trend ScanMail" >< r) { if (!report) { report ="Sensitive files used by Trend ScanMail, an anti-virus protectionprogram for Domino (formerly Lotus Notes), are readable via the web.These files might expose confidential data or allow an attacker todisable the anti-virus protection.Solution: Password protect access to these files.The following files were found:"; } report += string("\n ", path, " - ", files[path]); }}if (report) security_warning(port:port, data:report);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -