📄 tftp_files_hp_ignite_ux_passwd.nasl
字号:
### This NASL script was written by Martin O'Neal of Corsaire (http://www.corsaire.com)# # The script will test whether the remote host has one of a number of sensitive # files present on the tftp server## DISCLAIMER# The information contained within this script is supplied "as-is" with # no warranties or guarantees of fitness of use or otherwise. Corsaire # accepts no responsibility for any damage caused by the use or misuse of # this information.# ############## description ################# declare descriptionif(description){ script_id(19509); script_bugtraq_id(14568); script_cve_id("CVE-2004-0951"); script_version ("$Revision: 38 $"); name["english"]="TFTP file detection (HP Ignite-UX passwd)"; script_name(english:name["english"]); desc["english"]="The remote host has a vulnerable version of the HP Ignite-UX application installed that exposes the /etc/passwd file to anonymous TFTP access.Solution: Upgrade to a version of the Ignite-UX application that does not exhibit thisbehaviour. If it is not required, disable or uninstall the TFTP server. Otherwise restrict access to trusted sources only.See also : http://www.corsaire.com/advisories/c041123-001.txtRisk factor: High"; script_description(english:desc["english"]); summary["english"]="Determines if the remote host has sensitive files exposed via TFTP (HP Ignite-UX passwd)"; script_summary(english:summary["english"]); script_category(ACT_ATTACK); script_copyright(english:"This NASL script is Copyright 2005 Corsaire Limited."); family["english"]="General"; script_family(english:family["english"]); script_dependencies("tftpd_backdoor.nasl"); script_require_keys("Services/tftp"); exit(0);}############## declarations ################port = get_kb_item('Services/udp/tftp');if ( ! port ) exit(0);if ( get_kb_item("tftp/" + port + "/backdoor") ) exit(0);############## script ################include("tftp.inc");# initialise testfile_name='/var/opt/ignite/recovery/passwd.makrec';if(tftp_get(port:port,path:file_name)) security_hole(port:port,proto:"udp");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -