nessus-plugins/scripts smb_nt_ms04-009.nasl,NONE,1.1
Update of /usr/local/cvs/nessus-plugins/scripts
In directory raccoon.nessus.org:/tmp/cvs-serv47272
Added Files:
smb_nt_ms04-009.nasl
Log Message:
added
--- NEW FILE: smb_nt_ms04-009.nasl ---
#
# (C) Tenable Network Security
#
if(description)
{
script_id(12092);
script_bugtraq_id(9827);
script_cve_id("CAN-2004-0121");
script_version("$Revision: 1.1 $");
name["english"] = "Vulnerability in Outlook could allow code execution (828040)";
script_name(english:name["english"]);
desc["english"] = "
The remote host is running a version of outlook which is vulnerable to a bug
which may allow Internet Explorer to execute script code in the Local Machine
zone and therefore let an attacker execute arbitrary programs on this host.
To exploit this bug, an attacker would need to send an special HTML message to
a user of this host.
Solution : See http://www.microsoft.com/technet/security/bulletin/ms04-009.mspx
Risk factor : High";
script_description(english:desc["english"]);
summary["english"] = "Determines the version of OutLook.exe";
script_summary(english:summary["english"]);
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
family["english"] = "Windows";
script_family(english:family["english"]);
script_dependencies("netbios_name_get.nasl",
"smb_login.nasl","smb_registry_access.nasl");
script_require_keys("SMB/name", "SMB/login", "SMB/password",
"SMB/WindowsVersion",
"SMB/registry_access");
script_require_ports(139, 445);
exit(0);
}
include("smb_nt.inc");
rootfile = registry_get_sz(key:"SOFTWARE\Microsoft\Office\10.0\Outlook\InstallRoot", item:"Path");
if(!rootfile)
{
exit(0);
}
else
{
share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:rootfile);
outlook = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1outlook.exe", string:rootfile);
}
name = kb_smb_name();
login = kb_smb_login();
pass = kb_smb_password();
domain = kb_smb_domain();
port = kb_smb_transport();
if(!port) port = 139;
if(!get_port_state(port))exit(0);
soc = open_sock_tcp(port);
if(!soc)exit(0);
if ( port == 139 )
{
r = smb_session_request(soc:soc, remote:name);
if(!r)exit(0);
}
prot = smb_neg_prot(soc:soc);
if(!prot)exit(0);
r = smb_session_setup(soc:soc, login:login, password:pass, domain:domain, prot:prot);
if(!r)exit(0);
uid = session_extract_uid(reply:r);
r = smb_tconx(soc:soc, name:name, uid:uid, share:share);
tid = tconx_extract_tid(reply:r);
if(!tid)exit(0);
fid = OpenAndX(socket:soc, uid:uid, tid:tid, file:outlook);
if(fid)
{
fsize = smb_get_file_size(socket:soc, uid:uid, tid:tid, fid:fid);
off = fsize - 16384;
data = ReadAndX(socket:soc, uid:uid, tid:tid, fid:fid, count:16384, off:off);
data = str_replace(find:raw_string(0), replace:"", string:data);
version = strstr(data, "ProductVersion");
if(!version)exit(0);
v = "";
for(i=strlen("ProductVersion");i<strlen(version);i++)
{
if((ord(version[i]) < ord("0") ||
ord(version[i]) > ord("9")) &&
version[i] != ".")break;
else
v += version[i];
}
z = split(v, sep:".", keep:FALSE);
if ( int(z[0]) == 10 && int(z[1]) == 0 && int(z[2]) < 5709 ) security_hole(port);
}
- Previous by Date: nessus-plugins/scripts cross_site_scripting.nasl,1.25,1.26
- Next by Date: nessus-plugins/scripts IIS_frontpage_DOS_2.nasl, 1.4, 1.5 biztalk_flaws.nasl, 1.3, 1.4 bugbear.nasl, 1.6, 1.7 dcom_rpc_dos.nasl, 1.10, 1.11 exchange_dos.nasl, 1.10, 1.11 exchange_xexch50_overflow.nasl, 1.6, 1.7 frontpage_chunked_overflow.nasl, 1.8, 1.9 frontpage_overflow.nasl, 1.20, 1.21 frontpage_shtml_overflow.nasl, 1.5, 1.6 frontpage_xss.nasl, 1.5, 1.6 http_asn1_decoding.nasl, 1.13, 1.14 iis5_printer.nasl, 1.19, 1.20 iis_asp_overflow.nasl, 1.15, 1.16 iis_buffer_overflow.nasl, 1.30, 1.31 iis_decode_bug.nasl, 1.26, 1.27 iis_dir_traversal.nasl, 1.33, 1.34 iis_frontpage_dos.nasl, 1.17, 1.18 iis_isapi_overflow.nasl, 1.20, 1.21 iis_malformed_request.nasl, 1.21, 1.22 iis_propfind2.nasl, 1.20, 1.21 iis_propfind_dos.nasl, 1.14, 1.15 iis_webdav_overflow.nasl, 1.14, 1.15 iis_xss_404.nasl, 1.11, 1.12 ldap_null_bind.nasl, 1.11, 1.12 mail_asn1_decoding.nasl, 1.7, 1.8 mcms_overflow.nasl, 1.11, 1.12 messenger_ms03-043.nasl, 1.9, 1.10 ms_index_server.nasl, 1.21, 1.22 ms_telnet_overflow.nasl, 1.2, 1.3 msdtc_dos.nasl, 1.6, 1.7 msftp_dos.nasl, 1.16, 1.17 msrpc_dcom.nasl, 1.14, 1.15 msrpc_dcom2.nasl, 1.26, 1.27 mssmtp_dos.nasl, 1.14, 1.15 mssmtp_null_auth.nasl, 1.5, 1.6 mssql_litchfield_overflows.nasl, 1.19, 1.20 netbios_mem_disclosure.nasl, 1.3, 1.4 nimda.nasl, 1.11, 1.12 nsiislog_dll.nasl, 1.8, 1.9 phonebook.nasl, 1.16, 1.17 smb_bruteforce_pass.nasl, 1.29, 1.30 smb_crash_winlogon.nasl, 1.17, 1.18 smb_msblast.nasl, 1.8, 1.9 smb_nt_ms00-029.nasl, 1.17, 1.18 smb_nt_ms00-035.nasl, 1.3, 1.4 smb_nt_ms00-036.nasl, 1.15, 1.16 smb_nt_ms00-047.nasl, 1.15, 1.16 smb_nt_ms00-052.nasl, 1.17, 1.18 smb_nt_ms00-053.nasl, 1.13, 1.14 smb_nt_ms00-062.nasl, 1.14, 1.15 smb_nt_ms00-065.nasl, 1.13, 1.14 smb_nt_ms00-066.nasl, 1.12, 1.13 smb_nt_ms00-067.nasl, 1.13, 1.14 smb_nt_ms00-070.nasl, 1.16, 1.17 smb_nt_ms00-086.nasl, 1.13, 1.14 smb_nt_ms00-089.nasl, 1.11, 1.12 smb_nt_ms00-091.nasl, 1.14, 1.15 smb_nt_ms01-003.nasl, 1.13, 1.14 smb_nt_ms01-008.nasl, 1.13, 1.14 smb_nt_ms01-009.nasl, 1.12, 1.13 smb_nt_ms01-011.nasl, 1.17, 1.18 smb_nt_ms01-025.nasl, 1.17, 1.18 smb_nt_ms01-046.nasl, 1.18, 1.19 smb_nt_ms01-048.nasl, 1.10, 1.11 smb_nt_ms02-001.nasl, 1.5, 1.6 smb_nt_ms02-003.nasl, 1.3, 1.4 smb_nt_ms02-005.nasl, 1.36, 1.37 smb_nt_ms02-006.nasl, 1.13, 1.14 smb_nt_ms02-008.nasl, 1.12, 1.13 smb_nt_ms02-009.nasl, 1.11, 1.12 smb_nt_ms02-013.nasl, 1.7, 1.8 smb_nt_ms02-014.nasl, 1.2, 1.3 smb_nt_ms02-016.nasl, 1.8, 1.9 smb_nt_ms02-017.nasl, 1.8, 1.9 smb_nt_ms02-018.nasl, 1.14, 1.15 smb_nt_ms02-021.nasl, 1.9, 1.10 smb_nt_ms02-024.nasl, 1.8, 1.9 smb_nt_ms02-025.nasl, 1.3, 1.4 smb_nt_ms02-026.nasl, 1.3, 1.4 smb_nt_ms02-029.nasl, 1.8, 1.9 smb_nt_ms02-030.nasl, 1.6, 1.7 smb_nt_ms02-031.nasl, 1.5, 1.6 smb_nt_ms02-032.nasl, 1.4, 1.5 smb_nt_ms02-035.nasl, 1.6, 1.7 smb_nt_ms02-040.nasl, 1.11, 1.12 smb_nt_ms02-042.nasl, 1.13, 1.14 smb_nt_ms02-045.nasl, 1.4, 1.5 smb_nt_ms02-048.nasl, 1.3, 1.4 smb_nt_ms02-050.nasl, 1.8, 1.9 smb_nt_ms02-051.nasl, 1.5, 1.6 smb_nt_ms02-052.nasl, 1.8, 1.9 smb_nt_ms02-054.nasl, 1.4, 1.5 smb_nt_ms02-055.nasl, 1.5, 1.6 smb_nt_ms02-060.nasl, 1.1, 1.2 smb_nt_ms02-063.nasl, 1.3, 1.4 smb_nt_ms02-070.nasl, 1.4, 1.5 smb_nt_ms02-071.nasl, 1.6, 1.7 smb_nt_ms02-072.nasl, 1.2, 1.3 smb_nt_ms03-001.nasl, 1.6, 1.7 smb_nt_ms03-005.nasl, 1.4, 1.5 smb_nt_ms03-007.nasl, 1.9, 1.10 smb_nt_ms03-008.nasl, 1.6, 1.7 smb_nt_ms03-009.nasl, 1.4, 1.5 smb_nt_ms03-010.nasl, 1.5, 1.6 smb_nt_ms03-011.nasl, 1.3, 1.4 smb_nt_ms03-012.nasl, 1.3, 1.4 smb_nt_ms03-013.nasl, 1.4, 1.5 smb_nt_ms03-017.nasl, 1.5, 1.6 smb_nt_ms03-018.nasl, 1.3, 1.4 smb_nt_ms03-021.nasl, 1.4, 1.5 smb_nt_ms03-023.nasl, 1.1, 1.2 smb_nt_ms03-024.nasl, 1.9, 1.10 smb_nt_ms03-025.nasl, 1.3, 1.4 smb_nt_ms03-026.nasl, 1.7, 1.8 smb_nt_ms03-027.nasl, 1.2, 1.3 smb_nt_ms03-029.nasl, 1.1, 1.2 smb_nt_ms03-030.nasl, 1.9, 1.10 smb_nt_ms03-031.nasl, 1.4, 1.5 smb_nt_ms03-035.nasl, 1.3, 1.4 smb_nt_ms03-037.nasl, 1.4, 1.5 smb_nt_ms03-041.nasl, 1.3, 1.4 smb_nt_ms03-042.nasl, 1.2, 1.3 smb_nt_ms03-043.nasl, 1.7, 1.8 smb_nt_ms03-044.nasl, 1.1, 1.2 smb_nt_ms03-045.nasl, 1.1, 1.2 smb_nt_ms03-049.nasl, 1.8, 1.9 smb_nt_ms03-050.nasl, 1.4, 1.5 smb_nt_ms04-001.nasl, 1.2, 1.3 smb_nt_ms04-002.nasl, 1.2, 1.3 smb_nt_ms04-003.nasl, 1.5, 1.6 smb_nt_ms04-006.nasl, 1.1, 1.2 smb_nt_ms04-007.nasl, 1.3, 1.4 smb_null_params_dos.nasl, 1.8, 1.9 smb_reg_snmp_access.nasl, 1.1, 1.2 smb_xp_ms01-059.nasl, 1.8, 1.9 smtp_ms01-037.nasl, 1.17, 1.18 smtp_ms02-037.nasl, 1.6, 1.7 tcp_seq.nasl, 1.5, 1.6 unicast_dos.nasl, 1.8, 1.9 windows_asn1_vuln_ntlm.nasl, 1.12, 1.13
- Previous by Thread: nessus-plugins/scripts smb_nt_ms04-008.nasl,NONE,1.1
- Next by Thread: nessus-plugins/scripts smb_nt_ms04-010.nasl,NONE,1.1
-
Nessus-cvs March 2004 archives indexes sorted by: [ thread ]
[ subject ]
[ author ]
[ date ]
-
Nessus-cvs list archive Table of Contents
-
More information about the Nessus-cvs mailing list
This archive was generated by a fusion of
Pipermail 0.09 (Mailman edition) and
MHonArc 2.6.8.