📄 cachemgr_cgi.nasl
字号:
## This script was written by Alexis de Bernis <alexisb@cvs.nessus.org>## See the Nessus Scripts License for details#if(description){ script_id(10034); script_bugtraq_id(2059); script_version ("$Revision: 38 $"); script_cve_id("CVE-1999-0710"); name["english"] = "RedHat 6.0 cachemgr.cgi"; name["francais"] = "RedHat 6.0 cachemgr.cgi"; script_name(english:name["english"], francais:name["francais"]); desc["english"] = " RedHat Linux 6.0 installs by default a squid cache manager cgi script withno restricted access permissions. This script could be used to perform aport scan from the cgi-host machine.Solution :If you are not using the box as a Squid www proxy/cache server thenuninstall the package by executing:/etc/rc.d/init.d/squid stop ; rpm -e squidIf you want to continue using the Squid proxy server software, make thefollowing actions to tighten security access to the manager interface:mkdir /home/httpd/protected-cgi-binmv /home/httpd/cgi-bin/cachemgr.cgi /home/httpd/protected-cgi-bin/And add the following directives to /etc/httpd/conf/access.conf andsrm.conf:--- start access.conf segment ---# Protected cgi-bin directory for programs that# should not have public accessorder deny,allowdeny from allallow from localhost#allow from .your_domain.comAllowOverride NoneOptions ExecCGI--- end access.conf segment ------ start srm.conf segment ---ScriptAlias /protected-cgi-bin/ /home/httpd/protected-cgi-bin/--- end srm.conf segment ---Risk factor : High"; desc["francais"] = "Le script cachemgr.cgi est accessible, celui-ci permetde scanner les ports d'une machine distante
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -