{"id": "OPENVAS:902176", "type": "openvas", "bulletinFamily": "scanner", "title": "Microsoft SharePoint '_layouts/help.aspx' Cross Site Scripting Vulnerability", "description": "This host is running Microsoft SharePoint Server and is prone to\nCross Site Scripting vulnerability.", "published": "2010-05-04T00:00:00", "modified": "2017-02-22T00:00:00", "cvss": {"score": 4.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:NONE/I:PARTIAL/A:NONE/"}, "href": "http://plugins.openvas.org/nasl.php?oid=902176", "reporter": "Copyright (c) 2010 SecPod", "references": ["http://www.htbridge.ch/advisory/xss_in_microsoft_sharepoint_server_2007.html", "http://www.securityfocus.com/archive/1/archive/1/509683/100/0/threaded", "http://www.microsoft.com/technet/security/advisory/983438.mspx"], "cvelist": ["CVE-2010-0817"], "lastseen": "2017-07-02T21:09:52", "viewCount": 35, "enchantments": {"score": {"value": -0.9, "vector": "NONE"}, "dependencies": {"references": [{"type": "checkpoint_advisories", "idList": ["CPAI-2010-074"]}, {"type": "cve", "idList": ["CVE-2010-0817"]}, {"type": "htbridge", "idList": ["HTB22350"]}, {"type": "nessus", "idList": ["SHAREPOINT_HELP_XSS.NASL", "SMB_NT_MS10-039.NASL"]}, {"type": "openvas", "idList": ["OPENVAS:103254", "OPENVAS:1361412562310103254", "OPENVAS:1361412562310902176"]}, {"type": "securityvulns", "idList": ["SECURITYVULNS:DOC:24021", "SECURITYVULNS:VULN:10915"]}], "rev": 4}, "backreferences": {"references": [{"type": "checkpoint_advisories", "idList": ["CPAI-2010-074"]}, {"type": "cve", "idList": ["CVE-2010-0817"]}, {"type": "nessus", "idList": ["SHAREPOINT_HELP_XSS.NASL"]}, {"type": "securityvulns", "idList": ["SECURITYVULNS:VULN:10915"]}]}, "exploitation": null, "vulnersScore": -0.9}, "pluginID": "902176", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: secpod_ms_sharepoint_layouts_xss_vuln.nasl 5394 2017-02-22 09:22:42Z teissa $\n#\n# Microsoft SharePoint '_layouts/help.aspx' Cross Site Scripting Vulnerability\n#\n# Authors:\n# Antu Sanadi <santu@secpod.com>\n#\n# Copyright:\n# Copyright (c) 2010 SecPod, http://www.secpod.com\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ntag_solution = \"Apply the patch from below link\nhttp://technet.microsoft.com/en-us/security/bulletin/MS10-039 \";\n\ntag_impact = \"Successful exploitation will allow remote authenticated users\nto compromise the application, theft of cookie-based authentication credentials,\ndisclosure or modification of sensitive data.\n\nImpact Level: Application\";\n\ntag_affected = \"Microsoft Windows SharePoint Services 3.0 SP 1\n Microsoft Office SharePoint Server SP1 2007 12.0.0.6421 and prior.\";\n\ntag_insight = \"This flaw is due to insufficient validation of user supplied\ndata passed into 'cid0' parameter in the '_layouts/help.aspx' in SharePoint\nTeam Services.\";\n\ntag_summary = \"This host is running Microsoft SharePoint Server and is prone to\nCross Site Scripting vulnerability.\";\n\nif(description)\n{\n script_id(902176);\n script_version(\"$Revision: 5394 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-02-22 10:22:42 +0100 (Wed, 22 Feb 2017) $\");\n script_tag(name:\"creation_date\", value:\"2010-05-04 09:40:09 +0200 (Tue, 04 May 2010)\");\n script_cve_id(\"CVE-2010-0817\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_name(\"Microsoft SharePoint '_layouts/help.aspx' Cross Site Scripting Vulnerability\");\n\n script_xref(name : \"URL\" , value : \"http://www.microsoft.com/technet/security/advisory/983438.mspx\");\n script_xref(name : \"URL\" , value : \"http://www.securityfocus.com/archive/1/archive/1/509683/100/0/threaded\");\n script_xref(name : \"URL\" , value : \"http://www.htbridge.ch/advisory/xss_in_microsoft_sharepoint_server_2007.html\");\n\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (c) 2010 SecPod\");\n script_family(\"Windows\");\n script_dependencies(\"remote-detect-WindowsSharepointServices.nasl\");\n script_require_keys(\"MicrosoftSharePointTeamServices/version\");\n script_tag(name : \"impact\" , value : tag_impact);\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name:\"qod_type\", value:\"registry\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n\ninclude(\"version_func.inc\");\n\nstsVer = get_kb_item(\"MicrosoftSharePointTeamServices/version\");\nif(isnull(stsVer)){\n exit(0);\n}\n\nif(version_in_range(version:stsVer, test_version:\"12.0\", test_version2:\"12.0.0.6421\")){\n security_message(0);\n}\n", "naslFamily": "Windows", "immutableFields": [], "cvss2": {}, "cvss3": {}, "_state": {"dependencies": 1647589307, "score": 1659703426}}
{"checkpoint_advisories": [{"lastseen": "2021-12-17T12:38:03", "description": "Microsoft Windows SharePoint Services (WSS) is an add-on component of Windows Server that provides content managament functionality. WSS is based on IIS and ASP.NET technologies, providing a basic portal infrastructure, collaborative editing of documents, document organization, and version control capabilities. SharePoint functionality is exposed as web parts, which are components that implement a certain functionality. The mentioned web parts are then composed into web pages, which are then hosted in the SharePoint portal. WSS is integrated in other Microsoft products such as the Office SharePoint Server. A cross-site scripting vulnerability exists in Microsoft Office SharePoint Server. The flaw is due to insufficient input validation of data supplied to the \"/_layouts/help.aspx\" script. A remote attacker can exploit this vulnerability to execute arbitrary HTML or script code within a target's web browser. Successful exploitation would result in compromise of target user's cookies (including authentication cookies) associated with the site, and modification of user information.", "cvss3": {}, "published": "2010-05-02T00:00:00", "type": "checkpoint_advisories", "title": "Microsoft Office SharePoint Server help.aspx Cross Site Scripting (CVE-2010-0817)", "bulletinFamily": "info", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2010-0817"], "modified": "2010-05-02T00:00:00", "id": "CPAI-2010-074", "href": "", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}], "cve": [{"lastseen": "2022-03-23T11:42:32", "description": "Cross-site scripting (XSS) vulnerability in _layouts/help.aspx in Microsoft SharePoint Server 2007 12.0.0.6421 and possibly earlier, and SharePoint Services 3.0 SP1 and SP2, versions, allows remote attackers to inject arbitrary web script or HTML via the cid0 parameter.", "cvss3": {}, "published": "2010-04-29T21:30:00", "type": "cve", "title": "CVE-2010-0817", "cwe": ["CWE-79"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2010-0817"], "modified": "2018-10-12T21:57:00", "cpe": ["cpe:/a:microsoft:sharepoint_server:2007", "cpe:/a:microsoft:sharepoint_services:3.0"], "id": "CVE-2010-0817", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-0817", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "cpe23": ["cpe:2.3:a:microsoft:sharepoint_services:3.0:sp2:x32:*:*:*:*:*", "cpe:2.3:a:microsoft:sharepoint_services:3.0:sp2:x64:*:*:*:*:*", "cpe:2.3:a:microsoft:sharepoint_services:3.0:sp1:x32:*:*:*:*:*", "cpe:2.3:a:microsoft:sharepoint_server:2007:*:*:*:*:*:*:*", "cpe:2.3:a:microsoft:sharepoint_services:3.0:sp1:x64:*:*:*:*:*"]}], "nessus": [{"lastseen": "2021-08-19T13:04:13", "description": "The version of Microsoft SharePoint Services running on the remote host has a cross-site scripting vulnerability. Input sent to the 'cid0' parameter of '/_layouts/help.aspx' is not properly sanitized.\n\nA remote attacker could exploit this by tricking a user into making a malicious request, resulting in the execution of arbitrary script code.", "cvss3": {"score": null, "vector": null}, "published": "2010-07-01T00:00:00", "type": "nessus", "title": "Microsoft SharePoint Services Help.aspx 'cid0' Parameter XSS", "bulletinFamily": "scanner", "cvss2": {}, "cvelist": ["CVE-2010-0817"], "modified": "2021-01-19T00:00:00", "cpe": [], "id": "SHAREPOINT_HELP_XSS.NASL", "href": "https://www.tenable.com/plugins/nessus/47580", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(47580);\n script_version(\"1.26\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/19\");\n\n script_cve_id(\"CVE-2010-0817\");\n script_bugtraq_id(39776);\n script_xref(name:\"MSFT\", value:\"MS10-039\");\n script_xref(name:\"IAVA\", value:\"2010-A-0079-S\");\n script_xref(name:\"Secunia\", value:\"39603\");\n script_xref(name:\"MSKB\", value:\"979441\");\n script_xref(name:\"MSKB\", value:\"979445\");\n script_xref(name:\"MSKB\", value:\"980923\");\n script_xref(name:\"MSKB\", value:\"983444\");\n\n script_name(english:\"Microsoft SharePoint Services Help.aspx 'cid0' Parameter XSS\");\n script_summary(english:\"Attempts a reflected XSS\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"An application running on the remote web server has a cross-site\nscripting vulnerability.\");\n script_set_attribute(attribute:\"description\", value:\n\"The version of Microsoft SharePoint Services running on the remote\nhost has a cross-site scripting vulnerability. Input sent to the\n'cid0' parameter of '/_layouts/help.aspx' is not properly sanitized.\n\nA remote attacker could exploit this by tricking a user into making a\nmalicious request, resulting in the execution of arbitrary script\ncode.\");\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?dc829339\");\n script_set_attribute(attribute:\"see_also\", value:\"https://seclists.org/bugtraq/2010/Apr/246\");\n # https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2010/ms10-039\n script_set_attribute(attribute:\"see_also\", value:\"https://www.nessus.org/u?6b560bdb\");\n script_set_attribute(attribute:\"solution\", value:\"Microsoft has released a set of patches for SharePoint Services.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_set_cvss_temporal_vector(\"CVSS2#E:H/RL:OF/RC:C\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2010-0817\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No exploit is required\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n script_set_attribute(attribute:\"exploit_framework_core\", value:\"true\");\n script_set_attribute(attribute:\"exploited_by_malware\", value:\"true\");\n script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2010/04/28\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2010/06/08\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2010/07/01\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"remote\");\n script_set_attribute(attribute:\"stig_severity\", value:\"II\");\n script_end_attributes();\n\n script_category(ACT_ATTACK);\n script_family(english:\"CGI abuses : XSS\");\n\n script_copyright(english:\"This script is Copyright (C) 2010-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"http_version.nasl\", \"sharepoint_detect.nasl\");\n script_exclude_keys(\"Settings/disable_cgi_scanning\");\n script_require_keys(\"www/ASP\", \"www/sharepoint\");\n script_require_ports(\"Services/www\", 80);\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"smb_func.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"byte_func.inc\");\ninclude(\"http.inc\");\ninclude(\"webapp_func.inc\");\ninclude(\"url_func.inc\");\n\nif ( get_kb_item(\"SMB/dont_send_in_cleartext\") ) exit(0);\n\nport = get_http_port(default:80);\ninstall = get_install_from_kb(appname:'sharepoint', port:port, exit_on_fail:TRUE);\n\nxss = 'MS.WSS.manifest.xml'+mkbyte(0)+'<script>alert(\\''+SCRIPT_NAME+'-'+unixtime()+'\\')</script>';\nunreserved = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.!~*-]/?=&\";\nxss_encoded = urlencode(str:xss, unreserved:unreserved);\nqs = 'cid0='+xss_encoded+'&tid=X';\nexpected_output = '<br/>'+xss+'<br/>X<br/>';\n\nurl = install['dir']+'/_layouts/help.aspx?'+qs;\nres = http_send_recv3(\n method:'GET',\n item:url,\n port:port,\n username:kb_smb_login(),\n password:kb_smb_password(),\n exit_on_fail:TRUE\n);\n\nif (\n '<title>Windows SharePoint Services' >< res[2] &&\n expected_output >< res[2]\n)\n{\n set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);\n\n if (report_verbosity > 0)\n {\n report = get_vuln_report(items:url, port:port);\n security_warning(port:port, extra:report);\n }\n else security_warning(port);\n}\nelse\n{\n # It's possible the XSS failed due to failed authentication\n headers = parse_http_headers(status_line:res[0], headers:res[1]);\n if (isnull(headers)) exit(1, 'Error parsing HTTP headers on port '+port+'.');\n\n http_code = headers['$code'];\n if (isnull(http_code)) exit(1, \"Error parsing HTTP response code\");\n if (http_code == 401) exit(1, 'Authentication failed on port '+port+'.');\n\n exit(0, 'SharePoint Services on port '+port+' is not affected.');\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}, {"lastseen": "2021-08-19T13:04:07", "description": "The remote Windows host is running a version of InfoPath, SharePoint Server, or SharePoint Services with the following vulnerabilities :\n\n - A cross-site scripting vulnerability in Help.aspx.\n (CVE-2010-0817)\n\n - An information disclosure vulnerability in the toStaticHTML() API. (CVE-2010-1257)\n\n - A denial of service vulnerability, triggered by sending specially crafted requests to the help page.\n (CVE-2010-1264)", "cvss3": {"score": null, "vector": null}, "published": "2010-06-09T00:00:00", "type": "nessus", "title": "MS10-039: Vulnerabilities in Microsoft SharePoint Could Allow Elevation of Privilege (2028554)", "bulletinFamily": "scanner", "cvss2": {}, "cvelist": ["CVE-2010-0817", "CVE-2010-1257", "CVE-2010-1264"], "modified": "2020-08-05T00:00:00", "cpe": ["cpe:/a:microsoft:office", "cpe:/a:microsoft:infopath", "cpe:/a:microsoft:sharepoint_server", "cpe:/a:microsoft:sharepoint_services"], "id": "SMB_NT_MS10-039.NASL", "href": "https://www.tenable.com/plugins/nessus/46846", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\n\ninclude(\"compat.inc\");\n\n\nif (description)\n{\n script_id(46846);\n script_version(\"1.28\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2020/08/05\");\n\n script_cve_id(\"CVE-2010-0817\", \"CVE-2010-1257\", \"CVE-2010-1264\");\n script_bugtraq_id(39776, 40409, 40559);\n script_xref(name:\"MSFT\", value:\"MS10-039\");\n script_xref(name:\"IAVA\", value:\"2010-A-0079-S\");\n script_xref(name:\"MSKB\", value:\"979441\");\n script_xref(name:\"MSKB\", value:\"979445\");\n script_xref(name:\"MSKB\", value:\"980923\");\n script_xref(name:\"MSKB\", value:\"983444\");\n\n script_name(english:\"MS10-039: Vulnerabilities in Microsoft SharePoint Could Allow Elevation of Privilege (2028554)\");\n script_summary(english:\"Checks SharePoint / InfoPath version\");\n\n script_set_attribute(attribute:\"synopsis\", value:\"The remote host has multiple vulnerabilities.\");\n script_set_attribute(attribute:\"description\", value:\n\"The remote Windows host is running a version of InfoPath, SharePoint\nServer, or SharePoint Services with the following vulnerabilities :\n\n - A cross-site scripting vulnerability in Help.aspx.\n (CVE-2010-0817)\n\n - An information disclosure vulnerability in the\n toStaticHTML() API. (CVE-2010-1257)\n\n - A denial of service vulnerability, triggered by sending\n specially crafted requests to the help page.\n (CVE-2010-1264)\");\n # https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2010/ms10-039\n script_set_attribute(attribute:\"see_also\", value:\"https://www.nessus.org/u?6b560bdb\");\n script_set_attribute(attribute:\"solution\", value:\n\"Microsoft has released a set of patches for InfoPath 2003, InfoPath\n2007, SharePoint Server 2007, and SharePoint Services 3.0.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N\");\n script_set_cvss_temporal_vector(\"CVSS2#E:H/RL:OF/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"Exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"true\");\n script_set_attribute(attribute:\"exploit_framework_core\", value:\"true\");\n script_set_attribute(attribute:\"exploited_by_malware\", value:\"true\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2010/04/28\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2010/06/08\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2010/06/09\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/a:microsoft:office\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/a:microsoft:infopath\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/a:microsoft:sharepoint_server\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/a:microsoft:sharepoint_services\");\n script_set_attribute(attribute:\"stig_severity\", value:\"II\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"Windows : Microsoft Bulletins\");\n\n script_copyright(english:\"This script is Copyright (C) 2010-2020 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"smb_nt_ms02-031.nasl\", \"office_installed.nasl\", \"ms_bulletin_checks_possible.nasl\");\n script_require_keys(\"SMB/MS_Bulletin_Checks/Possible\");\n script_require_ports(139, 445, 'Host/patch_management_checks');\n\n exit(0);\n}\n\n\ninclude(\"smb_func.inc\");\ninclude(\"smb_hotfixes.inc\");\ninclude(\"smb_hotfixes_fcheck.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"audit.inc\");\n\n\nget_kb_item_or_exit(\"SMB/MS_Bulletin_Checks/Possible\");\n\nbulletin = 'MS10-039';\nkbs = make_list(\"979441\", \"979445\", \"980923\", \"983444\");\nif (get_kb_item(\"Host/patch_management_checks\")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_WARNING);\n\n\n# First get the version of SharePoint\nif (!get_kb_item(\"SMB/Registry/Enumerated\"))\n exit(1, \"The 'SMB/Registry/Enumerated' KB item is missing.\");\n\nport = kb_smb_transport();\nlogin = kb_smb_login();\npass = kb_smb_password();\ndomain = kb_smb_domain();\n\nif(! smb_session_init()) audit(AUDIT_FN_FAIL, \"smb_session_init\");\n\nrc = NetUseAdd(login:login, password:pass, domain:domain, share:\"IPC$\");\nif (rc != 1)\n{\n NetUseDel();\n audit(AUDIT_SHARE_FAIL, \"IPC$\");\n}\n\n\n# Connect to remote registry.\nhklm = RegConnectRegistry(hkey:HKEY_LOCAL_MACHINE);\nif (isnull(hklm))\n{\n NetUseDel();\n audit(AUDIT_REG_FAIL);\n}\n\n# Determine where it's installed.\npath = NULL;\n\nkey = \"SOFTWARE\\Microsoft\\Shared Tools\\Web Server Extensions\\12.0\";\nkey_h = RegOpenKey(handle:hklm, key:key, mode:MAXIMUM_ALLOWED);\n\nif (!isnull(key_h))\n{\n value = RegQueryValue(handle:key_h, item:\"Location\");\n if (!isnull(value))\n path = value[1];\n\n RegCloseKey(handle:key_h);\n}\n\nRegCloseKey(handle:hklm);\nNetUseDel (close:FALSE);\n\n\nkb = '';\nsharepointserver_exe = NULL;\nif (path)\n{\n sharepointserver_exe = path + '\\\\Microsoft.Office.Server.Conversions.Launcher.exe';\n share = ereg_replace(pattern:\"^([A-Za-z]):.*\", replace:\"\\1$\", string:path);\n dll = ereg_replace(pattern:\"^[A-Za-z]:(.*)\", replace:\"\\1\\BIN\\Mssph.dll\", string:path);\n\n r = NetUseAdd(share:share);\n if ( r != 1 )\n {\n NetUseDel();\n audit(AUDIT_SHARE_FAIL, share);\n }\n\n handle = CreateFile (file:dll, desired_access:GENERIC_READ, file_attributes:FILE_ATTRIBUTE_NORMAL, share_mode:FILE_SHARE_READ, create_disposition:OPEN_EXISTING);\n if ( ! isnull(handle) )\n {\n sharepoint_ver = GetFileVersion(handle:handle);\n CloseFile(handle:handle);\n }\n handle = CreateFile (file:sharepointserver_exe, desired_access:GENERIC_READ, file_attributes:FILE_ATTRIBUTE_NORMAL, share_mode:FILE_SHARE_READ, create_disposition:OPEN_EXISTING);\n if ( ! isnull(handle) )\n {\n kb = '979445';\n CloseFile(handle:handle);\n }\n else kb = '983444';\n}\nNetUseDel();\n\nreport = \"\";\nvuln = FALSE;\n\n# The bulletin says:\n#\n# For supported editions of Microsoft Office SharePoint Server 2007, in\n# addition to security update package KB979445, customers also need to install\n# the security update for Microsoft Windows SharePoint Services 3.0 (KB982331)\n# to be protected from the vulnerabilities described in this bulletin.\n#\n# KB982331 addresses MS10-038, and is unrelated to SharePoint Services 3.0 -\n# it's for Excel. I'm going to assume that part of the sentence is\n# erroneous, and they mean KB983444. The SharePoint Server and SharePoint\n# Services KBs both update mssph.dll, and the SharePoint Services KB updates\n# it to a later version, so it looks like checking for that one file/version\n# will cover everything SharePoint-related in this bulletin\n#\nif (!isnull(sharepoint_ver))\n{\n # Version 12.0.6529.5000\n v = sharepoint_ver;\n if (v[0] == 12 && v[1] == 0 && (v[2] < 6529 || (v[2] == 6529 && v[3] < 5000)))\n {\n report +=\n '\\nProduct : SharePoint Server 2007 / SharePoint Services 3.0\\n'+\n 'Path : ' + path + \"\\bin\\mssph.dll\"+ '\\n' +\n 'Installed version : ' + join(v, sep:'.') + '\\n' +\n 'Fix : 12.0.6529.5000\\n';\n hotfix_add_report(report, bulletin:bulletin, kb:kb);\n vuln = TRUE;\n }\n}\n\n# Check InfoPath 2003 & 2007\nreport = \"\";\ninstalls = get_kb_list(\"SMB/Office/InfoPath/*/ProductPath\");\nif (!isnull(installs))\n{\n foreach install (keys(installs))\n {\n infopath_ver = install - 'SMB/Office/InfoPath/' - '/ProductPath';\n path = installs[install];\n\n v = split(infopath_ver, sep:'.', keep:FALSE);\n for (i = 0; i < max_index(v); i++)\n v[i] = int(v[i]);\n\n if (\n (v[0] == 11 && v[1] == 0 && v[2] < 8233) ||\n (v[0] == 12 && v[1] == 0 && (v[2] < 6529 || (v[2] == 6529 && v[3] < 5000)))\n )\n {\n if (v[0] == 11)\n {\n edition = '2003';\n fix = '11.0.8233.0';\n kb = '980923';\n }\n else\n {\n edition = '2007';\n fix = '12.0.6529.5000';\n kb = '979441';\n }\n report =\n '\\nProduct : Microsoft Office InfoPath '+edition+'\\n'+\n 'Path : '+path+'\\n'+\n 'Installed version : '+infopath_ver+'\\n' +\n 'Fix : '+fix+'\\n';\n hotfix_add_report(report, bulletin:bulletin, kb:kb);\n }\n }\n}\n\nif (vuln)\n{\n set_kb_item(name:'SMB/Missing/MS10-039', value:TRUE);\n set_kb_item(name: 'www/0/XSS', value: TRUE);\n\n hotfix_security_warning();\n}\nelse audit(AUDIT_HOST_NOT, 'affected');\n", "cvss": {"score": 5, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}], "htbridge": [{"lastseen": "2021-06-08T19:04:54", "description": "High-Tech Bridge SA Security Research Lab has discovered vulnerability in Microsoft SharePoint Server 2007 which could be exploited to perform cross-site scripting attacks. \n \n1) Cross-site scripting vulnerability in Microsoft SharePoint Server 2007: CVE-2010-0817 \nAn input sanitation error was found in the \"cid0\" parameter in /_layouts/help.aspx. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website. \n \nExploitation example: \n \nhttp://host/_layouts/help.aspx?cid0=MS.WSS.manifest.xml%00%3Cscript%3Ealert% 28%27XSS%27%29%3C/script%3E&tid=X \n\n", "edition": 3, "cvss3": {}, "published": "2010-04-12T00:00:00", "type": "htbridge", "title": "Cross-site Scripting Vulnerability in Microsoft SharePoint Server 2007", "bulletinFamily": "software", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2010-0817"], "modified": "2010-04-12T00:00:00", "id": "HTB22350", "href": "https://www.htbridge.com/advisory/HTB22350", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N/"}}], "openvas": [{"lastseen": "2017-09-29T14:16:36", "description": "Microsoft SharePoint Server 2007 and SharePoint Services 3.0 are prone\nto a cross-site scripting vulnerability because they fail to properly\nsanitize user-supplied input.\n\nAn attacker may leverage this issue to execute arbitrary script code\nin the browser of an unsuspecting user in the context of the affected\nsite. This may allow the attacker to steal cookie-based authentication\ncredentials and to launch other attacks.", "cvss3": {}, "published": "2011-09-14T00:00:00", "type": "openvas", "title": "Microsoft SharePoint Server 2007 '_layouts/help.aspx' Cross Site Scripting Vulnerability", "bulletinFamily": "scanner", "cvss2": {}, "cvelist": ["CVE-2010-0817"], "modified": "2017-09-26T00:00:00", "id": "OPENVAS:103254", "href": "http://plugins.openvas.org/nasl.php?oid=103254", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_sharepoint_39776.nasl 7276 2017-09-26 11:59:52Z cfischer $\n#\n# Microsoft SharePoint Server 2007 '_layouts/help.aspx' Cross Site Scripting Vulnerability\n#\n# Authors:\n# Michael Meyer <michael.meyer@greenbone.net>\n#\n# Copyright:\n# Copyright (c) 2011 Greenbone Networks GmbH\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ntag_summary = \"Microsoft SharePoint Server 2007 and SharePoint Services 3.0 are prone\nto a cross-site scripting vulnerability because they fail to properly\nsanitize user-supplied input.\n\nAn attacker may leverage this issue to execute arbitrary script code\nin the browser of an unsuspecting user in the context of the affected\nsite. This may allow the attacker to steal cookie-based authentication\ncredentials and to launch other attacks.\";\n\ntag_solution = \"The vendor has released an advisory and updates. Please see the\nreferences for details.\";\n\nif (description)\n{\n script_id(103254);\n script_version(\"$Revision: 7276 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-09-26 13:59:52 +0200 (Tue, 26 Sep 2017) $\");\n script_tag(name:\"creation_date\", value:\"2011-09-14 13:31:57 +0200 (Wed, 14 Sep 2011)\");\n script_bugtraq_id(39776);\n script_cve_id(\"CVE-2010-0817\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n\n script_name(\"Microsoft SharePoint Server 2007 '_layouts/help.aspx' Cross Site Scripting Vulnerability\");\n\n script_xref(name : \"URL\" , value : \"http://www.securityfocus.com/bid/39776\");\n script_xref(name : \"URL\" , value : \"http://blogs.technet.com/msrc/archive/2010/04/29/security-advisory-983438-released.aspx\");\n script_xref(name : \"URL\" , value : \"http://office.microsoft.com/en-us/sharepointserver/FX100492001033.aspx\");\n script_xref(name : \"URL\" , value : \"http://www.htbridge.ch/advisory/xss_in_microsoft_sharepoint_server_2007.html\");\n script_xref(name : \"URL\" , value : \"http://www.securityfocus.com/archive/1/511021\");\n script_xref(name : \"URL\" , value : \"http://support.avaya.com/css/P8/documents/100089744\");\n script_xref(name : \"URL\" , value : \"http://www.microsoft.com/technet/security/advisory/983438.mspx\");\n script_xref(name : \"URL\" , value : \"http://www.microsoft.com/technet/security/Bulletin/MS10-039.mspx\");\n\n script_tag(name:\"qod_type\", value:\"remote_vul\");\n script_category(ACT_ATTACK);\n script_family(\"Web application abuses\");\n script_copyright(\"This script is Copyright (C) 2011 Greenbone Networks GmbH\");\n script_dependencies(\"gb_get_http_banner.nasl\", \"http_version.nasl\");\n script_require_ports(\"Services/www\", 80);\n script_mandatory_keys(\"sharepoint/banner\");\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n exit(0); \n}\n\ninclude(\"http_func.inc\");\ninclude(\"http_keepalive.inc\");\n \nport = get_http_port(default:80);\nif(!can_host_asp(port:port))exit(0);\n\nbanner = get_http_banner(port:port);\nif(!banner || \"sharepoint\" >!< tolower(banner))exit(0);\n\nurl = string(\"/_layouts/help.aspx?cid0=MS.WSS.manifest.xml%00%3Cscript%3Ealert%28%27OpenVAS-XSS-Test%27%29%3C/script%3E&tid=X\"); \n\nif(http_vuln_check(port:port, url:url,pattern:\"<script>alert\\('OpenVAS-XSS-Test'\\)</script><br/>\",check_header:TRUE)) {\n security_message(port:port);\n exit(0);\n}\n\nexit(0);\n", "cvss": {"score": 4.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:NONE/I:PARTIAL/A:NONE/"}}, {"lastseen": "2020-05-08T11:07:05", "description": "Microsoft SharePoint Server 2007 and SharePoint Services 3.0 are prone\n to a cross-site scripting vulnerability because they fail to properly\n sanitize user-supplied input.", "cvss3": {}, "published": "2011-09-14T00:00:00", "type": "openvas", "title": "Microsoft SharePoint Server 2007 '_layouts/help.aspx' Cross Site Scripting Vulnerability", "bulletinFamily": "scanner", "cvss2": {}, "cvelist": ["CVE-2010-0817"], "modified": "2020-05-05T00:00:00", "id": "OPENVAS:1361412562310103254", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310103254", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Microsoft SharePoint Server 2007 '_layouts/help.aspx' Cross Site Scripting Vulnerability\n#\n# Authors:\n# Michael Meyer <michael.meyer@greenbone.net>\n#\n# Copyright:\n# Copyright (C) 2011 Greenbone Networks GmbH\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif (description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.103254\");\n script_version(\"2020-05-05T10:19:36+0000\");\n script_tag(name:\"last_modification\", value:\"2020-05-05 10:19:36 +0000 (Tue, 05 May 2020)\");\n script_tag(name:\"creation_date\", value:\"2011-09-14 13:31:57 +0200 (Wed, 14 Sep 2011)\");\n script_bugtraq_id(39776);\n script_cve_id(\"CVE-2010-0817\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n\n script_name(\"Microsoft SharePoint Server 2007 '_layouts/help.aspx' Cross Site Scripting Vulnerability\");\n\n script_xref(name:\"URL\", value:\"http://www.securityfocus.com/bid/39776\");\n script_xref(name:\"URL\", value:\"http://blogs.technet.com/msrc/archive/2010/04/29/security-advisory-983438-released.aspx\");\n script_xref(name:\"URL\", value:\"http://office.microsoft.com/en-us/sharepointserver/FX100492001033.aspx\");\n script_xref(name:\"URL\", value:\"http://www.htbridge.ch/advisory/xss_in_microsoft_sharepoint_server_2007.html\");\n script_xref(name:\"URL\", value:\"http://www.securityfocus.com/archive/1/511021\");\n script_xref(name:\"URL\", value:\"http://support.avaya.com/css/P8/documents/100089744\");\n script_xref(name:\"URL\", value:\"http://www.microsoft.com/technet/security/advisory/983438\");\n script_xref(name:\"URL\", value:\"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2010/ms10-039\");\n\n script_tag(name:\"qod_type\", value:\"remote_vul\");\n script_category(ACT_ATTACK);\n script_family(\"Web application abuses\");\n script_copyright(\"Copyright (C) 2011 Greenbone Networks GmbH\");\n script_dependencies(\"gb_get_http_banner.nasl\", \"httpver.nasl\", \"webmirror.nasl\", \"DDI_Directory_Scanner.nasl\");\n script_require_ports(\"Services/www\", 80);\n script_mandatory_keys(\"sharepoint/banner\");\n\n script_tag(name:\"solution\", value:\"The vendor has released an advisory and updates. Please see the\n references for details.\");\n\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n\n script_tag(name:\"summary\", value:\"Microsoft SharePoint Server 2007 and SharePoint Services 3.0 are prone\n to a cross-site scripting vulnerability because they fail to properly\n sanitize user-supplied input.\");\n\n script_tag(name:\"impact\", value:\"An attacker may leverage this issue to execute arbitrary script code\n in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker\n to steal cookie-based authentication credentials and to launch other attacks.\");\n\n exit(0);\n}\n\ninclude(\"http_func.inc\");\ninclude(\"http_keepalive.inc\");\n\nport = http_get_port(default:80);\nif(!http_can_host_asp(port:port))\n exit(0);\n\nbanner = http_get_remote_headers(port:port);\nif(!banner || \"sharepoint\" >!< tolower(banner))\n exit(0);\n\nurl = string(\"/_layouts/help.aspx?cid0=MS.WSS.manifest.xml%00%3Cscript%3Ealert%28%27VT-XSS-Test%27%29%3C/script%3E&tid=X\");\nif(http_vuln_check(port:port, url:url, pattern:\"<script>alert\\('VT-XSS-Test'\\)</script><br/>\",check_header:TRUE)) {\n report = http_report_vuln_url(port:port, url:url);\n security_message(port:port, data:report);\n exit(0);\n}\n\nexit(99);\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}, {"lastseen": "2020-03-11T19:04:14", "description": "This host is running Microsoft SharePoint Server and is prone to a\n Cross-Site Scripting vulnerability.", "cvss3": {}, "published": "2010-05-04T00:00:00", "type": "openvas", "title": "Microsoft SharePoint '_layouts/help.aspx' Cross-Site Scripting Vulnerability", "bulletinFamily": "scanner", "cvss2": {}, "cvelist": ["CVE-2010-0817"], "modified": "2020-03-10T00:00:00", "id": "OPENVAS:1361412562310902176", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310902176", "sourceData": "# Copyright (C) 2010 SecPod\n#\n# SPDX-License-Identifier: GPL-2.0-or-later\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.902176\");\n script_version(\"2020-03-10T08:16:09+0000\");\n script_tag(name:\"last_modification\", value:\"2020-03-10 08:16:09 +0000 (Tue, 10 Mar 2020)\");\n script_tag(name:\"creation_date\", value:\"2010-05-04 09:40:09 +0200 (Tue, 04 May 2010)\");\n script_cve_id(\"CVE-2010-0817\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_name(\"Microsoft SharePoint '_layouts/help.aspx' Cross-Site Scripting Vulnerability\");\n\n script_xref(name:\"URL\", value:\"http://www.microsoft.com/technet/security/advisory/983438.mspx\");\n script_xref(name:\"URL\", value:\"http://www.securityfocus.com/archive/1/archive/1/509683/100/0/threaded\");\n script_xref(name:\"URL\", value:\"http://www.htbridge.ch/advisory/xss_in_microsoft_sharepoint_server_2007.html\");\n\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2010 SecPod\");\n script_family(\"Windows\");\n script_dependencies(\"remote-detect-WindowsSharepointServices.nasl\");\n script_mandatory_keys(\"MicrosoftSharePointTeamServices/version\");\n script_tag(name:\"impact\", value:\"Successful exploitation will allow remote authenticated users\n to compromise the application, theft of cookie-based authentication credentials,\n disclosure or modification of sensitive data.\");\n script_tag(name:\"affected\", value:\"- Microsoft Windows SharePoint Services 30 SP 1\n\n - Microsoft Office SharePoint Server SP1 2007 12.0.0.6421 and prior\");\n script_tag(name:\"insight\", value:\"This flaw is due to insufficient validation of user supplied\n data passed into 'cid0' parameter in the '_layouts/help.aspx' in SharePoint\n Team Services.\");\n script_tag(name:\"summary\", value:\"This host is running Microsoft SharePoint Server and is prone to a\n Cross-Site Scripting vulnerability.\");\n script_tag(name:\"solution\", value:\"The vendor has released updates. Please see the references for more information.\");\n script_tag(name:\"qod_type\", value:\"registry\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n script_xref(name:\"URL\", value:\"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2010/ms10-039\");\n exit(0);\n}\n\n\ninclude(\"version_func.inc\");\n\nstsVer = get_kb_item(\"MicrosoftSharePointTeamServices/version\");\nif(isnull(stsVer)){\n exit(0);\n}\n\nif(version_in_range(version:stsVer, test_version:\"12.0\", test_version2:\"12.0.0.6421\")){\n security_message( port: 0, data: \"The target host was found to be vulnerable\" );\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}], "securityvulns": [{"lastseen": "2021-06-08T19:00:04", "description": "Crossite scripting, information leak, DoS.", "edition": 2, "cvss3": {}, "published": "2010-06-09T00:00:00", "title": "Microsoft SharePoint multiple security vulnerabilities", "type": "securityvulns", "bulletinFamily": "software", "cvss2": {}, "cvelist": ["CVE-2010-0817", "CVE-2010-1264", "CVE-2010-1257"], "modified": "2010-06-09T00:00:00", "id": "SECURITYVULNS:VULN:10915", "href": "https://vulners.com/securityvulns/SECURITYVULNS:VULN:10915", "cvss": {"score": 4.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:NONE/I:PARTIAL/A:NONE/"}}, {"lastseen": "2018-08-31T11:10:35", "description": "Microsoft Security Bulletin MS10-039 - Important\r\nVulnerabilities in Microsoft SharePoint Could Allow Elevation of Privilege (2028554)\r\nPublished: June 08, 2010\r\n\r\nVersion: 1.0\r\nGeneral Information\r\nExecutive Summary\r\n\r\nThis security update resolves one publicly disclosed and two privately reported vulnerabilities in Microsoft SharePoint. The most severe vulnerability could allow elevation of privilege if an attacker convinced a user of a targeted SharePoint site to click on a specially crafted link.\r\n\r\nThe security update is rated important for all supported versions of Microsoft SharePoint Services 3.0 and all supported editions of Microsoft Office InfoPath 2003, Microsoft Office InfoPath 2007, and Microsoft Office SharePoint Server 2007. For more information, see the subsection, Affected and Non-Affected Software, in this section.\r\n\r\nThe security update addresses the vulnerabilities by modifying the way that Microsoft SharePoint validates input that is provided to an HTTP query, the way that toStaticHTML sanitizes HTML content in Microsoft SharePoint, and the way that Microsoft SharePoint handles specially crafted requests to the Help page. For more information about the vulnerability, see the Frequently Asked Questions (FAQ) subsection for the specific vulnerability entry under the next section, Vulnerability Information.\r\n\r\nThis security update also addresses the vulnerability first described in Microsoft Security Advisory 983438.\r\n\r\nRecommendation. Microsoft recommends that customers apply the update at the earliest opportunity.\r\n\r\nKnown Issues. Microsoft Knowledge Base Article 2028554 documents the currently known issues that customers may experience when installing this security update. The article also documents recommended solutions for these issues. When currently known issues and recommended solutions pertain only to specific releases of this software, this article provides links to further articles.\r\nTop of sectionTop of section\r\nAffected and Non-Affected Software\r\n\r\nThe following software have been tested to determine which versions or editions are affected. Other versions or editions are either past their support life cycle or are not affected. To determine the support life cycle for your software version or edition, visit Microsoft Support Lifecycle.\r\n\r\nAffected Software \r\nSoftware\tMaximum Security Impact\tAggregate Severity Rating\tBulletins Replaced by this Update\r\nMicrosoft Office Software \t \t \t \r\n\r\nMicrosoft Office InfoPath 2003 Service Pack 3\r\n(KB980923)\r\n\t\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNone\r\n\r\nMicrosoft Office InfoPath 2007 Service Pack 1 and Microsoft Office InfoPath 2007 Service Pack 2\r\n(KB979441)\r\n\t\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNone\r\n\r\nMicrosoft Office SharePoint Server 2007 Service Pack 1 (32-bit editions)[1]\r\n(KB979445)\r\n\t\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nMS08-077\r\n\r\nMicrosoft Office SharePoint Server 2007 Service Pack 2 (32-bit editions)[1]\r\n(KB979445)\r\n\t\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNone\r\n\r\nMicrosoft Office SharePoint Server 2007 Service Pack 1 (64-bit editions)[1]\r\n(KB979445)\r\n\t\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nMS08-077\r\n\r\nMicrosoft Office SharePoint Server 2007 Service Pack 2 (64-bit editions)\r\n(KB979445)[1]\r\n\t\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNone\r\nWindows SharePoint Services\t \t \t \r\n\r\nMicrosoft Windows SharePoint Services 3.0 Service Pack 1 and Microsoft Windows SharePoint Services 3.0 Service Pack 2 (32-bit versions)\r\n(KB983444)\r\n\t\r\n\r\nElevation of Privilege\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNone\r\n\r\nMicrosoft Windows SharePoint Services 3.0 Service Pack 1 and Microsoft Windows SharePoint Services 3.0 Service Pack 2 (64-bit versions)\r\n(KB983444)\r\n\t\r\n\r\nElevation of Privilege\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNone\r\n\r\n[1]For supported editions of Microsoft Office SharePoint Server 2007, in addition to security update package KB979445, customers also need to install the security update for Microsoft Windows SharePoint Services 3.0 (KB982331) to be protected from the vulnerabilities described in this bulletin.\r\n\r\nNon-Affected Software \r\nWindows SharePoint Services and Microsoft SharePoint\r\n\r\nMicrosoft Windows SharePoint Services 2.0\r\n\r\nMicrosoft SharePoint Portal Server 2001 Service Pack 3\r\n\r\nMicrosoft Office SharePoint Portal Server 2003 Service Pack 3\r\n\r\nMicrosoft SharePoint Server 2010\r\nTop of sectionTop of section\r\n\t\r\nFrequently Asked Questions (FAQ) Related to This Security Update\r\n\r\nHow is this security update (MS10-039) related to MS10-035, Cumulative Security Update for Internet Explorer (982381)? \r\nThe toStaticHTML Information Disclosure Vulnerability, CVE-2010-1257, described in this bulletin, also affects Internet Explorer. MS10-035, Cumulative Security Update for Internet Explorer (982381), addresses the vulnerability for Internet Explorer. If you have installed Internet Explorer, apply the required updates according to MS10-035. If you have installed Microsoft SharePoint, apply the required updates according to this bulletin.\r\n\r\nWhere are the file information details? \r\nRefer to the reference tables in the Security Update Deployment section for the location of the file information details.\r\n\r\nWhat are the known issues that customers may experience when installing this security update? \r\nMicrosoft Knowledge Base Article 2028554 documents the currently known issues that customers may experience when installing this security update. The article also documents recommended solutions for these issues.\r\n\r\nWhy does this update address several reported security vulnerabilities? \r\nThis update contains support for several vulnerabilities because the modifications that are required to address these issues are located in related files. Instead of having to install several updates that are almost the same, customers need to install this update only.\r\n\r\nWhat is Microsoft Windows SharePoint Services 3.0? \r\nWindows SharePoint Services 3.0 provides a platform for collaborative applications, offering a common framework for document management and a common repository for storing documents of all types. It exposes key Windows Server services like Windows Workflow Services and Windows Rights Management Services.\r\n\r\nWindows SharePoint Services 3.0 is provided as a free download for supported editions of Windows Server 2003 and Windows Server 2008.\r\n\r\nHow is Microsoft Windows SharePoint Services 3.0 related toMicrosoft Office SharePoint Server 2007? \r\nMicrosoft Office SharePoint Server 2007 is an integrated suite of server capabilities built on top of Windows SharePoint Services 3.0.\r\n\r\nIn what configurations will I need to apply the different updates? \r\nYou will need to apply one or both updates, depending on which SharePoint product is installed on your system. For systems with only Microsoft Windows SharePoint Services 3.0 installed, you will need to apply the KB983444 update. For systems with Microsoft Office SharePoint Server 2007 installed, you will need to apply both the KB979445 and KB983444 updates. There is no configuration where you can only have Microsoft Office SharePoint Server 2007 and not Microsoft Windows SharePoint Services 3.0.\r\n\r\nI use the 2007 Microsoft Office System Service Pack 1. Are any additional security features included in this update? \r\nYes, as part of the servicing model for the 2007 Microsoft Office System, when users of Microsoft Office 2007 Service Pack 1 install this update, their systems will be upgraded to security functionality that was initially released with Microsoft Office 2007 Service Pack 2. All updates released after April 24, 2009 for Microsoft Office 2007 will include these security features, which were introduced in the 2007 Microsoft Office System Service Pack 2. We have thoroughly tested this update, but as with all updates, we recommend that users perform testing appropriate to the environment and configuration of their systems.\r\n\r\nThe Office component discussed in this article is part of the Office Suite that I have installed on my system; however, I did not choose to install this specific component. Will I be offered this update? \r\nYes, if the version of the Office Suite installed on your system was delivered with the component discussed in this bulletin, the system will be offered updates for it whether the component is installed or not. The detection logic used to scan for affected systems is designed to check for updates for all components that shipped with the particular Office Suite and offer the updates to a system. Users who choose not to apply an update for a component that is not installed, but is included in their version of the Office Suite, will not increase the security risk of that system. On the other hand, users who do choose to install the update will not have a negative impact on the security or performance of a system.\r\n\r\nDoes the offer to update a non-vulnerable version of Microsoft Office constitute an issue in the Microsoft update mechanism? \r\nNo, the update mechanism is functioning correctly in that it detects a lower version of the files on the system than in the update package and thus, offers the update.\r\n\r\nI am using an older release of the software discussed in this security bulletin. What should I do? \r\nThe affected software listed in this bulletin have been tested to determine which releases are affected. Other releases are past their support life cycle. For more information about the product lifecycle, visit the Microsoft Support Lifecycle Web site.\r\n\r\nIt should be a priority for customers who have older releases of the software to migrate to supported releases to prevent potential exposure to vulnerabilities. To determine the support lifecycle for your software release, see Select a Product for Lifecycle Information. For more information about service packs for these software releases, see Lifecycle Supported Service Packs.\r\n\r\nCustomers who require custom support for older software must contact their Microsoft account team representative, their Technical Account Manager, or the appropriate Microsoft partner representative for custom support options. Customers without an Alliance, Premier, or Authorized Contract can contact their local Microsoft sales office. For contact information, visit the Microsoft Worldwide Information Web site, select the country in the Contact Information list, and then click Go to see a list of telephone numbers. When you call, ask to speak with the local Premier Support sales manager. For more information, see the Microsoft Support Lifecycle Policy FAQ.\r\nTop of sectionTop of section\r\nVulnerability Information\r\n\t\r\nSeverity Ratings and Vulnerability Identifiers\r\n\r\nThe following severity ratings assume the potential maximum impact of the vulnerability. For information regarding the likelihood, within 30 days of this security bulletin's release, of the exploitability of the vulnerability in relation to its severity rating and security impact, please see the Exploitability Index in the June bulletin summary. For more information, see Microsoft Exploitability Index.\r\nVulnerability Severity Rating and Maximum Security Impact by Affected Software\r\nAffected Software\tHelp.aspx XSS Vulnerability - CVE-2010-0817\ttoStaticHTML Information Disclosure Vulnerability - CVE-2010-1257\tSharepoint Help Page Denial of Service Vulnerability - CVE-2010-1264\tAggregate Severity Rating\r\nMicrosoft Office Software\t \t \t \t \r\n\r\nMicrosoft Office InfoPath 2003 Service Pack 3\r\n\t\r\n\r\nNot applicable\r\n\t\r\n\r\nImportant \r\nInformation Disclosure\r\n\t\r\n\r\nNot applicable\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft Office InfoPath 2007 Service Pack 1 and Microsoft Office InfoPath 2007 Service Pack 2\r\n\t\r\n\r\nNot applicable\r\n\t\r\n\r\nImportant \r\nInformation Disclosure\r\n\t\r\n\r\nNot applicable\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft Office SharePoint Server 2007 Service Pack 1 and Microsoft Office SharePoint Server 2007 Service Pack 2 (32-bit editions)\r\n\t\r\n\r\nNot applicable\r\n\t\r\n\r\nImportant \r\nInformation Disclosure\r\n\t\r\n\r\nNot applicable\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft Office SharePoint Server 2007 Service Pack 1 and Microsoft Office SharePoint Server 2007 Service Pack 2 (64-bit editions)\r\n\t\r\n\r\nNot applicable\r\n\t\r\n\r\nImportant \r\nInformation Disclosure\r\n\t\r\n\r\nNot applicable\r\n\t\r\n\r\nImportant\r\nWindows SharePoint Services\t \t \t \t \r\n\r\nMicrosoft Windows SharePoint Services 3.0 Service Pack 1 and Microsoft Windows SharePoint Services 3.0 Service Pack 2 (32-bit versions)\r\n\t\r\n\r\nImportant \r\nElevation of Privilege\r\n\t\r\n\r\nImportant \r\nInformation Disclosure\r\n\t\r\n\r\nImportant \r\nDenial of Service\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft Windows SharePoint Services 3.0 Service Pack 1 and Microsoft Windows SharePoint Services 3.0 Service Pack 2 (64-bit versions)\r\n\t\r\n\r\nImportant \r\nElevation of Privilege\r\n\t\r\n\r\nImportant \r\nInformation Disclosure\r\n\t\r\n\r\nImportant \r\nDenial of Service\r\n\t\r\n\r\nImportant\r\nTop of sectionTop of section\r\n\t\r\nHelp.aspx XSS Vulnerability - CVE-2010-0817\r\n\r\nA cross-site scripting and spoofing vulnerability exists in Microsoft Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007 that could allow an attacker to convince a user to run a malicious script. An attacker who successfully exploited the vulnerability could modify Web browser caches and intermediate proxy server caches. Additionally, an attacker could put spoofed content into those caches. An attacker may also be able to exploit the vulnerability to perform cross-site scripting attacks.\r\n\r\nTo view this vulnerability as a standard entry in the Common Vulnerabilities and Exposures list, see CVE-2010-0817.\r\n\t\r\nMitigating Factors for Help.aspx XSS Vulnerability - CVE-2010-0817\r\n\r\nMitigation refers to a setting, common configuration, or general best-practice, existing in a default state, that could reduce the severity of exploitation of a vulnerability. The following mitigating factors may be helpful in your situation:\r\n\u2022\t\r\n\r\nInternet Explorer 8 users browsing to a SharePoint site in the Internet Zone are at a reduced risk because, by default, the XSS Filter in Internet Explorer 8 prevents this attack in the Internet Zone. The Internet Explorer 8 XSS Filter, however, is not enabled by default in the Intranet Zone.\r\n\u2022\t\r\n\r\nAn attacker can cause arbitrary JavaScript to be run by the user clicking the specially crafted URL, but the attacker would not be able to steal the logged-on user's authentication credentials due to the way that SharePoint Server handles the HttpOnly authentication cookie\r\n\u2022\t\r\n\r\nThe vulnerability cannot be exploited automatically through e-mail. For an attack to be successful, a user must click on a URL that is sent in an e-mail message.\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for Help.aspx XSS Vulnerability - CVE-2010-0817\r\n\r\nWorkaround refers to a setting or configuration change that does not correct the underlying vulnerability but would help block known attack vectors before you apply the update. Microsoft has tested the following workarounds and states in the discussion whether a workaround reduces functionality:\r\n\u2022\t\r\n\r\nRestrict Access to SharePoint Help.aspx\r\n\r\nAn administrator can apply an access control list to SharePoint Help.aspx to ensure that they can no longer be loaded. This effectively prevents exploitation of the vulnerability using this attack vector.\r\n\r\nTo restrict access to the vulnerable Help.aspx, run the following commands from a command prompt:\r\n\r\ncacls "%ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx" /E /P everyone:N\r\n\r\ncacls "%ProgramFiles(x86)%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx" /E /P everyone:N\r\n\r\nImpact of workaround. This workaround will disable all help functionality from the SharePoint server.\r\n\r\nHow to undo the workaround.\r\n\r\nRun the following commands from a command prompt:\r\n\r\ntakeown /f "%ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx"\r\n\r\ntakeown /f "%ProgramFiles(x86)%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx"\r\n\r\ncacls "%ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx" /E /R everyone\r\n\r\ncacls "%ProgramFiles(x86)%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx" /E /R everyone\r\nTop of sectionTop of section\r\n\t\r\nFAQ for Help.aspx XSS Vulnerability - CVE-2010-0817\r\n\r\nWhat is the scope of the vulnerability? \r\nThis is a scripting vulnerability that could result in elevation of privilege in Microsoft Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007 that could allow an attacker to convince a user to run a malicious script. An attacker who successfully exploited this vulnerability could perform cross-site scripting attacks, display spoofed responses to users, or redirect server responses to another user. It may also be possible for an attacker to exploit the vulnerability to modify Web browser caches and intermediate proxy server caches and to put spoofed content in those caches.\r\n\r\nWhat causes the vulnerability? \r\nMicrosoft Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007 do not properly validate input that is provided to an HTML query before sending this input to the browser.\r\n\r\nWhat might an attacker use the vulnerability to do? \r\nAn attacker who successfully exploited the vulnerability could gain the same user rights on the SharePoint site as the targeted user. The attacker could then run commands against the SharePoint server in the context of the targeted user.\r\n\r\nHow could an attacker exploit the vulnerability? \r\nIn order for an attack to be successful, a user would have to click on an attacker provided, specially crafted link to an affected server.\r\n\r\nIn an e-mail attack scenario, an attacker could exploit the vulnerability by sending an e-mail message containing the specially crafted link to the user of the targeted affected server and by convincing the user to click on the specially crafted link.\r\n\r\nIn a Web-based attack scenario, an attacker would have to host a Web site that contains a specially crafted link to the targeted affected server that is used to attempt to exploit this vulnerability. In addition, compromised Web sites and Web sites that accept or host user-provided content could contain specially crafted content that could exploit this vulnerability. An attacker would have no way to force users to visit a specially crafted Web site. Instead, an attacker would have to convince them to visit the Web site, typically by getting them to click a link in an e-mail message or Instant Messenger message that takes them to the attacker's Web site, and then convince them to click on the specially crafted link.\r\n\r\nWhat systems are primarily at risk from the vulnerability? \r\nClient systems where users browse the Internet are primarily at risk.\r\n\r\nWhat is the Internet Explorer 8 Cross Site-scripting (XSS) Filter? \r\nCross-site scripting attacks try to exploit vulnerabilities in the Web sites you use. The vulnerability described in this bulletin is an example. In this case, you might receive an e-mail message that contains a specially crafted Web site address that includes a script. When you click on the URL, you are directed to a legitimate SharePoint site where the attacker-provided script is run. Cross-site scripting attacks have emerged as a leading online threat, so Internet Explorer 8 includes a cross-site scripting filter that can detect these types of attacks and disable the harmful scripts. By default, the cross-site scripting filter is turned on in Internet Explorer 8 for the Internet Zone.\r\n\r\nWhat does the update do? \r\nThe update addresses the vulnerability by modifying the way that Microsoft Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007 validate input that is provided to an HTTP query before sending this input to the client.\r\n\r\nWhen this security bulletin was issued, had this vulnerability been publicly disclosed? \r\nYes. This vulnerability has been publicly disclosed. It has been assigned Common Vulnerability and Exposure number CVE-2010-0817. The vulnerability was first described in Microsoft Security Advisory 983438.\r\n\r\nWhen this security bulletin was issued, had Microsoft received any reports that this vulnerability was being exploited? \r\nYes. When the security bulletin was released, Microsoft had received information that this vulnerability was being exploited.\r\n\r\nDoes applying this security update help protect customers from the code, published publicly, that attempts to exploit this vulnerability? \r\nYes. This security update addresses the vulnerability that potentially could be exploited by using the published proof of concept code. The vulnerability that has been addressed has been assigned Common Vulnerability and Exposure number CVE-2010-0817.\r\nTop of sectionTop of section\r\nTop of sectionTop of section\r\n\t\r\ntoStaticHTML Information Disclosure Vulnerability - CVE-2010-1257\r\n\r\nAn information disclosure vulnerability exists in the way that the SharePoint toStaticHTML API sanitizes HTML, that could allow an attacker to perform cross-site scripting attacks and run script in the security context of the logged-on user.\r\n\r\nTo view this vulnerability as a standard entry in the Common Vulnerabilities and Exposures list, see CVE-2010-1257.\r\n\t\r\nMitigating Factors for toStaticHTML Information Disclosure Vulnerability - CVE-2010-1257\r\n\r\nMitigation refers to a setting, common configuration, or general best-practice, existing in a default state, that could reduce the severity of exploitation of a vulnerability. The following mitigating factors may be helpful in your situation:\r\n\u2022\t\r\n\r\nOnly SharePoint sites that use toStaticHTML are potentially affected.\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for toStaticHTML Information Disclosure Vulnerability - CVE-2010-1257\r\n\r\nWorkaround refers to a setting or configuration change that does not correct the underlying vulnerability but would help block known attack vectors before you apply the update. Microsoft has tested the following workarounds and states in the discussion whether a workaround reduces functionality:\r\n\u2022\t\r\n\r\nRead e-mails in plain text\r\n\r\nTo help protect yourself from the e-mail attack vector, read e-mail messages in plain text format.\r\n\r\nMicrosoft Office Outlook 2002 users who have applied Office XP Service Pack 1 or a later version and Microsoft Office Outlook Express 6 users who have applied Internet Explorer 6 Service Pack 1 or a later version can enable this setting and view e-mail messages that are not digitally signed or e-mail messages that are not encrypted in plain text only.\r\n\r\nDigitally signed e-mail messages or encrypted e-mail messages are not affected by the setting and may be read in their original formats. For more information about how to enable this setting in Outlook 2002, see Microsoft Knowledge Base Article 307594.\r\n\r\nFor information about this setting in Outlook Express 6, see Microsoft Knowledge Base Article 291387.\r\n\r\nImpact of workaround. E-mail messages that are viewed in plain text format will not contain pictures, specialized fonts, animations, or other rich content. Additionally:\r\n\u2022\t\r\n\r\nThe changes are applied to the preview pane and to open messages.\r\n\u2022\t\r\n\r\nPictures become attachments so that they are not lost.\r\n\u2022\t\r\n\r\nBecause the message is still in Rich Text or HTML format in the store, the object model (custom code solutions) may behave unexpectedly.\r\n\u2022\t\r\n\r\nSet Internet and Local intranet security zone settings to "High" to block ActiveX Controls and Active Scripting in these zones\r\n\r\nYou can help protect against exploitation of this vulnerability by changing your settings for the Internet security zone to block ActiveX controls and Active Scripting. You can do this by setting your browser security to High.\r\n\r\nTo raise the browsing security level in Internet Explorer, follow these steps:\r\n\r\n1.\r\n\t\r\n\r\nOn the Internet Explorer Tools menu, click Internet Options.\r\n\r\n2.\r\n\t\r\n\r\nIn the Internet Options dialog box, click the Security tab, and then click the Internet icon.\r\n\r\n3.\r\n\t\r\n\r\nUnder Security level for this zone, move the slider to High. This sets the security level for all Web sites you visit to High.\r\n\r\nNote If no slider is visible, click Default Level, and then move the slider to High.\r\n\r\nNote Setting the level to High may cause some Web sites to work incorrectly. If you have difficulty using a Web site after you change this setting, and you are sure the site is safe to use, you can add that site to your list of trusted sites. This will allow the site to work correctly even with the security setting set to High.\r\n\r\nImpact of workaround. There are side effects to blocking ActiveX Controls and Active Scripting. Many Web sites that are on the Internet or on an intranet use ActiveX or Active Scripting to provide additional functionality. For example, an online e-commerce site or banking site may use ActiveX Controls to provide menus, ordering forms, or even account statements. Blocking ActiveX Controls or Active Scripting is a global setting that affects all Internet and intranet sites. If you do not want to block ActiveX Controls or Active Scripting for such sites, use the steps outlined in "Add sites that you trust to the Internet Explorer Trusted sites zone".\r\n\r\nAdd sites that you trust to the Internet Explorer Trusted sites zone\r\n\r\nAfter you set Internet Explorer to block ActiveX controls and Active Scripting in the Internet zone and in the Local intranet zone, you can add sites that you trust to the Internet Explorer Trusted sites zone. This will allow you to continue to use trusted Web sites exactly as you do today, while helping to protect yourself from this attack on untrusted sites. We recommend that you add only sites that you trust to the Trusted sites zone.\r\n\r\nTo do this, follow these steps:\r\n\r\n1.\r\n\t\r\n\r\nIn Internet Explorer, click Tools, click Internet Options, and then click the Security tab.\r\n\r\n2.\r\n\t\r\n\r\nIn the Select a Web content zone to specify its current security settings box, click Trusted Sites, and then click Sites.\r\n\r\n3.\r\n\t\r\n\r\nIf you want to add sites that do not require an encrypted channel, click to clear the Require server verification (https:) for all sites in this zone check box.\r\n\r\n4.\r\n\t\r\n\r\nIn the Add this Web site to the zone box, type the URL of a site that you trust, and then click Add.\r\n\r\n5.\r\n\t\r\n\r\nRepeat these steps for each site that you want to add to the zone.\r\n\r\n6.\r\n\t\r\n\r\nClick OK two times to accept the changes and return to Internet Explorer.\r\n\r\nNote Add any sites that you trust not to take malicious action on your system. Two in particular that you may want to add are *.windowsupdate.microsoft.com and *.update.microsoft.com. These are the sites that will host the update, and it requires an ActiveX Control to install the update.\r\nTop of sectionTop of section\r\n\t\r\nFAQ for toStaticHTML Information Disclosure Vulnerability - CVE-2010-1257\r\n\r\nWhat is the scope of the vulnerability? \r\nThis is an information disclosure vulnerability. An attacker who successfully exploited the vulnerability could perform persistent cross-site scripting attacks against users of a SharePoint site.\r\n\r\nWhat causes the vulnerability? \r\nThe vulnerability is caused by the way that the toStaticHTML API sanitizes HTML on a SharePoint site.\r\n\r\nWhat is toStaticHTML? \r\nThe toStaticHTML is an API that can be used to sanitize HTML by removing event attributes and script from user input before it is displayed as HTML. For more information, please see the MSDN Library article, toStaticHTML Method.\r\n\r\nWhat is cross-site scripting? \r\nCross-site scripting (XSS) is a class of security vulnerability that can enable an attacker to "inject" script code into a user's session with a Web site. The vulnerability can affect Web servers that dynamically generate HTML pages. If these servers embed browser input in the dynamic pages that they send back to the browser, these servers can be manipulated to include maliciously supplied content in the dynamic pages. This can allow malicious script to be executed. Web browsers may perpetuate this problem through their assumptions of "trusted" sites and their use of cookies to maintain persistent state with the Web sites that they frequent. An XSS attack does not modify Web site content. Instead, it inserts new, malicious script that can execute at the browser in the context that is associated with a trusted server.\r\n\r\nWhat might an attacker use the vulnerability to do? \r\nAn attacker who successfully exploited the vulnerability could perform cross-site scripting attacks against users of a targeted SharePoint site. An attacker could then potentially run script in the security context of the site's users against the target SharePoint site that is using toStaticHTML.\r\n\r\nHow could an attacker exploit the vulnerability? \r\nTo exploit this vulnerability, an attacker must have the ability to submit a specially crafted script to a target SharePoint site. Due to the vulnerability, in specific situations the specially crafted script is not properly sanitized using toStaticHTML, and subsequently this could lead to attacker-supplied script being run in the security context of a user who views the malicious content on the SharePoint site.\r\n\r\nFor cross-site scripting attacks, this vulnerability requires that a user be visiting a compromised SharePoint site for any malicious action to occur. For instance, after an attacker has successfully submitted specially crafted script to the target SharePoint site, any Web page on that SharePoint site that contains the specially crafted script is a potential vector for persistent cross-site scripting attacks. When a user visits a Web page that contains the specially crafted script, the script could be run in the security context of the user on the SharePoint site.\r\n\r\nWhat systems are primarily at risk from the vulnerability? \r\nSystems where users connect to a SharePoint server, such as workstations or terminal servers, are primarily at risk.\r\n\r\nWhat does the update do? \r\nThe update addresses the vulnerability by modifying the way that toStaticHTML sanitizes HTML content.\r\n\r\nIs this vulnerability related to CVE-2010-1857 in MS10-035, Cumulative Security Update for Internet Explorer (982381)? \r\nYes, the toStaticHTML Information Disclosure Vulnerability, CVE-2010-1257, also affects Internet Explorer.\r\n\r\nAre both updates necessary to be installed to be protected from the vulnerability? \r\nNo, each update addresses a separate application. Only the update that corresponds with software running on your system needs to be applied.\r\n\r\nWhen this security bulletin was issued, had this vulnerability been publicly disclosed? \r\nNo. Microsoft received information about this vulnerability through responsible disclosure.\r\n\r\nWhen this security bulletin was issued, had Microsoft received any reports that this vulnerability was being exploited? \r\nNo. Microsoft had not received any information to indicate that this vulnerability had been publicly used to attack customers and had not seen any examples of proof of concept code published when this security bulletin was originally issued.\r\nTop of sectionTop of section\r\nTop of sectionTop of section\r\n\t\r\nSharepoint Help Page Denial of Service Vulnerability - CVE-2010-1264\r\n\r\nA denial of service vulnerability exists in the way that Microsoft SharePoint handles specially crafted requests to the help page. An attacker could exploit the vulnerability by sending specially crafted packets to the targeted SharePoint server which could cause the Web server to become non-responsive until the associated application pool is restarted.\r\n\r\nTo view this vulnerability as a standard entry in the Common Vulnerabilities and Exposures list, see CVE-2010-1264.\r\n\t\r\nMitigating Factors for Sharepoint Help Page Denial of Service Vulnerability - CVE-2010-1264\r\n\r\nMitigation refers to a setting, common configuration, or general best-practice, existing in a default state, that could reduce the severity of exploitation of a vulnerability. The following mitigating factors may be helpful in your situation:\r\n\u2022\t\r\n\r\nThe attacker cannot run arbitrary code on the target SharePoint server. This is a denial of service vulnerability only.\r\n\u2022\t\r\n\r\nThe attacker must be authenticated on the SharePoint site in order to exploit this vulnerability.\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for Sharepoint Help Page Denial of Service Vulnerability - CVE-2010-1264\r\n\r\nWorkaround refers to a setting or configuration change that does not correct the underlying vulnerability but would help block known attack vectors before you apply the update. Microsoft has tested the following workarounds and states in the discussion whether a workaround reduces functionality:\r\n\u2022\t\r\n\r\nRestrict Access to SharePoint Help.aspx\r\n\r\nAn administrator can apply an access control list to SharePoint Help.aspx to prevent loading SharePoint Help.aspx. This effectively prevents exploitation of the vulnerability using this attack vector.\r\n\r\nTo restrict access to the vulnerable Help.aspx, run the following commands from a command prompt:\r\n\r\ncacls "%ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx" /E /P everyone:N\r\n\r\ncacls "%ProgramFiles(x86)%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx" /E /P everyone:N\r\n\r\nImpact of workaround. This workaround will disable all help functionality from the SharePoint server.\r\n\r\nHow to undo the workaround.\r\n\r\nRun the following commands from a command prompt:\r\n\r\ntakeown /f "%ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx"\r\n\r\ntakeown /f "%ProgramFiles(x86)%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx"\r\n\r\ncacls "%ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx" /E /R everyone\r\n\r\ncacls "%ProgramFiles(x86)%\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Help.aspx" /E /R everyone\r\nTop of sectionTop of section\r\n\t\r\nFAQ for Sharepoint Help Page Denial of Service Vulnerability - CVE-2010-1264\r\n\r\nWhat is the scope of the vulnerability? \r\nA denial of service vulnerability exists in Microsoft Office SharePoint Server 2007. An attacker who successfully exploited this vulnerability could cause denial of service by sending specially crafted requests to the Help page of the SharePoint server.\r\n\r\nWhat causes the vulnerability? \r\nThe vulnerability is due to the way that Microsoft SharePoint handles specially crafted requests sent to the Help page.\r\n\r\nWhat might an attacker use the vulnerability to do? \r\nThe attacker could cause either a limited or long-term denial of service impact to the SharePoint server.\r\n\r\nHow could an attacker exploit the vulnerability? \r\nAn attacker could attempt to exploit this vulnerability by submitting specially crafted requests to the Help page of the SharePoint server, causing the associated application pool to fail and be automatically restarted by IIS. With a sufficient number of automatic restarts in a limited window of time, the default IIS configuration will stop restarting the application pool. The Web server could then become unresponsive until an administrator manually restarted the application pool.\r\n\r\nWhat systems are primarily at risk from the vulnerability? \r\nServers on which Microsoft Office SharePoint Server 2007 is running are primarily at risk.\r\n\r\nWhat does the update do? \r\nThe update addresses the vulnerability by correcting the way that Microsoft SharePoint handles specially crafted requests to the Help page.\r\n\r\nWhen this security bulletin was issued, had this vulnerability been publicly disclosed? \r\nNo. Microsoft received information about this vulnerability through responsible disclosure.\r\n\r\nWhen this security bulletin was issued, had Microsoft received any reports that this vulnerability was being exploited? \r\nNo. Microsoft had not received any information to indicate that this vulnerability had been publicly used to attack customers and had not seen any examples of proof of concept code published when this security bulletin was originally issued.\r\n\r\nOther Information\r\nAcknowledgments\r\n\r\nMicrosoft thanks the following for working with us to help protect customers:\r\n\u2022\t\r\n\r\nChris Weber of Casaba Security for reporting the toStaticHTML Information Disclosure Vulnerability (CVE-2010-1257)\r\n\u2022\t\r\n\r\nRik Jones of the Dallas County Community College District for reporting the SharePoint Help Page Denial of Service Vulnerability (CVE-2010-1264)\r\nTop of sectionTop of section\r\nMicrosoft Active Protections Program (MAPP)\r\n\r\nTo improve security protections for customers, Microsoft provides vulnerability information to major security software providers in advance of each monthly security update release. Security software providers can then use this vulnerability information to provide updated protections to customers via their security software or devices, such as antivirus, network-based intrusion detection systems, or host-based intrusion prevention systems. To determine whether active protections are available from security software providers, please visit the active protections Web sites provided by program partners, listed in Microsoft Active Protections Program (MAPP) Partners.\r\n\r\nSupport\r\n\u2022\t\r\n\r\nCustomers in the U.S. and Canada can receive technical support from Security Support or 1-866-PCSAFETY. There is no charge for support calls that are associated with security updates. For more information about available support options, see Microsoft Help and Support.\r\n\u2022\t\r\n\r\nInternational customers can receive support from their local Microsoft subsidiaries. There is no charge for support that is associated with security updates. For more information about how to contact Microsoft for support issues, visit the International Support Web site.\r\n\r\nDisclaimer\r\n\r\nThe information provided in the Microsoft Knowledge Base is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.\r\n\r\nRevisions\r\n\u2022\t\r\n\r\nV1.0 (June 8, 2010): Bulletin published.", "edition": 1, "cvss3": {}, "published": "2010-06-09T00:00:00", "title": "Microsoft Security Bulletin MS10-039 - Important Vulnerabilities in Microsoft SharePoint Could Allow Elevation of Privilege (2028554)", "type": "securityvulns", "bulletinFamily": "software", "cvss2": {}, "cvelist": ["CVE-2010-1857", "CVE-2010-0817", "CVE-2010-1264", "CVE-2010-1257"], "modified": "2010-06-09T00:00:00", "id": "SECURITYVULNS:DOC:24021", "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:24021", "cvss": {"score": 6.8, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}]}