Vulnerabilities > CVE-2011-1252 - Cross-site Scripting vulnerability in Microsoft Internet Explorer 7/8
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Cross-site scripting (XSS) vulnerability in the SafeHTML function in the toStaticHTML API in Microsoft Internet Explorer 7 and 8, Office SharePoint Server 2007 SP2, Office SharePoint Server 2010 Gold and SP1, Groove Server 2010 Gold and SP1, Windows SharePoint Services 3.0 SP2, and SharePoint Foundation 2010 Gold and SP1 allows remote attackers to inject arbitrary web script or HTML via unspecified strings, aka "toStaticHTML Information Disclosure Vulnerability" or "HTML Sanitization Vulnerability."
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 2 | |
OS | 19 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Cross Site Scripting through Log Files An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
- Embedding Scripts in Non-Script Elements This attack is a form of Cross-Site Scripting (XSS) where malicious scripts are embedded in elements that are not expected to host scripts such as image tags (<img>), comments in XML documents (< !-CDATA->), etc. These tags may not be subject to the same input validation, output validation, and other content filtering and checking routines, so this can create an opportunity for an attacker to tunnel through the application's elements and launch a XSS attack through other elements. As with all remote attacks, it is important to differentiate the ability to launch an attack (such as probing an internal network for unpatched servers) and the ability of the remote attacker to collect and interpret the output of said attack.
- Embedding Scripts within Scripts An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
- Cross-Site Scripting in Error Pages An attacker distributes a link (or possibly some other query structure) with a request to a third party web server that is malformed and also contains a block of exploit code in order to have the exploit become live code in the resulting error page. When the third party web server receives the crafted request and notes the error it then creates an error message that echoes the malformed message, including the exploit. Doing this converts the exploit portion of the message into to valid language elements that are executed by the viewing browser. When a victim executes the query provided by the attacker the infected error message error message is returned including the exploit code which then runs in the victim's browser. XSS can result in execution of code as well as data leakage (e.g. session cookies can be sent to the attacker). This type of attack is especially dangerous since the exploit appears to come from the third party web server, who the victim may trust and hence be more vulnerable to deception.
- Cross-Site Scripting Using Alternate Syntax The attacker uses alternate forms of keywords or commands that result in the same action as the primary form but which may not be caught by filters. For example, many keywords are processed in a case insensitive manner. If the site's web filtering algorithm does not convert all tags into a consistent case before the comparison with forbidden keywords it is possible to bypass filters (e.g., incomplete black lists) by using an alternate case structure. For example, the "script" tag using the alternate forms of "Script" or "ScRiPt" may bypass filters where "script" is the only form tested. Other variants using different syntax representations are also possible as well as using pollution meta-characters or entities that are eventually ignored by the rendering engine. The attack can result in the execution of otherwise prohibited functionality.
Msbulletin
bulletin_id MS11-050 bulletin_url date 2011-06-14T00:00:00 impact Remote Code Execution knowledgebase_id 2530548 knowledgebase_url severity Critical title Cumulative Security Update for Internet Explorer bulletin_id MS11-074 bulletin_url date 2011-09-13T00:00:00 impact Elevation of Privilege knowledgebase_id 2451858 knowledgebase_url severity Important title Vulnerabilities in Microsoft SharePoint Could Allow Elevation of Privilege
Nessus
NASL family Windows : Microsoft Bulletins NASL id SMB_NT_MS11-050.NASL description The remote host is missing Internet Explorer (IE) Security Update 2497640. The installed version of IE is affected by several vulnerabilities that could allow an attacker to execute arbitrary code on the remote host. last seen 2020-06-01 modified 2020-06-02 plugin id 55130 published 2011-06-15 reporter This script is Copyright (C) 2011-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/55130 title MS11-050: Cumulative Security Update for Internet Explorer (2530548) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(55130); script_version("1.27"); script_cvs_date("Date: 2018/11/15 20:50:31"); script_cve_id( "CVE-2011-1246", "CVE-2011-1250", "CVE-2011-1251", "CVE-2011-1252", "CVE-2011-1254", "CVE-2011-1255", "CVE-2011-1256", "CVE-2011-1258", "CVE-2011-1260", "CVE-2011-1261", "CVE-2011-1262" ); script_bugtraq_id( 48199, 48200, 48201, 48202, 48203, 48204, 48206, 48207, 48208, 48210, 48211 ); script_xref(name:"EDB-ID", value:"17409"); script_xref(name:"MSFT", value:"MS11-050"); script_xref(name:"MSKB", value:"2530548"); script_name(english:"MS11-050: Cumulative Security Update for Internet Explorer (2530548)"); script_summary(english:"Checks version of Mshtml.dll"); script_set_attribute( attribute:"synopsis", value: "Arbitrary code can be executed on the remote host through a web browser." ); script_set_attribute( attribute:"description", value: "The remote host is missing Internet Explorer (IE) Security Update 2497640. The installed version of IE is affected by several vulnerabilities that could allow an attacker to execute arbitrary code on the remote host." ); script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-11-193/"); script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-11-194/"); script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-11-194/"); script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-11-196/"); script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-11-198/"); script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2011/ms11-050"); script_set_attribute( attribute:"solution", value: "Microsoft has released a set of patches for XP, 2003, Vista, 2008, 7, and 2008 R2." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"exploit_framework_core", value:"true"); script_set_attribute(attribute:"exploited_by_malware", value:"true"); script_set_attribute(attribute:"metasploit_name", value:'MS11-050 IE mshtml!CObjectElement Use After Free'); script_set_attribute(attribute:"exploit_framework_metasploit", value:"true"); script_set_attribute(attribute:"exploit_framework_canvas", value:"true"); script_set_attribute(attribute:"canvas_package", value:'White_Phosphorus'); script_set_attribute(attribute:"vuln_publication_date", value:"2011/06/14"); script_set_attribute(attribute:"patch_publication_date", value:"2011/06/14"); script_set_attribute(attribute:"plugin_publication_date", value:"2011/06/15"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/o:microsoft:windows"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:ie"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Windows : Microsoft Bulletins"); script_copyright(english:"This script is Copyright (C) 2011-2018 Tenable Network Security, Inc."); script_dependencies("smb_hotfixes.nasl", "ms_bulletin_checks_possible.nasl"); script_require_keys("SMB/MS_Bulletin_Checks/Possible"); script_require_ports(139, 445, 'Host/patch_management_checks'); exit(0); } include("audit.inc"); include("smb_func.inc"); include("smb_hotfixes.inc"); include("smb_hotfixes_fcheck.inc"); include("misc_func.inc"); get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible"); bulletin = 'MS11-050'; kb = '2530548'; kbs = make_list(kb); if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE); get_kb_item_or_exit("SMB/Registry/Enumerated"); get_kb_item_or_exit("SMB/WindowsVersion", exit_code:1); if (hotfix_check_sp_range(xp:'3', win2003:'2', vista:'1,2', win7:'0,1') <= 0) audit(AUDIT_OS_SP_NOT_VULN); if (hotfix_check_server_core() == 1) audit(AUDIT_WIN_SERVER_CORE); rootfile = hotfix_get_systemroot(); if (!rootfile) exit(1, "Failed to get the system root."); share = hotfix_path2share(path:rootfile); if (!is_accessible_share(share:share)) audit(AUDIT_SHARE_FAIL, share); if ( # Windows 7 and Windows Server 2008 R2 # # - Internet Explorer 9 hotfix_is_vulnerable(os:"6.1", file:"Mshtml.dll", version:"9.0.8112.20530", min_version:"9.0.8112.20000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"6.1", file:"Mshtml.dll", version:"9.0.8112.16430", min_version:"9.0.8112.16000", dir:"\system32", bulletin:bulletin, kb:kb) || # - Internet Explorer 8 hotfix_is_vulnerable(os:"6.1", sp:1, file:"Mshtml.dll", version:"8.0.7601.21735", min_version:"8.0.7601.20000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"6.1", sp:1, file:"Mshtml.dll", version:"8.0.7601.17622", min_version:"8.0.7601.17000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"6.1", sp:0, file:"Mshtml.dll", version:"8.0.7600.20975", min_version:"8.0.7600.20000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"6.1", sp:0, file:"Mshtml.dll", version:"8.0.7600.16821", min_version:"8.0.7600.16000", dir:"\system32", bulletin:bulletin, kb:kb) || # Vista / Windows 2008 # # - Internet Explorer 9 hotfix_is_vulnerable(os:"6.0", file:"Mshtml.dll", version:"9.0.8112.20530", min_version:"9.0.8112.20000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"6.0", file:"Mshtml.dll", version:"9.0.8112.16430", min_version:"9.0.8112.16000", dir:"\system32", bulletin:bulletin, kb:kb) || # - Internet Explorer 8 hotfix_is_vulnerable(os:"6.0", file:"Mshtml.dll", version:"8.0.6001.23181", min_version:"8.0.6001.20000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"6.0", file:"Mshtml.dll", version:"8.0.6001.19088", min_version:"8.0.6001.18000", dir:"\system32", bulletin:bulletin, kb:kb) || # - Internet Explorer 7 hotfix_is_vulnerable(os:"6.0", sp:2, file:"Mshtml.dll", version:"7.0.6002.22629", min_version:"7.0.6002.20000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"6.0", sp:2, file:"Mshtml.dll", version:"7.0.6002.18457", min_version:"7.0.6002.18000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"6.0", sp:1, file:"Mshtml.dll", version:"7.0.6001.22905", min_version:"7.0.6001.20000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"6.0", sp:1, file:"Mshtml.dll", version:"7.0.6001.18639", min_version:"7.0.6001.18000", dir:"\system32", bulletin:bulletin, kb:kb) || # Windows 2003 / XP 64-bit # # - Internet Explorer 8 hotfix_is_vulnerable(os:"5.2", sp:2, file:"Mshtml.dll", version:"8.0.6001.23181", min_version:"8.0.6001.20000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"5.2", sp:2, file:"Mshtml.dll", version:"8.0.6001.19088", min_version:"8.0.0.0", dir:"\system32", bulletin:bulletin, kb:kb) || # - Internet Explorer 7 hotfix_is_vulnerable(os:"5.2", sp:2, file:"Mshtml.dll", version:"7.0.6000.21300", min_version:"7.0.6000.20000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"5.2", sp:2, file:"Mshtml.dll", version:"7.0.6000.17098", min_version:"7.0.0.0", dir:"\system32", bulletin:bulletin, kb:kb) || # - Internet Explorer 6 hotfix_is_vulnerable(os:"5.2", sp:2, file:"Mshtml.dll", version:"6.0.3790.4857", min_version:"6.0.0.0", dir:"\system32", bulletin:bulletin, kb:kb) || # Windows XP x86 # # - Internet Explorer 8 hotfix_is_vulnerable(os:"5.1", sp:3, file:"Mshtml.dll", version:"8.0.6001.23181", min_version:"8.0.6001.20000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"5.1", sp:3, file:"Mshtml.dll", version:"8.0.6001.19088", min_version:"8.0.0.0", dir:"\system32", bulletin:bulletin, kb:kb) || # - Internet Explorer 7 hotfix_is_vulnerable(os:"5.1", sp:3, file:"Mshtml.dll", version:"7.0.6000.21300", min_version:"7.0.6000.20000", dir:"\system32", bulletin:bulletin, kb:kb) || hotfix_is_vulnerable(os:"5.1", sp:3, file:"Mshtml.dll", version:"7.0.6000.17098", min_version:"7.0.0.0", dir:"\system32", bulletin:bulletin, kb:kb) || # - Internet Explorer 6 hotfix_is_vulnerable(os:"5.1", sp:3, file:"Mshtml.dll", version:"6.0.2900.6104", min_version:"6.0.2900.0", dir:"\system32", bulletin:bulletin, kb:kb) ) { set_kb_item(name:"SMB/Missing/"+bulletin, value:TRUE); hotfix_security_hole(); hotfix_check_fversion_end(); exit(0); } else { hotfix_check_fversion_end(); audit(AUDIT_HOST_NOT, 'affected'); }
NASL family Windows : Microsoft Bulletins NASL id SMB_NT_MS11-074.NASL description The version of SharePoint Services, SharePoint Server, Groove, or Office Web Apps installed on the remote host has multiple privilege escalation and information disclosure vulnerabilities. A remote attacker could exploit them by tricking a user into making a malicious request, resulting in arbitrary script code execution. last seen 2020-06-01 modified 2020-06-02 plugin id 56177 published 2011-09-14 reporter This script is Copyright (C) 2011-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/56177 title MS11-074: Vulnerabilities in Microsoft SharePoint Could Allow Elevation of Privilege (2451858) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(56177); script_version("1.22"); script_cvs_date("Date: 2018/11/15 20:50:31"); script_cve_id( "CVE-2011-0653", "CVE-2011-1252", "CVE-2011-1890", "CVE-2011-1891", "CVE-2011-1892", "CVE-2011-1893" ); script_bugtraq_id( 48199, 49002, 49004, 49005, 49010, 49511, 49620 ); script_xref(name:"EDB-ID", value:"17873"); script_xref(name:"IAVB", value:"2011-B-0115"); script_xref(name:"MSFT", value:"MS11-074"); script_xref(name:"MSKB", value:"2493987"); script_xref(name:"MSKB", value:"2494001"); script_xref(name:"MSKB", value:"2494007"); script_xref(name:"MSKB", value:"2494022"); script_xref(name:"MSKB", value:"2508964"); script_xref(name:"MSKB", value:"2508965"); script_xref(name:"MSKB", value:"2552997"); script_xref(name:"MSKB", value:"2552998"); script_xref(name:"MSKB", value:"2552999"); script_xref(name:"MSKB", value:"2553001"); script_xref(name:"MSKB", value:"2560885"); script_xref(name:"MSKB", value:"2566445"); script_xref(name:"MSKB", value:"2566449"); script_xref(name:"MSKB", value:"2566450"); script_xref(name:"MSKB", value:"2566954"); script_xref(name:"MSKB", value:"2566958"); script_name(english:"MS11-074: Vulnerabilities in Microsoft SharePoint Could Allow Elevation of Privilege (2451858)"); script_summary(english:"Checks SharePoint / Groove / Office Web Apps version"); script_set_attribute(attribute:"synopsis", value: "The remote host is affected by multiple privilege escalation and information disclosure vulnerabilities."); script_set_attribute(attribute:"description", value: "The version of SharePoint Services, SharePoint Server, Groove, or Office Web Apps installed on the remote host has multiple privilege escalation and information disclosure vulnerabilities. A remote attacker could exploit them by tricking a user into making a malicious request, resulting in arbitrary script code execution."); script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/519624"); script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2011/ms11-074"); script_set_attribute(attribute:"solution", value: "Microsoft has released a set of patches for SharePoint Server 2007, SharePoint Server 2010, SharePoint Workspace 2010, SharePoint Foundation 2010, Office Groove 2007, Office Forms Server 2007, Office Groove Server 2007, Office Groove Data Bridge Server 2007, Office Groove Management Server 2007, Groove Server 2010, Windows SharePoint Services 2.0, Windows SharePoint Services 3.0, Office Web Apps 2010, and Word Web App 2010."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N"); script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"exploited_by_malware", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2011/06/14"); script_set_attribute(attribute:"patch_publication_date", value:"2011/09/13"); script_set_attribute(attribute:"plugin_publication_date", value:"2011/09/14"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:sharepoint_server"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:forms_server"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:groove"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:groove_data_bridge_server"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:groove_management_server"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:groove_server"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:office_web_apps"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:sharepoint_foundation"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:sharepoint_services"); script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:sharepoint_workspace"); script_set_attribute(attribute:"stig_severity", value:"II"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Windows : Microsoft Bulletins"); script_copyright(english:"This script is Copyright (C) 2011-2018 Tenable Network Security, Inc."); script_dependencies("smb_hotfixes.nasl", "ms_bulletin_checks_possible.nasl"); script_require_keys("SMB/MS_Bulletin_Checks/Possible"); script_require_ports(139, 445, 'Host/patch_management_checks'); exit(0); } include("audit.inc"); include("smb_func.inc"); include("smb_hotfixes.inc"); include("smb_hotfixes_fcheck.inc"); include("misc_func.inc"); get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible"); bulletin = 'MS11-074'; kbs = make_list("2493987", "2494001", "2494007", "2494022", "2508964", "2508965", "2552997", "2552998", "2552999", "2553001", "2560885", "2566445", "2566449", "2566450", "2566954", "2566958"); if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_WARNING); get_kb_item_or_exit("SMB/WindowsVersion"); global_var hklm; function get_key(attr, key) { local_var item, key_h, value; key_h = RegOpenKey(handle:hklm, key:key, mode:MAXIMUM_ALLOWED); if (isnull(key_h)) return NULL; item = RegQueryValue(handle:key_h, item:attr); if (!isnull(item)) value = item[1]; RegCloseKey(handle:key_h); return value; } function get_ver(base, file) { local_var handle, path, r, share, ver; if (isnull(base)) return NULL; share = ereg_replace(pattern:"^([A-Za-z]):.*", replace:"\1$", string:base); path = ereg_replace(pattern:"^[A-Za-z]:(.*)", replace:"\1\" + file, string:base); ver = NULL; r = NetUseAdd(share:share); if (r != 1) { NetUseDel(); exit(1, "Can't connect to '" + share + "' share."); } handle = CreateFile( file : path, desired_access : GENERIC_READ, file_attributes : FILE_ATTRIBUTE_NORMAL, share_mode : FILE_SHARE_READ, create_disposition : OPEN_EXISTING ); if (!isnull(handle)) { ver = GetFileVersion(handle:handle); CloseFile(handle:handle); } NetUseDel(close:FALSE); return ver; } # Get credentials and connection information. port = kb_smb_transport(); login = kb_smb_login(); pass = kb_smb_password(); domain = kb_smb_domain(); if(! smb_session_init()) audit(AUDIT_FN_FAIL, "smb_session_init"); # Connect to IPC share. rc = NetUseAdd(login:login, password:pass, domain:domain, share:"IPC$"); if (rc != 1) { NetUseDel(); audit(AUDIT_SHARE_FAIL, "IPC$"); } # Connect to remote registry. hklm = RegConnectRegistry(hkey:HKEY_LOCAL_MACHINE); if (isnull(hklm)) { NetUseDel(); audit(AUDIT_REG_FAIL); } # Get path information for SharePoint Services or Foundation. foreach ver (make_list("6.0", "12.0", "14.0")) { spsvc_path = get_key( key : "SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\" + ver, attr : "Location" ); if (!isnull(spsvc_path)) break; } # Get path information for Groove 2007. g_path = get_key( key : "SOFTWARE\Microsoft\Office\12.0\Groove\InstallRoot", attr : "Path" ); # Get path information for Groove Server 2007 Data Bridge. gdb_path = get_key( key : "SOFTWARE\Microsoft\Office Server\12.0\Groove", attr : "InstallRoot" ); # Get path information for IIS webroot (needed for Groove Management # Server 2007/2010). gms_path = get_key( key : "SOFTWARE\Microsoft\InetStp", attr : "PathWWWRoot" ); if ("%systemdrive%" >< tolower(gms_path)) { root = hotfix_get_systemroot(); gms_path = root[0] + ":" + substr(gms_path, strlen("%systemdrive%")); } # Get path information for SharePoint Workspace. spws_path = get_key( key : "SOFTWARE\Microsoft\Office\14.0\Groove\InstallRoot", attr : "Path" ); # Get path information for SharePoint Server 2007. sps_2007_path = get_key( key : "SOFTWARE\Microsoft\Office Server\12.0", attr : "InstallPath" ); # Get path information for SharePoint Server 2010. sps_2010_path = get_key( key : "SOFTWARE\Microsoft\Office Server\14.0", attr : "InstallPath" ); # Get path information for Office Web Apps. owa_path = sps_2010_path; # Get path information for Word 2010 Web Apps, which is technically # Word Automation Services for SharePoint Server 2010. wwa_path = sps_2010_path; # Get path information for Office Form Server 2007. ofs_path = sps_2007_path; # Get path information for SharePoint Server 2010 OSRV and WOSRV. osrv_path = get_key( key : "SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0", attr : "Location" ); # Get path information for SharePoint Server 2010 DLC. dlc_path = osrv_path; # Get path information for KB2566958. kb2566958_path = osrv_path; # Close connection to registry. RegCloseKey(handle:hklm); NetUseDel(close:FALSE); # Get version information for SharePoint Services and Foundation. spsvc_file = "ISAPI\Owssvr.dll"; spsvc_ver = get_ver(base:spsvc_path, file:spsvc_file); # Get version information for Groove 2007. g_file = "GrooveUtil.dll"; g_ver = get_ver(base:g_path, file:g_file); # Get version information for Groove Server 2007 Data Bridge. gdb_file = "bin\GrooveUtil.dll"; gdb_ver = get_ver(base:gdb_path, file:gdb_file); # Get version information for Groove Management Server 2007. gms_file = "GMS\bin\Groove.management.server.dll"; gms_ver = get_ver(base:gms_path, file:gms_file); if (isnull(gms_ver)) { # Get version information for Groove Management Server 2007. gms_file = "GMS14\Admin\bin\Groove.management.server.dll"; gms_ver = get_ver(base:gms_path, file:gms_file); } # Get version information for SharePoint Workspace. spws_file = "Groove.exe"; spws_ver = get_ver(base:spws_path, file:spws_file); # Get version information for SharePoint Server 2007 sps_2007_file = "Bin\Microsoft.sharepoint.publishing.dll"; sps_2007_ver = get_ver(base:sps_2007_path, file:sps_2007_file); # Get version information for SharePoint Server 2010. sps_2010_file = "Bin\Microsoft.sharepoint.publishing.dll"; sps_2010_ver = get_ver(base:sps_2010_path, file:sps_2010_file); # Get version for Office 2010 Web Apps. owa_file = "WebServices\ConversionService\Bin\Converter\sword.dll"; owa_ver = get_ver(base:owa_path, file:owa_file); # Get version for Word 2010 Web Apps, which is technically Word # Automation Services for SharePoint Server 2010. wwa_file = "WebServices\WordServer\Core\sword.dll"; wwa_ver = get_ver(base:wwa_path, file:wwa_file); # Get version information for SharePoint Server 2007, SharePoint # Server 2007 for Search, and Office Forms Server 2007. KB2553001, # KB2553002, and KB2553005 refer to this file as "Pidval.exe", but in # we found it to instead be named "Pidvalidator.exe". We'll check both # to be on the safe side. ofs_file = "Bin\Pidvalidator.exe"; ofs_ver = get_ver(base:ofs_path, file:ofs_file); if (isnull(ofs_ver)) { ofs_file = "Bin\Pidval.exe"; ofs_ver = get_ver(base:ofs_path, file:ofs_file); } # Get version for SharePoint Server 2010 OSRV and WOSRV. osrv_file = "ISAPI\Microsoft.Office.Server.dll"; osrv_ver = get_ver(base:osrv_path, file:osrv_file); # Get version for SharePoint Server 2010 DLC. dlc_file = "ISAPI\Microsoft.office.policy.dll"; dlc_ver = get_ver(base:dlc_path, file:dlc_file); # Get version for KB2566456. kb2566958_file = "ISAPI\Microsoft.sharepoint.client.dll"; kb2566958_ver = get_ver(base:kb2566958_path, file:kb2566958_file); # Close connection to server. NetUseDel(); ###################################################################### # Windows SharePoint Services # --------------------------- # [KB2494007] v2: Owssvr.dll (11.0.8339.0) # [KB2493987] v3: Owssvr.dll (12.0.6565.5001) # # # Microsoft SharePoint Foundation 2010 # ------------------------------------ # [KB2494001] Owssvr.dll (14.0.6106.5008) ###################################################################### if (!isnull(spsvc_ver)) { fix = NULL; if (spsvc_ver[0] == 11) { name = "Windows SharePoint Services"; fix = "11.0.8339.0"; kb = "2494007"; } else if (spsvc_ver[0] == 12) { name = "Windows SharePoint Services"; fix = "12.0.6565.5001"; kb = "2493987"; } else if (spsvc_ver[0] == 14) { name = "Microsoft SharePoint Foundation 2010"; fix = "14.0.6106.5008"; kb = "2494001"; } spsvc_ver = join(spsvc_ver, sep:"."); if (!isnull(fix) && ver_compare(ver:spsvc_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + spsvc_path + spsvc_file + '\n Installed version : ' + spsvc_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft Groove 2007 # --------------------- # [KB2552997] Grooveutil.dll (12.0.6562.5000) ###################################################################### if (!isnull(g_ver)) { name = "Groove 2007"; fix = "12.0.6562.5000"; kb = "2552997"; g_ver = join(g_ver, sep:"."); if (ver_compare(ver:g_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + g_path + g_file + '\n Installed version : ' + g_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft Groove Server 2007 Data Bridge # ---------------------------------------- # [KB2552999] Grooveutil.dll (4.2.2.2827) ###################################################################### if (!isnull(gdb_ver)) { name = "Groove Server 2007 Data Bridge"; fix = "4.2.2.2827"; kb = "2552999"; gdb_ver = join(gdb_ver, sep:"."); if (ver_compare(ver:gdb_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + gdb_path + gdb_file + '\n Installed version : ' + gdb_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft Groove Management Server # ---------------------------------- # [KB2552998] 2007: Groove.management.server.dll (4.2.2.2827) # [KB2508965] 2010: Groove.management.server.dll (14.0.6106.5000) ###################################################################### if (!isnull(gms_ver)) { fix = NULL; if (gms_ver[0] == 14) { name = "Groove Management Server 2010"; fix = "14.0.6106.5000"; kb = "2508965"; } else if (gms_ver[0] < 14) { name = "Groove Management Server 2007"; fix = "4.2.2.2827"; kb = "2552998"; } gms_ver = join(gms_ver, sep:"."); if (!isnull(fix) && ver_compare(ver:gms_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + gms_path + "\" + gms_file + '\n Installed version : ' + gms_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft SharePoint Workspace 2010 # ----------------------------------- # [KB2566445] Groove.exe (14.0.6106.5000) ###################################################################### if (!isnull(spws_ver)) { name = "SharePoint Workspace 2010"; fix = "14.0.6106.5000"; kb = "2566445"; spws_ver = join(spws_ver, sep:"."); if (ver_compare(ver:spws_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + spws_path + spws_file + '\n Installed version : ' + spws_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft Office SharePoint Server 2007 # --------------------------------------- # [KB2508964] Microsoft.sharepoint.publishing.dll (12.0.6555.5000) ###################################################################### if (!isnull(sps_2007_ver)) { name = "SharePoint Server 2007"; fix = "12.0.6555.5000"; kb = "2508964"; sps_2007_ver = join(sps_2007_ver, sep:"."); if (ver_compare(ver:sps_2007_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + sps_2007_path + sps_2007_file + '\n Installed version : ' + sps_2007_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft Office SharePoint Server 2010 # --------------------------------------- # [KB2494022] Microsoft.sharepoint.publishing.dll (14.0.6106.5001) ###################################################################### if (!isnull(sps_2010_ver)) { name = "SharePoint Server 2010"; fix = "14.0.6106.5001"; kb = "2494022"; sps_2010_ver = join(sps_2010_ver, sep:"."); if (ver_compare(ver:sps_2010_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + sps_2010_path + sps_2010_file + '\n Installed version : ' + sps_2010_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft Office 2010 Web Apps # ------------------------------ # [KB2566449] sword.dll (14.0.6106.5000) ###################################################################### if (!isnull(owa_ver)) { name = "Microsoft Office 2010 Web Apps"; fix = "14.0.6106.5000"; kb = "2566449"; owa_ver = join(owa_ver, sep:"."); if (ver_compare(ver:owa_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + owa_path + owa_file + '\n Installed version : ' + owa_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft Word Web Application 2010 # ----------------------------------- # [KB2566450] sword.dll (14.0.6106.5000) ###################################################################### if (!isnull(wwa_ver)) { name = "Microsoft Word Web Application 2010"; fix = "14.0.6106.5000"; kb = "2566450"; wwa_ver = join(wwa_ver, sep:"."); if (ver_compare(ver:wwa_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + wwa_path + wwa_file + '\n Installed version : ' + wwa_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft Groove Server 2007 # ---------------------------- # [KB2553001] Pidval.exe (12.0.6562.5000) # # # Microsoft Groove Server 2007 for Search # --------------------------------------- # [KB2553002] Pidval.exe (12.0.6562.5000) # # # Microsoft Office Forms Server 2007 # ---------------------------------- # [KB2553005] Pidval.exe (12.0.6562.5000) ###################################################################### if (!isnull(ofs_ver)) { # XXX-TODO: Need to fix the name and KB later to distinguish between # the three possibilities above. name = "SharePoint Server 2007 / Office Forms Server 2007"; fix = "12.0.6562.5000"; kb = "2553001"; ofs_ver = join(ofs_ver, sep:"."); if (ofs_ver =~ "^12\.0" && ver_compare(ver:ofs_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + ofs_path + ofs_file + '\n Installed version : ' + ofs_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft SharePoint Server 2010 # -------------------------------- # [KB2560885] OSRV: Microsoft.office.server.dll (14.0.6106.5001) # [KB2566960] WOSRV: Microsoft.office.server.dll (14.0.6106.5001) ###################################################################### if (!isnull(osrv_ver)) { # XXX-TODO: Need to fix the name and KB later to distinguish between # the two possibilities above. name = "SharePoint Server 2010 OSRV / WOSRV"; fix = "14.0.6106.5001"; kb = "2560885"; osrv_ver = join(osrv_ver, sep:"."); if (ver_compare(ver:osrv_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + osrv_path + osrv_file + '\n Installed version : ' + osrv_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft SharePoint Server 2010 Document Lifecycle Components # -------------------------------------------------------------- # [KB2566954] Microsoft.office.policy.dll (14.0.6106.5001) ###################################################################### if (!isnull(dlc_ver)) { name = "SharePoint Server 2010 Document Lifecycle Components"; fix = "14.0.6106.5001"; kb = "2566954"; dlc_ver = join(dlc_ver, sep:"."); if (ver_compare(ver:dlc_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + dlc_path + dlc_file + '\n Installed version : ' + dlc_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } ###################################################################### # Microsoft SharePoint Server 2010 # -------------------------------- # [KB2566958] Microsoft.sharepoint.client.dll (14.0.6106.5001) ###################################################################### if (!isnull(kb2566958_ver)) { name = "SharePoint Server 2010"; fix = "14.0.6106.5001"; kb = "2566958"; kb2566958_ver = join(kb2566958_ver, sep:"."); if (ver_compare(ver:kb2566958_ver, fix:fix) < 0) { info = '\n Product : ' + name + '\n Path : ' + kb2566958_path + kb2566958_file + '\n Installed version : ' + kb2566958_ver + '\n Fixed version : ' + fix + '\n'; hotfix_add_report(info, bulletin:bulletin, kb:kb); vuln = TRUE; } } hotfix_check_fversion_end(); if (!vuln) exit(0, "The host is not affected"); # Flag the system as vulnerable. set_kb_item(name:"SMB/Missing/" + bulletin, value:TRUE); set_kb_item(name:"www/0/XSS", value:TRUE); hotfix_security_warning();
Oval
accepted 2014-08-18T04:00:31.922-04:00 class vulnerability contributors name Dragos Prisaca organization Symantec Corporation name Dragos Prisaca organization Symantec Corporation name Maria Mikhno organization ALTX-SOFT name Maria Mikhno organization ALTX-SOFT
definition_extensions comment Microsoft Windows XP (32-bit) is installed oval oval:org.mitre.oval:def:1353 comment Microsoft Windows XP x64 is installed oval oval:org.mitre.oval:def:15247 comment Microsoft Windows Server 2003 (32-bit) is installed oval oval:org.mitre.oval:def:1870 comment Microsoft Windows Server 2003 (x64) is installed oval oval:org.mitre.oval:def:730 comment Microsoft Windows Server 2003 (ia64) Gold is installed oval oval:org.mitre.oval:def:396 comment Microsoft Internet Explorer 7 is installed oval oval:org.mitre.oval:def:627 comment Microsoft Windows Vista (32-bit) is installed oval oval:org.mitre.oval:def:1282 comment Microsoft Windows Vista x64 Edition is installed oval oval:org.mitre.oval:def:2041 comment Microsoft Windows Server 2008 (32-bit) is installed oval oval:org.mitre.oval:def:4870 comment Microsoft Windows Server 2008 (64-bit) is installed oval oval:org.mitre.oval:def:5356 comment Microsoft Windows Server 2008 (ia-64) is installed oval oval:org.mitre.oval:def:5667 comment Microsoft Internet Explorer 7 is installed oval oval:org.mitre.oval:def:627 comment Microsoft Windows Vista (32-bit) is installed oval oval:org.mitre.oval:def:1282 comment Microsoft Windows Vista x64 Edition is installed oval oval:org.mitre.oval:def:2041 comment Microsoft Windows Server 2008 (32-bit) is installed oval oval:org.mitre.oval:def:4870 comment Microsoft Windows Server 2008 (64-bit) is installed oval oval:org.mitre.oval:def:5356 comment Microsoft Windows Server 2008 (ia-64) is installed oval oval:org.mitre.oval:def:5667 comment Microsoft Internet Explorer 7 is installed oval oval:org.mitre.oval:def:627 comment Microsoft Windows XP (32-bit) is installed oval oval:org.mitre.oval:def:1353 comment Microsoft Windows XP x64 is installed oval oval:org.mitre.oval:def:15247 comment Microsoft Windows Server 2003 (32-bit) is installed oval oval:org.mitre.oval:def:1870 comment Microsoft Windows Server 2003 (x64) is installed oval oval:org.mitre.oval:def:730 comment Microsoft Internet Explorer 8 is installed oval oval:org.mitre.oval:def:6210 comment Microsoft Windows Vista (32-bit) is installed oval oval:org.mitre.oval:def:1282 comment Microsoft Windows Vista x64 Edition is installed oval oval:org.mitre.oval:def:2041 comment Microsoft Windows Server 2008 (32-bit) is installed oval oval:org.mitre.oval:def:4870 comment Microsoft Windows Server 2008 (64-bit) is installed oval oval:org.mitre.oval:def:5356 comment Microsoft Internet Explorer 8 is installed oval oval:org.mitre.oval:def:6210 comment Microsoft Windows 7 (32-bit) is installed oval oval:org.mitre.oval:def:6165 comment Microsoft Windows 7 x64 Edition is installed oval oval:org.mitre.oval:def:5950 comment Microsoft Windows Server 2008 R2 x64 Edition is installed oval oval:org.mitre.oval:def:6438 comment Microsoft Windows Server 2008 R2 Itanium-Based Edition is installed oval oval:org.mitre.oval:def:5954 comment Microsoft Internet Explorer 8 is installed oval oval:org.mitre.oval:def:6210 comment Microsoft Windows 7 (32-bit) is installed oval oval:org.mitre.oval:def:6165 comment Microsoft Windows 7 x64 Edition is installed oval oval:org.mitre.oval:def:5950 comment Microsoft Windows Server 2008 R2 x64 Edition is installed oval oval:org.mitre.oval:def:6438 comment Microsoft Windows Server 2008 R2 Itanium-Based Edition is installed oval oval:org.mitre.oval:def:5954 comment Microsoft Internet Explorer 8 is installed oval oval:org.mitre.oval:def:6210
description Cross-site scripting (XSS) vulnerability in the SafeHTML function in the toStaticHTML API in Microsoft Internet Explorer 7 and 8, Office SharePoint Server 2007 SP2, Office SharePoint Server 2010 Gold and SP1, Groove Server 2010 Gold and SP1, Windows SharePoint Services 3.0 SP2, and SharePoint Foundation 2010 Gold and SP1 allows remote attackers to inject arbitrary web script or HTML via unspecified strings, aka "toStaticHTML Information Disclosure Vulnerability" or "HTML Sanitization Vulnerability." family windows id oval:org.mitre.oval:def:12577 status accepted submitted 2011-06-14T13:00:00 title toStaticHTML Information Disclosure Vulnerability version 81 accepted 2013-11-11T04:00:07.368-05:00 class vulnerability contributors name Dragos Prisaca organization Symantec Corporation name Chandan S organization SecPod Technologies
definition_extensions comment Microsoft Office SharePoint Server 2007 is installed. oval oval:org.mitre.oval:def:2313 comment Microsoft Office SharePoint Server 2007 is installed. oval oval:org.mitre.oval:def:2313 comment Microsoft Office SharePoint Server 2007 is installed. oval oval:org.mitre.oval:def:2313 comment Microsoft Office SharePoint Server 2010 is installed. oval oval:org.mitre.oval:def:12880 comment Microsoft Office SharePoint Server 2010 is installed. oval oval:org.mitre.oval:def:12880 comment Microsoft Office SharePoint Server 2010 is installed. oval oval:org.mitre.oval:def:12880 comment Microsoft Office SharePoint Server 2010 is installed. oval oval:org.mitre.oval:def:12880 comment Microsoft Office SharePoint Server 2010 is installed. oval oval:org.mitre.oval:def:12880 comment Microsoft Groove Server 2010 is installed oval oval:org.mitre.oval:def:12278 comment Microsoft SharePoint Foundation 2010 is installed oval oval:org.mitre.oval:def:12224
description Cross-site scripting (XSS) vulnerability in the SafeHTML function in the toStaticHTML API in Microsoft Internet Explorer 7 and 8, Office SharePoint Server 2007 SP2, Office SharePoint Server 2010 Gold and SP1, Groove Server 2010 Gold and SP1, Windows SharePoint Services 3.0 SP2, and SharePoint Foundation 2010 Gold and SP1 allows remote attackers to inject arbitrary web script or HTML via unspecified strings, aka "toStaticHTML Information Disclosure Vulnerability" or "HTML Sanitization Vulnerability." family windows id oval:org.mitre.oval:def:12885 status accepted submitted 2011-09-13T13:00:00 title HTML Sanitization Vulnerability version 12
Packetstorm
data source | https://packetstormsecurity.com/files/download/103241/msietostatic-disclose.txt |
id | PACKETSTORM:103241 |
last seen | 2016-12-05 |
published | 2011-07-21 |
reporter | Adi Cohen |
source | https://packetstormsecurity.com/files/103241/Microsoft-Internet-Explorer-toStaticHTML-Information-Disclosure.html |
title | Microsoft Internet Explorer toStaticHTML Information Disclosure |
Seebug
bulletinFamily exploit description Bugtraq ID: 48199 CVE ID:CVE-2011-1252 Microsoft Internet Explorer是一款微软开发的WEB浏览器。 在过滤某些字符串时"toStaticHTML()"函数存在错误,可泄露某些敏感信息。 Microsoft Internet Explorer 8 Microsoft Internet Explorer 7.0 Microsoft Internet Explorer 7.0 厂商解决方案 用户可参考如下供应商提供的安全公告获得补丁信息: http://www.microsoft.com/technet/security/Bulletin/MS11-050.mspx id SSV:20624 last seen 2017-11-19 modified 2011-06-16 published 2011-06-16 reporter Root title Microsoft Internet Explorer 'toStaticHTML' HTML过滤嗅探信息泄露漏洞 bulletinFamily exploit description No description provided by source. id SSV:20756 last seen 2017-11-19 modified 2011-07-23 published 2011-07-23 reporter Root source https://www.seebug.org/vuldb/ssvid-20756 title Microsoft Internet Explorer 'toStaticHTML' HTML Sanitizing
References
- http://www.us-cert.gov/cas/techalerts/TA11-256A.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12885
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12577
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2011/ms11-074
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2011/ms11-050