############################################################################### # OpenVAS Vulnerability Test # $Id: secpod_ms08-073.nasl 642 2008-12-10 16:41:09Z dec $ # # Cumulative Security Update for Internet Explorer (958215) # # Authors: # Chandan S # # Copyright: SecPod # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 # (or any later version), as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ############################################################################### if(description) { script_id(900062); script_version("$Revision: 1.0 $"); script_cve_id("CVE-2008-4258", "CVE-2008-4259", "CVE-2008-4260", "CVE-2008-4261"); script_bugtraq_id(32586, 32593, 32595, 32596); script_name(english:"Cumulative Security Update for Internet Explorer (958215)"); desc["english"] = " Overview: This host has critical security update missing according to Microsoft Bulletin MS08-073. Vulnerability Insight: The flaws are caused due to, - error when handling parameters passed to unspecified navigation methods. - error when fetching a file with an overly long path from a WebDAV share. - unspecified use-after-free error. - a boundary error when processing an overly long filename extension specified inside an EMBED tag. Impact: Successful exploitation could result in stack based buffer overflow by sending overly long specially crafted file via web page to corrupt heap memory. Impact Level: System Affected Software/OS: Internet Explorer 5.01 & 6 on MS Windows 2000 Internet Explorer 6 on MS Windows 2003 and XP Internet Explorer 7 on MS Windows 2003 and XP Fix: Run Windows Update and update the listed hotfixes or download and update mentioned hotfixes in the advisory from the below link. http://www.microsoft.com/technet/security/bulletin/ms08-073.mspx References: http://www.microsoft.com/technet/security/bulletin/ms08-073.mspx CVSS Score: CVSS Base Score : 9.3 (AV:N/AC:M/Au:NR/C:C/I:C/A:C) CVSS Temporal Score : 6.9 Risk factor : High"; script_description(english:desc["english"]); script_summary(english:"Check for the vulnerable File Version"); script_category(ACT_GATHER_INFO); script_copyright(english:"Copyright (C) 2008 SecPod"); script_family(english:"Windows : Microsoft Bulletins"); script_dependencies("secpod_reg_enum.nasl"); exit(0); } include("smb_nt.inc"); include("secpod_reg.inc"); include("version_func.inc"); include("secpod_smb_func.inc"); if(hotfix_check_sp(xp:4, win2k:5, win2003:3) <= 0){ exit(0); } ieVer = registry_get_sz(key:"SOFTWARE\Microsoft\Internet Explorer", item:"Version"); if(!ieVer){ ieVer = registry_get_sz(item:"IE", key:"SOFTWARE\Microsoft\Internet Explorer\Version Vector"); } if(!ieVer){ exit(0); } # MS08-073 Hotfix (958215) if(hotfix_missing(name:"958215") == 0){ exit(0); } dllPath = registry_get_sz(item:"Install Path", key:"SOFTWARE\Microsoft\COM3\Setup"); dllPath += "\mshtml.dll"; share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:dllPath); file = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:dllPath); vers = GetVer(file:file, share:share); if(!vers){ exit(0); } if(hotfix_check_sp(win2k:5) > 0) { # Check for IE version 5 < 5.0.3870.1500 if(version_in_range(version:vers, test_version:"5.0", test_version2:"5.0.3870.1499")){ security_hole(0); } # Check for IE version 6 < 6.0.2800.1617 else if(version_in_range(version:vers, test_version:"6.0", test_version2:"6.0.2800.1616")){ security_hole(0); } } if(hotfix_check_sp(xp:4) > 0) { SP = get_kb_item("SMB/WinXP/ServicePack"); if("Service Pack 2" >< SP) { # Check for IE version 6 < 6.0.2900.3462 if(version_in_range(version:vers, test_version:"6.0", test_version2:"6.0.2900.3461")){ security_hole(0); } } else if("Service Pack 3" >< SP) { # Check for IE version 6 < 6.0.2900.5694 if(version_in_range(version:vers, test_version:"6.0", test_version2:"6.0.2900.5693")){ security_hole(0); } } else security_hole(0); # Check for IE version 7 < 7.0.6000.16762 if(version_in_range(version:vers, test_version:"7.0", test_version2:"7.0.6000.16761")){ security_hole(0); } } if(hotfix_check_sp(win2003:3) > 0) { SP = get_kb_item("SMB/Win2003/ServicePack"); if("Service Pack 1" >< SP) { # Check for IE version 6 < 6.0.3790.3229 if(version_in_range(version:vers, test_version:"6.0", test_version2:"6.0.3790.3228")){ security_hole(0); } } else if("Service Pack 2" >< SP) { # Check for IE version 6 < 6.0.3790.4392 if(version_in_range(version:vers, test_version:"6.0", test_version2:"6.0.3790.4391")){ security_hole(0); } } else security_hole(0); # Check for IE version 7 < 7.0.6000.16762 if(version_in_range(version:vers, test_version:"7.0", test_version2:"7.0.6000.16761")){ security_hole(0); } }