ID OPENVAS:136141256231090010 Type openvas Reporter Copyright (C) 2008 Greenbone Networks GmbH Modified 2020-01-07T00:00:00
Description
The remote host is affected by the vulnerabilitys described in
CVE-2007-0043
Checking if System.web.dll version is less than 2.0.50727.832
# OpenVAS Vulnerability Test
# Description: .NET JIT Compiler Vulnerability
#
# Authors:
# Carsten Koch-Mauthe <c.koch-mauthe at dn-systems.de>
# Updated by: Antu Sanadi <santu@secpod.com> on 16/09/22
#
# Copyright:
# Copyright (C) 2008 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.90010");
script_version("2020-01-07T09:06:32+0000");
script_tag(name:"last_modification", value:"2020-01-07 09:06:32 +0000 (Tue, 07 Jan 2020)");
script_tag(name:"creation_date", value:"2008-05-15 23:18:24 +0200 (Thu, 15 May 2008)");
script_tag(name:"cvss_base", value:"9.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2007-0043");
script_bugtraq_id(24811);
script_name(".NET JIT Compiler Vulnerability");
script_xref(name:"URL", value:"http://securitytracker.com/alerts/2007/Jul/1018356.html");
script_xref(name:"URL", value:"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-040");
script_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"executable_version");
script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
script_family("Windows : Microsoft Bulletins");
script_dependencies("secpod_reg_enum.nasl");
script_mandatory_keys("SMB/registry_enumerated");
script_require_ports(139, 445);
script_tag(name:"impact", value:"The Just In Time (JIT) Compiler service in Microsoft .NET Framework 1.0, 1.1,
and 2.0 for Windows 2000, XP, Server 2003, and Vista allows user-assisted
remote attackers to execute arbitrary code via unspecified vectors involving
an unchecked buffer, probably a buffer overflow, aka .NET JIT Compiler
Vulnerability. Checking if System.web.dll version is less than 2.0.50727.832");
script_tag(name:"affected", value:"- Microsoft .NET Framework 1.1 SP 1
- Microsoft .NET Framework 1.0 SP 3
- Microsoft .NET Framework 2.0 SP 1/SP 2");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"solution", value:"All Users should upgrade to the latest version. Please see the references for more information.");
script_tag(name:"summary", value:"The remote host is affected by the vulnerabilitys described in
CVE-2007-0043
Checking if System.web.dll version is less than 2.0.50727.832");
exit(0);
}
include("smb_nt.inc");
include("secpod_reg.inc");
include("version_func.inc");
include("secpod_smb_func.inc");
include("http_func.inc");
if(hotfix_check_sp(xp:4, win2k:5, win2003:3, winVista:3, win2008:3) <= 0){
exit(0);
}
# MS07-040 Hotfix check
if((hotfix_missing(name:"928367") == 0)|| (hotfix_missing(name:"928366") == 0)||
(hotfix_missing(name:"933854") == 0)|| (hotfix_missing(name:"929729") == 0)||
(hotfix_missing(name:"929916") == 0)){
exit(0);
}
key = "SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls\";
foreach item (registry_enum_values(key:key))
{
if("System.Web.dll" >< item)
{
path = item;
break;
}
}
if(!path){
exit(0);
}
if("c:" >< path){
path = ereg_replace(pattern:"c:", replace:"C:", string:path);
}
share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:path);
file = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:path);
dllVer = GetVer(file:file, share:share);
if(!dllVer){
exit(0);
}
if(version_in_range(version:dllVer, test_version:"1.0", test_version2:"1.0.3705.6059")||
version_in_range(version:dllVer, test_version:"1.1", test_version2:"1.1.4322.2406")||
version_in_range(version:dllVer, test_version:"2.0", test_version2:"2.0.50727.831")){
security_message( port: 0, data: "The target host was found to be vulnerable" );
}
key = "SOFTWARE\Microsoft\ASP.NET\";
if(!registry_key_exists(key:key)){
exit(0);
}
foreach item (registry_enum_keys(key:key))
{
path = registry_get_sz(key:key + item, item:"Path");
if("\Microsoft.NET\Framework" >< path)
{
path = path + "\system.web.dll";
share = ereg_replace(pattern:"([a-zA-Z]):.*", replace:"\1$", string:path);
file = ereg_replace(pattern:"[a-zA-Z]:(.*)", replace:"\1", string:path);
dllVer = GetVer(file:file, share:share);
if(!dllVer){
exit(0);
}
}
}
if(hotfix_check_sp(winVista:3) > 0)
{
if(version_in_range(version:dllVer, test_version:"1.0",test_version2:"1.0.3705.6059")||
version_in_range(version:dllVer, test_version:"1.1", test_version2:"1.1.4322.2406")||
version_in_range(version:dllVer, test_version:"2.0", test_version2:"2.0.50727.831"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
if(hotfix_check_sp(win2008:3) > 0)
{
if(version_in_range(version:dllVer, test_version:"1.0",test_version2:"1.0.3705.6059")||
version_in_range(version:dllVer, test_version:"1.1", test_version2:"1.1.4322.2406"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
{"id": "OPENVAS:136141256231090010", "type": "openvas", "bulletinFamily": "scanner", "title": ".NET JIT Compiler Vulnerability", "description": "The remote host is affected by the vulnerabilitys described in\n CVE-2007-0043\n\n Checking if System.web.dll version is less than 2.0.50727.832", "published": "2008-05-15T00:00:00", "modified": "2020-01-07T00:00:00", "cvss": {"score": 9.3, "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C"}, "href": "http://plugins.openvas.org/nasl.php?oid=136141256231090010", "reporter": "Copyright (C) 2008 Greenbone Networks GmbH", "references": ["https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-040", "http://securitytracker.com/alerts/2007/Jul/1018356.html"], "cvelist": ["CVE-2007-0043"], "lastseen": "2020-01-08T14:05:40", "viewCount": 1, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2007-0043"]}, {"type": "seebug", "idList": ["SSV:1989"]}, {"type": "openvas", "idList": ["OPENVAS:90010", "OPENVAS:101005", "OPENVAS:1361412562310101005"]}, {"type": "osvdb", "idList": ["OSVDB:35956"]}, {"type": "mskb", "idList": ["KB931212"]}, {"type": "securityvulns", "idList": ["SECURITYVULNS:DOC:17445", "SECURITYVULNS:VULN:7911"]}, {"type": "nessus", "idList": ["SMB_KB931212.NASL", "SMB_NT_MS07-040.NASL"]}], "modified": "2020-01-08T14:05:40", "rev": 2}, "score": {"value": 6.7, "vector": "NONE", "modified": "2020-01-08T14:05:40", "rev": 2}, "vulnersScore": 6.7}, "pluginID": "136141256231090010", "sourceData": "# OpenVAS Vulnerability Test\n# Description: .NET JIT Compiler Vulnerability\n#\n# Authors:\n# Carsten Koch-Mauthe <c.koch-mauthe at dn-systems.de>\n# Updated by: Antu Sanadi <santu@secpod.com> on 16/09/22\n#\n# Copyright:\n# Copyright (C) 2008 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# 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.90010\");\n script_version(\"2020-01-07T09:06:32+0000\");\n script_tag(name:\"last_modification\", value:\"2020-01-07 09:06:32 +0000 (Tue, 07 Jan 2020)\");\n script_tag(name:\"creation_date\", value:\"2008-05-15 23:18:24 +0200 (Thu, 15 May 2008)\");\n script_tag(name:\"cvss_base\", value:\"9.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:C/I:C/A:C\");\n script_cve_id(\"CVE-2007-0043\");\n script_bugtraq_id(24811);\n script_name(\".NET JIT Compiler Vulnerability\");\n script_xref(name:\"URL\", value:\"http://securitytracker.com/alerts/2007/Jul/1018356.html\");\n script_xref(name:\"URL\", value:\"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-040\");\n\n script_category(ACT_GATHER_INFO);\n script_tag(name:\"qod_type\", value:\"executable_version\");\n script_copyright(\"Copyright (C) 2008 Greenbone Networks GmbH\");\n script_family(\"Windows : Microsoft Bulletins\");\n script_dependencies(\"secpod_reg_enum.nasl\");\n script_mandatory_keys(\"SMB/registry_enumerated\");\n script_require_ports(139, 445);\n script_tag(name:\"impact\", value:\"The Just In Time (JIT) Compiler service in Microsoft .NET Framework 1.0, 1.1,\n and 2.0 for Windows 2000, XP, Server 2003, and Vista allows user-assisted\n remote attackers to execute arbitrary code via unspecified vectors involving\n an unchecked buffer, probably a buffer overflow, aka .NET JIT Compiler\n Vulnerability. Checking if System.web.dll version is less than 2.0.50727.832\");\n script_tag(name:\"affected\", value:\"- Microsoft .NET Framework 1.1 SP 1\n\n - Microsoft .NET Framework 1.0 SP 3\n\n - Microsoft .NET Framework 2.0 SP 1/SP 2\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n script_tag(name:\"solution\", value:\"All Users should upgrade to the latest version. Please see the references for more information.\");\n script_tag(name:\"summary\", value:\"The remote host is affected by the vulnerabilitys described in\n CVE-2007-0043\n\n Checking if System.web.dll version is less than 2.0.50727.832\");\n exit(0);\n}\n\ninclude(\"smb_nt.inc\");\ninclude(\"secpod_reg.inc\");\ninclude(\"version_func.inc\");\ninclude(\"secpod_smb_func.inc\");\ninclude(\"http_func.inc\");\n\nif(hotfix_check_sp(xp:4, win2k:5, win2003:3, winVista:3, win2008:3) <= 0){\n exit(0);\n}\n\n# MS07-040 Hotfix check\nif((hotfix_missing(name:\"928367\") == 0)|| (hotfix_missing(name:\"928366\") == 0)||\n (hotfix_missing(name:\"933854\") == 0)|| (hotfix_missing(name:\"929729\") == 0)||\n (hotfix_missing(name:\"929916\") == 0)){\n exit(0);\n}\n\nkey = \"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\SharedDlls\\\";\nforeach item (registry_enum_values(key:key))\n{\n if(\"System.Web.dll\" >< item)\n {\n path = item;\n break;\n }\n}\n\nif(!path){\n exit(0);\n}\n\nif(\"c:\" >< path){\n path = ereg_replace(pattern:\"c:\", replace:\"C:\", string:path);\n}\n\nshare = ereg_replace(pattern:\"([A-Z]):.*\", replace:\"\\1$\", string:path);\nfile = ereg_replace(pattern:\"[A-Z]:(.*)\", replace:\"\\1\", string:path);\ndllVer = GetVer(file:file, share:share);\n\nif(!dllVer){\n exit(0);\n}\n\nif(version_in_range(version:dllVer, test_version:\"1.0\", test_version2:\"1.0.3705.6059\")||\n version_in_range(version:dllVer, test_version:\"1.1\", test_version2:\"1.1.4322.2406\")||\n version_in_range(version:dllVer, test_version:\"2.0\", test_version2:\"2.0.50727.831\")){\n security_message( port: 0, data: \"The target host was found to be vulnerable\" );\n}\n\nkey = \"SOFTWARE\\Microsoft\\ASP.NET\\\";\nif(!registry_key_exists(key:key)){\n exit(0);\n}\n\nforeach item (registry_enum_keys(key:key))\n{\n path = registry_get_sz(key:key + item, item:\"Path\");\n if(\"\\Microsoft.NET\\Framework\" >< path)\n {\n path = path + \"\\system.web.dll\";\n share = ereg_replace(pattern:\"([a-zA-Z]):.*\", replace:\"\\1$\", string:path);\n file = ereg_replace(pattern:\"[a-zA-Z]:(.*)\", replace:\"\\1\", string:path);\n\n dllVer = GetVer(file:file, share:share);\n if(!dllVer){\n exit(0);\n }\n }\n}\n\nif(hotfix_check_sp(winVista:3) > 0)\n{\n if(version_in_range(version:dllVer, test_version:\"1.0\",test_version2:\"1.0.3705.6059\")||\n version_in_range(version:dllVer, test_version:\"1.1\", test_version2:\"1.1.4322.2406\")||\n version_in_range(version:dllVer, test_version:\"2.0\", test_version2:\"2.0.50727.831\"))\n {\n security_message( port: 0, data: \"The target host was found to be vulnerable\" );\n exit(0);\n }\n}\n\nif(hotfix_check_sp(win2008:3) > 0)\n{\n if(version_in_range(version:dllVer, test_version:\"1.0\",test_version2:\"1.0.3705.6059\")||\n version_in_range(version:dllVer, test_version:\"1.1\", test_version2:\"1.1.4322.2406\"))\n {\n security_message( port: 0, data: \"The target host was found to be vulnerable\" );\n exit(0);\n }\n}\n\n", "naslFamily": "Windows : Microsoft Bulletins"}
{"cve": [{"lastseen": "2021-02-02T05:31:20", "description": "The Just In Time (JIT) Compiler service in Microsoft .NET Framework 1.0, 1.1, and 2.0 for Windows 2000, XP, Server 2003, and Vista allows user-assisted remote attackers to execute arbitrary code via unspecified vectors involving an \"unchecked buffer,\" probably a buffer overflow, aka \".NET JIT Compiler Vulnerability\".", "edition": 4, "cvss3": {}, "published": "2007-07-10T22:30:00", "title": "CVE-2007-0043", "type": "cve", "cwe": ["CWE-119"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 8.6, "obtainAllPrivilege": true, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 9.3, "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 10.0, "obtainUserPrivilege": false}, "cvelist": ["CVE-2007-0043"], "modified": "2018-10-30T16:25:00", "cpe": ["cpe:/a:microsoft:.net_framework:1.0", "cpe:/a:microsoft:.net_framework:1.1", "cpe:/a:microsoft:.net_framework:2.0"], "id": "CVE-2007-0043", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-0043", "cvss": {"score": 9.3, "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C"}, "cpe23": ["cpe:2.3:a:microsoft:.net_framework:1.1:*:*:*:*:*:*:*", "cpe:2.3:a:microsoft:.net_framework:2.0:*:*:*:*:*:*:*", "cpe:2.3:a:microsoft:.net_framework:1.0:*:*:*:*:*:*:*"]}], "osvdb": [{"lastseen": "2017-04-28T13:20:32", "bulletinFamily": "software", "cvelist": ["CVE-2007-0043"], "description": "# No description provided by the source\n\n## References:\nUS-CERT Cyber Security Alert: TA07-191A\nSecurity Tracker: 1018356\n[Secunia Advisory ID:26003](https://secuniaresearch.flexerasoftware.com/advisories/26003/)\n[Related OSVDB ID: 35954](https://vulners.com/osvdb/OSVDB:35954)\n[Related OSVDB ID: 35955](https://vulners.com/osvdb/OSVDB:35955)\nOther Advisory URL: http://archive.cert.uni-stuttgart.de/bugtraq/2007/07/msg00254.html\nOVAL ID: 1873\nMicrosoft Security Bulletin: MS07-040\nMicrosoft Knowledge Base Article: 931212\nKeyword: aka \".NET JIT Compiler Vulnerability\".\nISS X-Force ID: 34639\nFrSIRT Advisory: ADV-2007-2482\n[CVE-2007-0043](https://vulners.com/cve/CVE-2007-0043)\nBugtraq ID: 24811\n", "edition": 1, "modified": "2007-07-10T17:07:48", "published": "2007-07-10T17:07:48", "href": "https://vulners.com/osvdb/OSVDB:35956", "id": "OSVDB:35956", "title": "Microsoft .NET Framework Just In Time (JIT) Compiler Service Unspecified Arbitrary Code Execution", "type": "osvdb", "cvss": {"score": 9.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}], "openvas": [{"lastseen": "2017-07-02T21:10:15", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-0043"], "description": "The remote host is affected by the vulnerabilitys described in\n CVE-2007-0043\n\n Checking if System.web.dll version is less than 2.0.50727.832", "modified": "2017-03-21T00:00:00", "published": "2008-05-15T00:00:00", "id": "OPENVAS:90010", "href": "http://plugins.openvas.org/nasl.php?oid=90010", "type": "openvas", "title": ".NET JIT Compiler Vulnerability", "sourceData": "# OpenVAS Vulnerability Test\n# $Id: win_CVE-2007-0043.nasl 5661 2017-03-21 11:39:13Z cfi $\n# Description: .NET JIT Compiler Vulnerability\n#\n# Authors:\n# Carsten Koch-Mauthe <c.koch-mauthe at dn-systems.de>\n# Updated by: Antu Sanadi <santu@secpod.com> on 16/09/22\n#\n# Copyright:\n# Copyright (C) 2008 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# 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 = \"The remote host is affected by the vulnerabilitys described in\n CVE-2007-0043\n\n Checking if System.web.dll version is less than 2.0.50727.832\";\n\ntag_impact = \"The Just In Time (JIT) Compiler service in Microsoft .NET Framework 1.0, 1.1,\n and 2.0 for Windows 2000, XP, Server 2003, and Vista allows user-assisted\n remote attackers to execute arbitrary code via unspecified vectors involving\n an unchecked buffer, probably a buffer overflow, aka .NET JIT Compiler\n Vulnerability. Checking if System.web.dll version is less than 2.0.50727.832\";\ntag_affected = \"Microsoft .NET Framework 1.1 SP 1\n Microsoft .NET Framework 1.0 SP 3\n Microsoft .NET Framework 2.0 SP 1/SP 2\";\ntag_solution = \"All Users should upgrade to the latest version.\n http://www.microsoft.com/technet/security/Bulletin/ms07-040.mspx\";\n\n# $Revision: 5661 $\n\nif(description)\n{\n script_id(90010);\n script_version(\"$Revision: 5661 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-03-21 12:39:13 +0100 (Tue, 21 Mar 2017) $\");\n script_tag(name:\"creation_date\", value:\"2008-05-15 23:18:24 +0200 (Thu, 15 May 2008)\");\n script_tag(name:\"cvss_base\", value:\"9.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:C/I:C/A:C\");\n script_cve_id(\"CVE-2007-0043\");\n script_bugtraq_id(24811);\n script_name(\".NET JIT Compiler Vulnerability\");\n script_xref(name : \"URL\" , value : \"http://secunia.com/advisories/26003\");\n script_xref(name : \"URL\" , value : \"http://securitytracker.com/alerts/2007/Jul/1018356.html\");\n script_xref(name : \"URL\" , value : \"http://www.microsoft.com/technet/security/Bulletin/ms07-040.mspx\");\n\n script_category(ACT_GATHER_INFO);\n script_tag(name:\"qod_type\", value:\"executable_version\");\n script_copyright(\"Copyright (C) 2008 Greenbone Networks GmbH\");\n script_family(\"Windows : Microsoft Bulletins\");\n script_dependencies(\"secpod_reg_enum.nasl\");\n script_mandatory_keys(\"SMB/WindowsVersion\");\n script_require_ports(139, 445);\n script_tag(name : \"impact\" , value : tag_impact);\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n exit(0);\n}\n\n\ninclude(\"smb_nt.inc\");\ninclude(\"secpod_reg.inc\");\ninclude(\"version_func.inc\");\ninclude(\"secpod_smb_func.inc\");\n\nif(hotfix_check_sp(xp:4, win2k:5, win2003:3, winVista:3, win2008:3) <= 0){\n exit(0);\n}\n\n# MS07-040 Hotfix check\nif((hotfix_missing(name:\"928367\") == 0) || (hotfix_missing(name:\"928366\") == 0)||\n (hotfix_missing(name:\"933854\") == 0) || (hotfix_missing(name:\"929729\") == 0) ||\n (hotfix_missing(name:\"929916\") == 0)){\n exit(0);\n}\n\nkey = \"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\SharedDlls\\\";\nforeach item (registry_enum_values(key:key))\n{\n if(\"System.Web.dll\" >< item)\n {\n path = item;\n break;\n }\n}\n\nif(!path){\n exit(0);\n}\n\nif(\"c:\" >< path){\n path = ereg_replace(pattern:\"c:\", replace:\"C:\", string:path);\n}\n\nshare = ereg_replace(pattern:\"([A-Z]):.*\", replace:\"\\1$\", string:path);\nfile = ereg_replace(pattern:\"[A-Z]:(.*)\", replace:\"\\1\", string:path);\ndllVer = GetVer(file:file, share:share);\n\nif(!dllVer){\n exit(0);\n}\n\n# Check for .Net Framework version 1.0 < 1.0.3705.6060, 1.1 < 1.1.4322.2407 and 2.0 < 2.0.50727.832\nif(version_in_range(version:dllVer, test_version:\"1.0\", test_version2:\"1.0.3705.6059\")||\n version_in_range(version:dllVer, test_version:\"1.1\", test_version2:\"1.1.4322.2406\")||\n version_in_range(version:dllVer, test_version:\"2.0\", test_version2:\"2.0.50727.831\")){\n security_message(0);\n}\n\nkey = \"SOFTWARE\\Microsoft\\ASP.NET\\\";\nif(!registry_key_exists(key:key)){\n exit(0);\n}\n\nforeach item (registry_enum_keys(key:key))\n{\n path = registry_get_sz(key:key + item, item:\"Path\");\n if(\"\\Microsoft.NET\\Framework\" >< path)\n {\n path = path + \"\\system.web.dll\";\n share = ereg_replace(pattern:\"([a-zA-Z]):.*\", replace:\"\\1$\", string:path);\n file = ereg_replace(pattern:\"[a-zA-Z]:(.*)\", replace:\"\\1\", string:path);\n\n # Get the version of system.web.dll\n dllVer = GetVer(file:file, share:share);\n if(!dllVer){\n exit(0);\n }\n }\n}\n\n## Windows vista\nif(hotfix_check_sp(winVista:3) > 0)\n{\n # Check for System.web.dll version 1.0 < 1.0.3705.6060, 1.1 < 1.1.4322.2407, 2.0 < 2.0.50727.832\n if(version_in_range(version:dllVer, test_version:\"1.0\",test_version2:\"1.0.3705.6059\") ||\n version_in_range(version:dllVer, test_version:\"1.1\", test_version2:\"1.1.4322.2406\") ||\n version_in_range(version:dllVer, test_version:\"2.0\", test_version2:\"2.0.50727.831\"))\n {\n security_message(0);\n exit(0);\n }\n}\n\n## Windows 2008 Server\nif(hotfix_check_sp(win2008:3) > 0)\n{\n # Check for System.web.dll version 1.0 < 1.0.3705.6060, 1.1 < 1.1.4322.2407\n if(version_in_range(version:dllVer, test_version:\"1.0\",test_version2:\"1.0.3705.6059\") ||\n version_in_range(version:dllVer, test_version:\"1.1\", test_version2:\"1.1.4322.2406\"))\n {\n security_message(0);\n exit(0);\n }\n}\n\n", "cvss": {"score": 9.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}, {"lastseen": "2020-01-08T14:05:39", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-0042", "CVE-2007-0043", "CVE-2007-0041"], "description": "Microsoft .NET is affected by multiples criticals vulnerabilities.\n Two of these vulnerabilities could allow remote code execution on client systems with .NET Framework installed,\n and one could allow information disclosure on Web servers running ASP.NET.", "modified": "2020-01-07T00:00:00", "published": "2009-03-15T00:00:00", "id": "OPENVAS:1361412562310101005", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310101005", "type": "openvas", "title": "Microsoft Security Bulletin MS07-040", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Microsoft Security Bulletin MS07-040 - Critical\n# Vulnerabilities in .NET Framework Could Allow Remote Code Execution\n# NET PE Loader Vulnerability - CVE-2007-0041\n# ASP.NET Null Byte Termination Vulnerability - CVE-2007-0042\n# .NET JIT Compiler Vulnerability - CVE-2007-0043\n#\n# remote-MS07-040.nasl\n#\n# Author:\n# Christian Eric Edjenguele <christian.edjenguele@owasp.org>\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 and later,\n# 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.101005\");\n script_version(\"2020-01-07T09:06:32+0000\");\n script_tag(name:\"last_modification\", value:\"2020-01-07 09:06:32 +0000 (Tue, 07 Jan 2020)\");\n script_tag(name:\"creation_date\", value:\"2009-03-15 21:09:08 +0100 (Sun, 15 Mar 2009)\");\n script_tag(name:\"cvss_base\", value:\"9.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:C/I:C/A:C\");\n script_cve_id(\"CVE-2007-0041\", \"CVE-2007-0042\", \"CVE-2007-0043\");\n script_name(\"Microsoft Security Bulletin MS07-040\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Christian Eric Edjenguele <christian.edjenguele@owasp.org>\");\n script_family(\"Windows : Microsoft Bulletins\");\n script_dependencies(\"find_service.nasl\", \"remote-detect-MSdotNET-version.nasl\");\n script_mandatory_keys(\"dotNET/version\");\n\n script_xref(name:\"URL\", value:\"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-040\");\n\n script_tag(name:\"solution\", value:\"Microsoft has released an update to correct this issue,\n please see the reference for more information.\");\n\n script_tag(name:\"summary\", value:\"Microsoft .NET is affected by multiples criticals vulnerabilities.\n Two of these vulnerabilities could allow remote code execution on client systems with .NET Framework installed,\n and one could allow information disclosure on Web servers running ASP.NET.\");\n\n script_tag(name:\"qod_type\", value:\"remote_banner\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n\n exit(0);\n}\n\ninclude(\"revisions-lib.inc\");\n\ndotnet = get_kb_item( \"dotNET/version\" );\nif( ! dotnet ) exit( 0 );\nport = get_kb_item( \"dotNET/port\" );\n\n# Microsoft .NET Framework version < [1.0 SP3, 1.1 SP1, 2.0 SP2]\ndotnetversion['1.0'] = revcomp( a:dotnet, b:\"1.0.3705.6060\" );\ndotnetversion['1.1'] = revcomp( a:dotnet, b:\"1.1.4332.2407\" );\ndotnetversion['2.0'] = revcomp( a:dotnet, b:\"2.0.50727.832\" );\n\nforeach version( dotnetversion ) {\n if( version == -1 ) {\n # report MS07-04 vulnerability\n report = 'Missing MS07-040 patch, detected Microsoft .Net Framework version: ' + dotnet;\n security_message( port:port, data:report );\n }\n}\n\nexit( 99 );\n", "cvss": {"score": 9.3, "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C"}}, {"lastseen": "2017-12-08T11:54:52", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-0042", "CVE-2007-0043", "CVE-2007-0041"], "description": "Microsoft .NET is affected by multiples criticals vulnerabilities. \nTwo of these vulnerabilities could allow remote code execution on client systems with .NET Framework installed, \nand one could allow information disclosure on Web servers running ASP.NET.", "modified": "2017-12-07T00:00:00", "published": "2009-03-15T00:00:00", "id": "OPENVAS:101005", "href": "http://plugins.openvas.org/nasl.php?oid=101005", "type": "openvas", "title": "Microsoft Security Bulletin MS07-040", "sourceData": "# OpenVAS Vulnerability Test\n# $Id: remote-MS07-040.nasl 8022 2017-12-07 08:23:28Z teissa $\n# Description: \n# Microsoft Security Bulletin MS07-040 - Critical\n# Vulnerabilities in .NET Framework Could Allow Remote Code Execution \n# NET PE Loader Vulnerability - CVE-2007-0041\n# ASP.NET Null Byte Termination Vulnerability - CVE-2007-0042\n# .NET JIT Compiler Vulnerability - CVE-2007-0043\n#\n# remote-MS07-040.nasl\n#\n# Author:\n# Christian Eric Edjenguele <christian.edjenguele@owasp.org>\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 and later,\n# 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\ninclude(\"revisions-lib.inc\");\ntag_summary = \"Microsoft .NET is affected by multiples criticals vulnerabilities. \nTwo of these vulnerabilities could allow remote code execution on client systems with .NET Framework installed, \nand one could allow information disclosure on Web servers running ASP.NET.\";\n\ntag_solution = \"Microsoft has released an update to correct this issue,\nyou can download it from the following web site:\nhttp://www.microsoft.com/technet/security/bulletin/ms07-040.mspx\";\n\n\n\nif(description)\n{\nscript_id(101005);\nscript_version(\"$Revision: 8022 $\");\nscript_tag(name:\"last_modification\", value:\"$Date: 2017-12-07 09:23:28 +0100 (Thu, 07 Dec 2017) $\");\nscript_tag(name:\"creation_date\", value:\"2009-03-15 21:09:08 +0100 (Sun, 15 Mar 2009)\");\nscript_tag(name:\"cvss_base\", value:\"9.3\");\nscript_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:C/I:C/A:C\");\nscript_cve_id(\"CVE-2007-0041\", \"CVE-2007-0042\", \"CVE-2007-0043\");\nname = \"Microsoft Security Bulletin MS07-040\";\nscript_name(name);\n \nscript_tag(name:\"qod_type\", value:\"remote_banner\"); \n\n\nscript_category(ACT_ATTACK);\n\nscript_copyright(\"Christian Eric Edjenguele <christian.edjenguele@owasp.org>\");\nfamily = \"Windows : Microsoft Bulletins\";\nscript_family(family);\nscript_dependencies(\"find_service.nasl\", \"remote-detect-MSdotNET-version.nasl\");\nscript_mandatory_keys(\"dotNET/version\");\n\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n\nexit(0);\n\n}\n\n\n#\n# The script code starts here\n#\n\n\ndotnet = get_kb_item(\"dotNET/version\"); \nport = get_kb_item(\"dotNET/port\");\n\nif(!dotnet)\n\texit(0);\n\nelse\n{\n\t# Microsoft .NET Framework version < [1.0 SP3, 1.1 SP1, 2.0 SP2]\n\tdotnetversion['1.0'] = revcomp(a:dotnet, b:\"1.0.3705.6060\"); \n\tdotnetversion['1.1'] = revcomp(a:dotnet, b:\"1.1.4332.2407\"); \n\tdotnetversion['2.0'] = revcomp(a:dotnet, b:\"2.0.50727.832\"); \n\t\t\n\tforeach version (dotnetversion)\n\t{\n\n\t \tif (version == -1){\n\t\t\n\t\t\t# report MS07-04 vulnerability\n\t\t \treport = 'Missing MS07-040 patch, detected Microsoft .Net Framework version: ' + dotnet;\n\t\t\tsecurity_message(port:port, data:report);\n\t\t}\n\t}\n}\n", "cvss": {"score": 9.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}], "seebug": [{"lastseen": "2017-11-19T22:01:17", "description": "BUGTRAQ ID: 24811\r\nCVE(CAN) ID: CVE-2007-0043\r\n\r\nMicrosoft .NET Framework\u662f\u4e00\u4e2a\u6d41\u884c\u7684\u8f6f\u4ef6\u5f00\u53d1\u5de5\u5177\u5305\u3002 \r\n\r\n.NET Framework JIT\u7f16\u8bd1\u5668\u5904\u7406\u5305\u542b\u6076\u610f\u6570\u636e\u7684\u7f51\u9875\u65f6\u5b58\u5728\u6f0f\u6d1e\uff0c\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u80fd\u5229\u7528\u6b64\u6f0f\u6d1e\u63a7\u5236\u7528\u6237\u7cfb\u7edf\u3002\r\n\r\n.NET Framework JIT\u7f16\u8bd1\u5668\u4e2d\u5b58\u5728\u672a\u7ecf\u68c0\u67e5\u7684\u7f13\u51b2\u533a\uff0c\u5982\u679c\u7528\u6237\u53d7\u9a97\u8bbf\u95ee\u4e86\u6076\u610f\u7f51\u9875\u5e76\u6267\u884c\u4e86\u67d0\u4e9b\u64cd\u4f5c\u7684\u8bdd\uff0c\u5c31\u53ef\u80fd\u89e6\u53d1\u7f13\u51b2\u533a\u6ea2\u51fa\uff0c\u5bfc\u81f4\u4ee5\u767b\u5f55\u7528\u6237\u7684\u6743\u9650\u6267\u884c\u4efb\u610f\u4ee3\u7801\u3002\u5982\u679c\u7528\u6237\u4f7f\u7528\u7ba1\u7406\u7528\u6237\u6743\u9650\u767b\u5f55\uff0c\u653b\u51fb\u8005\u4fbf\u53ef\u5b8c\u5168\u63a7\u5236\u53d7\u5f71\u54cd\u7684\u7cfb\u7edf\u3002\u653b\u51fb\u8005\u53ef\u968f\u540e\u5b89\u88c5\u7a0b\u5e8f\uff1b\u67e5\u770b\u3001\u66f4\u6539\u6216\u5220\u9664\u6570\u636e\uff1b\u6216\u8005\u521b\u5efa\u62e5\u6709\u5b8c\u5168\u7528\u6237\u6743\u9650\u7684\u65b0\u5e10\u6237\u3002\u90a3\u4e9b\u5e10\u6237\u88ab\u914d\u7f6e\u4e3a\u62e5\u6709\u8f83\u5c11\u7cfb\u7edf\u7528\u6237\u6743\u9650\u7684\u7528\u6237\u6bd4\u5177\u6709\u7ba1\u7406\u7528\u6237\u6743\u9650\u7684\u7528\u6237\u53d7\u5230\u7684\u5f71\u54cd\u8981\u5c0f\u3002\r\n\r\n\n\nMicrosoft .NET Framework 2.0\n \u4e34\u65f6\u89e3\u51b3\u65b9\u6cd5\uff1a\r\n\r\n* \u5c06Internet Explorer\u914d\u7f6e\u4e3a\u5728Internet\u548c\u672c\u5730Intranet\u5b89\u5168\u533a\u57df\u4e2d\u8fd0\u884cActiveX\u63a7\u4ef6\u4e4b\u524d\u8fdb\u884c\u63d0\u793a\u3002\r\n\r\n* \u5c06Internet\u548c\u672c\u5730intranet\u5b89\u5168\u533a\u8bbe\u7f6e\u4e3a\u201c\u9ad8\u201d\u4ee5\u5728\u8fd0\u884cActiveX\u63a7\u4ef6\u548c\u6d3b\u52a8\u811a\u672c\u4e4b\u524d\u8981\u6c42\u63d0\u793a\u3002\r\n\r\n* \u4ee5\u7eaf\u6587\u672c\u683c\u5f0f\u9605\u8bfb\u90ae\u4ef6\u6d88\u606f\u4ee5\u9632\u8303HTML\u90ae\u4ef6\u653b\u51fb\u3002\r\n\r\n\u5382\u5546\u8865\u4e01\uff1a\r\n\r\nMicrosoft\r\n---------\r\nMicrosoft\u5df2\u7ecf\u4e3a\u6b64\u53d1\u5e03\u4e86\u4e00\u4e2a\u5b89\u5168\u516c\u544a\uff08MS07-040\uff09\u4ee5\u53ca\u76f8\u5e94\u8865\u4e01:\r\nMS07-040\uff1aVulnerabilities in .NET Framework Could Allow Remote Code Execution (931212)\r\n\u94fe\u63a5\uff1a<a href=\"http://www.microsoft.com/technet/security/Bulletin/ms07-040.mspx?pf=true\" target=\"_blank\">http://www.microsoft.com/technet/security/Bulletin/ms07-040.mspx?pf=true</a>\r\n\r\n\u8865\u4e01\u4e0b\u8f7d\uff1a\r\n<a href=\"http://www.microsoft.com/downloads/details.aspx?FamilyId=BA3CEB78-8E1B_-4C38-ADFD-E8BC95AE548D\" target=\"_blank\">http://www.microsoft.com/downloads/details.aspx?FamilyId=BA3CEB78-8E1B_-4C38-ADFD-E8BC95AE548D</a>\r\n<a href=\"http://www.microsoft.com/downloads/details.aspx?FamilyId=CBC9F3CF-C3C3_-45C4-82E3-E11398BC2CD2\" target=\"_blank\">http://www.microsoft.com/downloads/details.aspx?FamilyId=CBC9F3CF-C3C3_-45C4-82E3-E11398BC2CD2</a>", "published": "2007-07-12T00:00:00", "title": "Microsoft .NET Framework JIT\u7f16\u8bd1\u5668\u8fdc\u7a0b\u6ea2\u51fa\u6f0f\u6d1e\uff08MS07-040\uff09", "type": "seebug", "bulletinFamily": "exploit", "cvelist": ["CVE-2007-0043"], "modified": "2007-07-12T00:00:00", "href": "https://www.seebug.org/vuldb/ssvid-1989", "id": "SSV:1989", "sourceData": "", "cvss": {"score": 9.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}, "sourceHref": ""}], "securityvulns": [{"lastseen": "2018-08-31T11:09:26", "bulletinFamily": "software", "cvelist": ["CVE-2007-0042", "CVE-2007-0043", "CVE-2007-0041"], "description": "Buffer overflow on PE .Net format parsing, buffer overflow in KIT compiler, remote information leak in ASP.NET with poisoned NULL byte.", "edition": 1, "modified": "2008-08-25T00:00:00", "published": "2008-08-25T00:00:00", "id": "SECURITYVULNS:VULN:7911", "href": "https://vulners.com/securityvulns/SECURITYVULNS:VULN:7911", "title": "Microsoft .Net framework multiple security vulnerabilities", "type": "securityvulns", "cvss": {"score": 9.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}, {"lastseen": "2018-08-31T11:10:22", "bulletinFamily": "software", "cvelist": ["CVE-2007-0042", "CVE-2006-7192", "CVE-2007-0043", "CVE-2007-0041"], "description": "Microsoft Security Bulletin MS07-040 - Critical\r\nVulnerabilities in .NET Framework Could Allow Remote Code Execution (931212)\r\nPublished: July 10, 2007\r\n\r\nVersion: 1.0\r\nGeneral Information\r\nExecutive Summary\r\n\r\nThis update resolves three privately reported vulnerabilities. Two of these vulnerabilities could allow remote code execution on client systems with .NET Framework installed, and one could allow information disclosure on Web servers running ASP.NET. In all remote code execution cases, users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.\r\n\r\nThis security update addresses two vulnerabilities by modifying the way .NET Framework addresses buffer allocation. For more information about the vulnerabilities, see the Frequently Asked Questions (FAQ) subsection for the specific vulnerability entry under the next section, Vulnerability Information.\r\n\r\nRecommendation: Microsoft recommends that customers apply the update immediately.\r\n\r\nKnown Issues: Microsoft Knowledge Base Article 931212 documents the currently known issues that customers may experience when they install this security update. The article also documents recommended solutions for these issues.\r\nTop of sectionTop of section\r\nAffected and Non-Affected Software\r\n\r\nIn the following tables of affected and non-affected software, software versions that are not listed are past their support lifecycle. To determine the support lifecycle for your product and version, visit Microsoft Support Lifecycle.\r\n\r\nAffected Software\r\nOperating System\tComponent\tMaximum Security Impact\tAggregate Severity Rating\tBulletins Replaced by This Update\r\nMicrosoft .NET Framework 1.0\t \t \t \t \r\n\r\nWindows 2000 Service Pack 4\r\n\t\r\n\r\nMicrosoft .NET Framework 1.0\r\n(KB928367)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows XP Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 1.0\r\n(KB928367)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 1.0\r\n(KB928367)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows XP Tablet PC Edition 2005 and Windows XP Media Center Edition 2005\r\n\t\r\n\r\nMicrosoft .NET Framework 1.0\r\n(KB930494)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 1.0\r\n(KB928367)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems\r\n\t\r\n\r\nMicrosoft .NET Framework 1.0\r\n(KB928367)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 1.0\r\n(KB928367)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows Vista\r\n\t\r\n\r\nMicrosoft .NET Framework 1.0\r\n(KB928367)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nMS05-004\r\nMicrosoft .NET Framework 1.1\t \t \t \t \r\n\r\nWindows 2000 Service Pack 4\r\n\t\r\n\r\nMicrosoft .NET Framework 1.1\r\n(KB928366)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows XP Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 1.1\r\n(KB928366)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 1.1\r\n(KB928366)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 1.1\r\n(KB933854)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems\r\n\t\r\n\r\nMicrosoft .NET Framework 1.1\r\n(KB928366)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 1.1\r\n(KB928366)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows Vista\r\n\t\r\n\r\nMicrosoft .NET Framework 1.1\r\n(KB929729)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nMS05-004\r\n\r\nWindows Vista x64 Edition\r\n\t\r\n\r\nMicrosoft .NET Framework 1.1\r\n(KB929729)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nMS05-004\r\nMicrosoft .NET Framework 2.0\t \t \t \t \r\n\r\nWindows 2000 Service Pack 4\r\n\t\r\n\r\nMicrosoft .NET Framework 2.0\r\n(KB928365)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nNone\r\n\r\nWindows XP Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 2.0\r\n(KB928365)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nNone\r\n\r\nWindows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 2.0\r\n(KB928365)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nNone\r\n\r\nWindows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 2.0\r\n(KB928365)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNone\r\n\r\nWindows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems\r\n\t\r\n\r\nMicrosoft .NET Framework 2.0\r\n(KB928365)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNone\r\n\r\nWindows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 2.0\r\n(KB928365)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNone\r\n\r\nWindows Vista\r\n\t\r\n\r\nMicrosoft .NET Framework 2.0\r\n(KB929916)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNone\r\n\r\nWindows Vista x64 Edition\r\n\t\r\n\r\nMicrosoft .NET Framework 2.0\r\n(KB929916)\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNone\r\n\r\nNon-Affected Software\r\nOperating System\tComponent\r\n\r\nWindows XP Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 3.0\r\n\r\nWindows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 3.0\r\n\r\nWindows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 3.0\r\n\r\nWindows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2\r\n\t\r\n\r\nMicrosoft .NET Framework 3.0\r\n\r\nWindows Vista\r\n\t\r\n\r\nMicrosoft .NET Framework 3.0\r\n\r\nWindows Vista x64 Edition\r\n\t\r\n\r\nMicrosoft .NET Framework 3.0\r\n\r\nThe software in this list has been tested to determine whether the versions are affected. Other versions either no longer include security update support or may not be affected. To determine the support life cycle for your product and version, visit the Microsoft Support Lifecycle Web site.\r\nTop of sectionTop of section\r\n\t\r\nFrequently Asked Questions (FAQ) Related to This Security Update\r\n\r\nThis security bulletin says that .NET Framework 3.0 is non-affected. How does .NET Framework 3.0 relate to the previous versions that are affected? \r\nMicrosoft .NET Framework 3.0 is a superset of .NET Framework 2.0. Microsoft .NET Framework 3.0 listed as Non-Affected Software in this security update refers to the four new technologies added as the superset to the .NET Framework 2.0. These technologies are: Windows Presentation Foundation (WPF), Windows Workflow Foundation (WF), Windows Communication Foundation (WCF), and Windows CardSpace. The vulnerabilities addressed in this security update do not affect any of the four specific .NET Framework 3.0 technologies. Developers wishing to learn more about the .NET Framework 3.0 and it\u2019s relation to previous version may refer to the following .NET Framework 3.0 Versioning and Deployment MSDN article. Additional information for .NET Framework 3.0 may also be found in the following MSDN article.\r\n\r\nWhat are the known issues that customers may experience when they install this security update? \r\nMicrosoft Knowledge Base Article 931212 documents the currently known issues that customers may experience when they install this security update. The article also documents recommended solutions for these issues.\r\n\r\nDoes this update contain any security-related changes to functionality? \r\nYes. In addition to the changes that are listed in the \u201cVulnerability Information\u201d section of this bulletin, this update includes a defense-in-depth change to ASP.NET. This defense-in-depth change mitigates the issue reported publicly and assigned the Common Vulnerability and Exposure number CVE-2006-7192.\r\n\r\nASP.NET developed Web applications using the ASP.NET request validation feature can not replace an effective validation layer restricting untrusted input variables. Developers wishing to learn more about the security features that ASP.NET provides Web applications may refer to the following MSDN article.\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\nI am using an older version of the software discussed in this security bulletin. What should I do? \r\nTheaffected software listed in this bulletin has been tested to determine which versions are affected. Other versions are past their support life cycle. To determine the support life cycle for your product and version, visit Microsoft Support Lifecycle.\r\n\r\nIt should be a priority for customers who have older versions of the software to migrate to supported versions to prevent potential exposure to vulnerabilities. For more information about the Windows Product Lifecycle, visit the following Microsoft Support Lifecycle. For more information about the extended security update support period for these operating system versions, visit the Microsoft Product Support Services Web site.\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, 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 Windows Operating System Product Support Lifecycle FAQ.\r\nTop of sectionTop of section\r\nVulnerability Information\r\n\t\r\nSeverity Ratings and Vulnerability Identifiers\r\nVulnerability Severity Rating and Maximum Security Impact by Affected Software\r\nAffected Software\t.NET PE Loader Vulnerability - CVE-2007-0041\tASP.NET Null Byte Termination Vulnerability - CVE-2007-0042\t.NET JIT Compiler Vulnerability - CVE-2007-0043\tAggregate Severity Rating\r\nWindows 2000 \t \t \t \t \r\n\r\nMicrosoft .NET Framework 1.0 when installed on Windows 2000 Service Pack 4\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nCritical\r\n\r\nMicrosoft .NET Framework 1.1 when installed on Windows 2000 Service Pack 4\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nCritical\r\n\r\nMicrosoft .NET Framework 2.0 when installed on Windows 2000 Service Pack 4\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\nWindows XP\t \t \t \t \r\n\r\nMicrosoft .NET Framework 1.0 when installed on Windows XP Service Pack 2\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nCritical\r\n\r\nMicrosoft .NET Framework 1.0 when installed on Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nCritical\r\n\r\nMicrosoft .NET Framework 1.0 on Windows XP Tablet PC Edition 2005 and Windows XP Media Center Edition 2005\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nCritical\r\n\r\nMicrosoft .NET Framework 1.1 when installed on Windows XP Service Pack 2\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nCritical\r\n\r\nMicrosoft .NET Framework 1.1 when installed on Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nCritical\r\n\r\nMicrosoft .NET Framework 2.0 when installed on Windows XP Service Pack 2\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\r\nMicrosoft .NET Framework 2.0 when installed on Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nCritical\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\nWindows Server 2003\t \t \t \t \r\n\r\nMicrosoft .NET Framework 1.0 when installed on Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 1.0 when installed on Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 1.0 when installed on Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 1.1 on Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 1.1 when installed on Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 1.1 when installed on Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 2.0 when installed on Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 2.0 when installed on Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 2.0 when installed on Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nModerate\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nImportant\r\nWindows Vista Family\t \t \t \t \r\n\r\nMicrosoft .NET Framework 1.0 when installed on Windows Vista\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 1.1 when installed on Windows Vista\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 1.1 when installed on Windows Vista x64 Edition\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 2.0 on Windows Vista\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nMicrosoft .NET Framework 2.0 on Windows Vista x64 Edition\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nInformation Disclosure\r\n\t\r\n\r\nNone\r\n\t\r\n\r\nImportant\r\n\r\nThis assessment is based on the types of systems that are affected by the vulnerability, their typical deployment patterns, and the effect that exploiting the vulnerability would have on them.\r\nTop of sectionTop of section\r\n\t\r\n.NET PE Loader Vulnerability - CVE-2007-0041:\r\n\r\nA remote code execution vulnerability exists in .NET Framework that could allow an attacker who successfully exploited this vulnerability to make changes to the system with the permissions of the logged-on user. If a user is logged in with administrative user rights, an attacker could take complete control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.\r\n\r\nTo view this vulnerability as a standard entry in the Common Vulnerabilities and Exposures list, see CVE-2007-0041.\r\n\t\r\nMitigating Factors for .NET PE Loader Vulnerability - CVE-2007-0041:\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\nIn a Web-based attack scenario, an attacker would have to host a Web site that contains a Web page that is used to 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 that takes them to the attacker's Web site. After they click the link, they would be prompted to perform several actions. An attack could only occur after they performed these actions.\r\n\u2022\t\r\n\r\nAn attacker who successfully exploited this vulnerability could gain the same user rights as the local user. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.\r\n\u2022\t\r\n\r\nBy default, all supported versions of Microsoft Outlook and Microsoft Outlook Express open HTML e-mail messages in the Restricted sites zone. The Restricted sites zone helps reduce the number of successful attacks that exploit this vulnerability by preventing Active Scripting and ActiveX controls from being used when reading HTML e-mail. However, if a user clicks on a link within an e-mail, they could still be vulnerable to this issue through the Web-based attack scenario.\r\n\u2022\t\r\n\r\nBy default, Internet Explorer on Windows Server 2003 runs in a restricted mode that is known as Enhanced Security Configuration. This mode sets the security level for the Internet zone to High. This is a mitigating factor for Web sites that have not been added to Internet Explorer Trusted sites zone. See the FAQ subsection of this vulnerability section for more information about Internet Explorer Enhanced Security Configuration.\r\n\u2022\t\r\n\r\n.NET Framework 1.0 is not included in supported editions of Windows with the exception of the following:\r\n\u2022\t\r\n\r\nWindows XP Tablet PC Edition 2005\r\n\u2022\t\r\n\r\nWindows XP Media Center Edition 2005\r\n\u2022\t\r\n\r\n.NET Framework 1.1 is not included in supported editions of Windows with the exception of the following:\r\n\u2022\t\r\n\r\nWindows Server 2003 Service Pack 1\r\n\u2022\t\r\n\r\nWindows Server 2003 Service Pack 2\r\n\u2022\t\r\n\r\n.NET Framework 2.0 is not included in supported editions of Windows with the exception of the following:\r\n\u2022\t\r\n\r\nWindows Vista\r\n\u2022\t\r\n\r\nWindows Vista x64-Edition\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for .NET PE Loader Vulnerability - CVE-2007-0041:\r\n\r\nMicrosoft has tested the following workarounds. Although these workarounds will not correct the underlying vulnerability, they help block known attack vectors. When a workaround reduces functionality, it is identified in the following section.\r\n\u2022\t\r\n\r\nSet Internet and Local intranet security zone settings to \u201cHigh\u201d to prompt before running ActiveX Controls and Active Scripting in these zones.\r\n\r\nYou can help protect against this vulnerability by changing your settings for the Internet security zone to prompt before running ActiveX controls. You can do this by setting your browser security to High.\r\n\r\nTo raise the browsing security level in Microsoft 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 prompting before running 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. Prompting before running ActiveX Controls or Active Scripting is a global setting that affects all Internet and intranet sites. You will be prompted frequently when you enable this workaround. For each prompt, if you feel you trust the site that you are visiting, click Yes to run ActiveX Controls or Active Scripting. If you do not want to be prompted for all these sites, use the steps outlined in "Add sites that you trust to the Internet Explorer Trusted sites zone\u201d.\r\n\r\nAdd sites that you trust to the Internet Explorer Trusted sites zone.\r\n\r\nAfter you set Internet Explorer to require a prompt before it runs 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 you 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 computer. Two in particular that you may want to add are "*.windowsupdate.microsoft.com" and \u201c*.update.microsoft.com\u201d (without the quotation marks). These are the sites that will host the update, and it requires an ActiveX Control to install the update.\r\n\u2022\t\r\n\r\nConfigure Internet Explorer to prompt before running Active Scripting or disable Active Scripting in the Internet and Local intranet security zone.\r\n\r\nYou can help protect against this vulnerability by changing your settings to prompt before running Active Scripting or to disable Active Scripting in the Internet and Local intranet security zone. To do this, follow these steps:\r\n\r\n1.\r\n\t\r\n\r\nIn Internet Explorer, click Internet Options on the Tools menu.\r\n\r\n2.\r\n\t\r\n\r\nClick the Security tab.\r\n\r\n3.\r\n\t\r\n\r\nClick Internet, and then click Custom Level.\r\n\r\n4.\r\n\t\r\n\r\nUnder Settings, in the Scripting section, under Active Scripting, click Promptor Disable, and then click OK.\r\n\r\n5.\r\n\t\r\n\r\nClick Local intranet, and then click Custom Level.\r\n\r\n6.\r\n\t\r\n\r\nUnder Settings, in the Scripting section, under Active Scripting, click Promptor Disable, and then click OK.\r\n\r\n7.\r\n\t\r\n\r\nClick OK two times to return to Internet Explorer.\r\n\r\nNote Disabling Active Scripting in the Internet and Local intranet security zones 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.\r\n\r\nImpact of Workaround: There are side effects to prompting before running Active Scripting. Many Web sites that are on the Internet or on an intranet use Active Scripting to provide additional functionality. For example, an online e-commerce site or banking site may use Active Scripting to provide menus, ordering forms, or even account statements. Prompting before running Active Scripting is a global setting that affects all Internet and intranet sites. You will be prompted frequently when you enable this workaround. For each prompt, if you feel you trust the site that you are visiting, click Yes to run Active Scripting. If you do not want to be prompted for all these sites, use the steps outlined in "Add sites that you trust to the Internet Explorer Trusted sites zone\u201d.\r\n\r\nAdd sites that you trust to the Internet Explorer Trusted sites zone.\r\n\r\nAfter you set Internet Explorer to require a prompt before it runs 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 you 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 computer. Two in particular that you may want to add are "*.windowsupdate.microsoft.com" and \u201c*.update.microsoft.com\u201d (without the quotation marks). These are the sites that will host the update, and it requires an ActiveX Control to install the update.\r\n\u2022\t\r\n\r\nRead e-mail messages in plain text format to help protect yourself from the HTML e-mail attack vector\r\n\r\nYou can help protect yourself against this vulnerability by changing your e-mail settings to read e-mail messages in plain text using Outlook 2002 and later, Outlook Express 6 and later, or Windows Mail. For information in Outlook, search \u201cplain text\u201d in Help and review \u201cRead messages in plain text.\u201d In Outlook Express, search \u201cplain text\u201d in Help and review \u201cReducing your risk of getting e-mail viruses.\u201d In Windows Mail, search \u201cplain text\u201d in Help and review \u201cSecurity and privacy in Windows Mail.\u201d\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\nDisable .Net controls in Internet Explorer 7\r\n\r\nYou can help protect against this vulnerability by changing your settings to disable .NET controls in the Internet and Local intranet security zone. To do this, follow these steps:\r\n\r\n1.\r\n\t\r\n\r\nIn Internet Explorer 7, click Internet Options on the Tools menu.\r\n\r\n2.\r\n\t\r\n\r\nClick the Security tab.\r\n\r\n3.\r\n\t\r\n\r\nClick Internet, and then click Custom Level.\r\n\r\n4.\r\n\t\r\n\r\nChange the following options to Disabled:\r\n\r\n5.\r\n\t\r\n\r\n.Net Framework\r\n\r\n6.\r\n\t\r\n\r\nLoose XAML\r\n\r\n7.\r\n\t\r\n\r\nXAML browser applications\r\n\r\n8.\r\n\t\r\n\r\nXPS documents\r\n\r\n9.\r\n\t\r\n\r\n.Net Framework-reliant components\r\n\r\n10.\r\n\t\r\n\r\nRun components not signed with Authenticode\r\n\r\n11.\r\n\t\r\n\r\nRun components signed with Authenticode\r\n\r\n12.\r\n\t\r\n\r\nClick OK to save the changes\r\n\r\n13.\r\n\t\r\n\r\nMake the same changes in other risk zones.\r\n\r\n14.\r\n\t\r\n\r\nClick OK two times to return to Internet Explorer.\r\n\r\nImpact of workaround: .NET controls will not load in the zones you have configured.\r\nTop of sectionTop of section\r\n\t\r\nFAQ for .NET PE Loader Vulnerability - CVE-2007-0041:\r\n\r\nWhat is the scope of the vulnerability?\r\nIf successfully exploited, this remote code execution vulnerability could allow the attacker to run arbitrary code as the logged-on user.\r\n\r\nWhat causes the vulnerability?\r\nAn unchecked buffer in the .NET Framework PE Loader service.\r\n\r\nWhat might an attacker use the vulnerability to do?\r\nAn attacker who successfully exploited this vulnerability could make changes to the system with the permissions of the logged-on user. If a user is logged in with administrative user rights, an attacker could take complete control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.\r\n\r\nHow could an attacker exploit the vulnerability?\r\nAn attacker could host a specially crafted Web site that is designed to exploit this vulnerability through Internet Explorer and then persuade a user to view the Web site. This can also include Web sites that accept user-provided content or advertisements, Web sites that host user-provided content or advertisements, and compromised Web sites. These Web sites could contain specially crafted content that could exploit this vulnerability. In all cases, however, an attacker would have no way to force users to visit these Web sites. Instead, an attacker would have to persuade users to visit the Web site, typically by getting them to click a link in an e-mail message or in an Instant Messenger request that takes users to the attacker's Web site. After they click the link, they would be prompted to perform several actions. An attack could only occur after they performed these actions. It could also be possible to display specially crafted Web content by using banner advertisements or by using other methods to deliver Web content to affected systems.\r\n\r\nWhat systems are primarily at risk from the vulnerability?\r\nThis vulnerability requires that a user is logged on and visits a Web site or runs a .NET application locally for any malicious action to occur. Therefore, any systems where Internet Explorer is used frequently, such as workstations or terminal servers, are at the most risk from this vulnerability.\r\n\r\nI am running Internet Explorer for Windows Server 2003. Does this mitigate this vulnerability? \r\nYes. By default, Internet Explorer for Windows Server 2003 runs in a restricted mode that is known as Enhanced Security Configuration. Enhanced Security Configuration is a group of preconfigured settings in Internet Explorer that can reduce the likelihood of a user or administrator downloading and running malicious Web content on a server. This is a mitigating factor for Web sites that you have not added to the Internet Explorer Trusted sites zone. See also Managing Internet Explorer Enhanced Security Configuration.\r\n\r\nWhat does the update do?\r\nThe update removes the vulnerability by modifying the way that .NET Framework PE Loader validates the length of a message before it passes the message to the allocated buffer.\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\nTop of sectionTop of section\r\nTop of sectionTop of section\r\n\t\r\nASP.NET Null Byte Termination Vulnerability - CVE-2007-0042:\r\n\r\nAn information disclosure vulnerability exists in .NET Framework that could allow an attacker who successfully exploited this vulnerability to bypass the security features of an ASP.NET Web site to download the contents of any Web page.\r\n\r\nTo view this vulnerability as a standard entry in the Common Vulnerabilities and Exposures list, see CVE-2007-0042.\r\n\t\r\nMitigating Factors for ASP.NET Null Byte Termination Vulnerability - CVE-2007-0042:\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 factor may be helpful in your situation:\r\n\r\nASP.NET developed Web applications that restrict all untrusted input variables, including null bytes, to a range of expected values or characters would not be affected. Developers wishing to learn more about the security features that ASP.NET provides Web applications may refer to the following MSDN article.\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for ASP.NET Null Byte Termination Vulnerability - CVE-2007-0042:\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 workaround and states in the discussion whether a workaround reduces functionality:\r\n\r\nASP.NET Web Developers may compare values obtained from Internet accessible values such as query string, cookies, or form variables against a list of allowed values and reject any other values that fall outside of this range.\r\nTop of sectionTop of section\r\n\t\r\nFAQ for ASP.NET Null Byte Termination Vulnerability - CVE-2007-0042:\r\n\r\nWhat is the scope of the vulnerability?\r\nThis information disclosure vulnerability could allow an attacker to bypass ASP.NET security features by sending invalid URLs and gaining unauthorized access to configuration files. Note that this vulnerability would not allow an attacker to execute code or to elevate their user rights directly, but it could be used to find information that could be used to try to further compromise the affected system.\r\n\r\nWhat causes the vulnerability?\r\nASP.NET does not properly validate the URL passed as input.\r\n\r\nWhat is ASP.NET?\r\nASP.NET is a collection of technologies within the.NET Framework that enable developers to build Web applications and XML Web Services.\r\n\r\nUnlike traditional Web pages, which use a combination of static HTML and scripting, ASP.NET uses compiled, event-driven pages. Because ASP.NET is a Web-based application environment, requiring an underlying Web server to provide basic HTTP functionality. ASP.NET runs on top of Internet Information Services (IIS) 5.0 on Windows 2000, IIS 5.1 on Windows XP, and IIS 6.0 on Windows Server 2003.\r\n\r\nWhat might an attacker use the vulnerability to do?\r\nAn attacker who successfully exploited this vulnerability could gain unauthorized access to parts of a Web site. The actions the attacker could take would depend on the specific content being protected.\r\n\r\nWho could exploit the vulnerability?\r\nIn a Web-based attack scenario, an anonymous user who could connect to a Web site with a specially crafted URL could try to exploit this vulnerability.\r\n\r\nWhat systems are primarily at risk from the vulnerability?\r\nInternet-facing systems that host Web sites are primarily at risk from this vulnerability.\r\n\r\nWhat does the update do?\r\nThe update removes the vulnerability by modifying the way that ASP.NET validates URLs.\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\nTop of sectionTop of section\r\nTop of sectionTop of section\r\n\t\r\n.NET JIT Compiler Vulnerability - CVE-2007-0043:\r\n\r\nA remote code execution vulnerability exists in .NET Framework Just In Time Compiler that could allow an attacker who successfully exploited this vulnerability to make changes to the system with the permissions of the logged-on user. If a user is logged on with administrative user rights, an attacker could take complete control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.\r\n\r\nTo view this vulnerability as a standard entry in the Common Vulnerabilities and Exposures list, see CVE-2007-0043.\r\n\t\r\nMitigating Factors for .NET JIT Compiler Vulnerability - CVE-2007-0043:\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\nIn a Web-based attack scenario, an attacker would have to host a Web site that contains a Web page that is used to 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 that takes them to the attacker's Web site. After they click the link, they would be prompted to perform several actions. An attack could only occur after they performed these actions.\r\n\u2022\t\r\n\r\nAn attacker who successfully exploited this vulnerability could gain the same user rights as the local user. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.\r\n\u2022\t\r\n\r\nBy default, all supported versions of Microsoft Outlook and Microsoft Outlook Express open HTML e-mail messages in the Restricted sites zone. The Restricted sites zone helps reduce the number of successful attacks that exploit this vulnerability by preventing Active Scripting and ActiveX controls from being used when reading HTML e-mail. However, if a user clicks on a link within an e-mail, they could still be vulnerable to this issue through the Web-based attack scenario.\r\n\u2022\t\r\n\r\nBy default, Internet Explorer on Windows Server 2003 runs in a restricted mode that is known as Enhanced Security Configuration. This mode sets the security level for the Internet zone to High. This is a mitigating factor for Web sites that have not been added to Internet Explorer Trusted sites zone. See the FAQ subsection of this vulnerability section for more information about Internet Explorer Enhanced Security Configuration.\r\n\u2022\t\r\n\r\n.NET Framework 1.0 is not included in supported editions of Windows with the exception of the following:\r\n\u2022\t\r\n\r\nWindows XP Tablet PC Edition 2005\r\n\u2022\t\r\n\r\nWindows XP Media Center Edition 2005\r\n\u2022\t\r\n\r\n.NET Framework 1.1 is not included in supported editions of Windows with the exception of the following:\r\n\u2022\t\r\n\r\nWindows Server 2003 Service Pack 1\r\n\u2022\t\r\n\r\nWindows Server 2003 Service Pack 2\r\n\u2022\t\r\n\r\n.NET Framework 2.0 is not included in supported editions of Windows with the exception of the following:\r\n\u2022\t\r\n\r\nWindows Vista\r\n\u2022\t\r\n\r\nWindows Vista x64-Edition\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for .NET JIT Compiler Vulnerability - CVE-2007-0043:\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\nSet Internet and Local intranet security zone settings to \u201cHigh\u201d to prompt before running ActiveX Controls and Active Scripting in these zones.\r\n\r\nYou can help protect against this vulnerability by changing your settings for the Internet security zone to prompt before running ActiveX controls. You can do this by setting your browser security to High.\r\n\r\nTo raise the browsing security level in Microsoft 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 prompting before running 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. Prompting before running ActiveX Controls or Active Scripting is a global setting that affects all Internet and intranet sites. You will be prompted frequently when you enable this workaround. For each prompt, if you feel you trust the site that you are visiting, click Yes to run ActiveX Controls or Active Scripting. If you do not want to be prompted for all these sites, use the steps outlined in "Add sites that you trust to the Internet Explorer Trusted sites zone\u201d.\r\n\r\nAdd sites that you trust to the Internet Explorer Trusted sites zone.\r\n\r\nAfter you set Internet Explorer to require a prompt before it runs 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 you 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 computer. Two in particular that you may want to add are "*.windowsupdate.microsoft.com" and \u201c*.update.microsoft.com\u201d (without the quotation marks). These are the sites that will host the update, and it requires an ActiveX Control to install the update.\r\n\u2022\t\r\n\r\nConfigure Internet Explorer to prompt before running Active Scripting or disable Active Scripting in the Internet and Local intranet security zone.\r\n\r\nYou can help protect against this vulnerability by changing your settings to prompt before running Active Scripting or to disable Active Scripting in the Internet and Local intranet security zone. To do this, follow these steps:\r\n\r\n1.\r\n\t\r\n\r\nIn Internet Explorer, click Internet Options on the Tools menu.\r\n\r\n2.\r\n\t\r\n\r\nClick the Security tab.\r\n\r\n3.\r\n\t\r\n\r\nClick Internet, and then click Custom Level.\r\n\r\n4.\r\n\t\r\n\r\nUnder Settings, in the Scripting section, under Active Scripting, click Promptor Disable, and then click OK.\r\n\r\n5.\r\n\t\r\n\r\nClick Local intranet, and then click Custom Level.\r\n\r\n6.\r\n\t\r\n\r\nUnder Settings, in the Scripting section, under Active Scripting, click Promptor Disable, and then click OK.\r\n\r\n7.\r\n\t\r\n\r\nClick OK two times to return to Internet Explorer.\r\n\r\nNote Disabling Active Scripting in the Internet and Local intranet security zones 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.\r\n\r\nImpact of Workaround: There are side effects to prompting before running Active Scripting. Many Web sites that are on the Internet or on an intranet use Active Scripting to provide additional functionality. For example, an online e-commerce site or banking site may use Active Scripting to provide menus, ordering forms, or even account statements. Prompting before running Active Scripting is a global setting that affects all Internet and intranet sites. You will be prompted frequently when you enable this workaround. For each prompt, if you feel you trust the site that you are visiting, click Yes to run Active Scripting. If you do not want to be prompted for all these sites, use the steps outlined in "Add sites that you trust to the Internet Explorer Trusted sites zone\u201d.\r\n\r\nAdd sites that you trust to the Internet Explorer Trusted sites zone.\r\n\r\nAfter you set Internet Explorer to require a prompt before it runs 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 you 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 computer. Two in particular that you may want to add are "*.windowsupdate.microsoft.com" and \u201c*.update.microsoft.com\u201d (without the quotation marks). These are the sites that will host the update, and it requires an ActiveX Control to install the update.\r\n\u2022\t\r\n\r\nRead e-mail messages in plain text format to help protect yourself from the HTML e-mail attack vector\r\n\r\nYou can help protect yourself against this vulnerability by changing your e-mail settings to read e-mail messages in plain text using Outlook 2002 and later, Outlook Express 6 and later, or Windows Mail. For information in Outlook, search \u201cplain text\u201d in Help and review \u201cRead messages in plain text.\u201d In Outlook Express, search \u201cplain text\u201d in Help and review \u201cReducing your risk of getting e-mail viruses.\u201d In Windows Mail, search \u201cplain text\u201d in Help and review \u201cSecurity and privacy in Windows Mail.\u201d\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\nTop of sectionTop of section\r\n\t\r\nFAQ .NET JIT Compiler Vulnerability - CVE-2007-0043:\r\n\r\nWhat is the scope of the vulnerability?\r\nIf successfully exploited, this remote code execution vulnerability could allow the attacker to run arbitrary code as the logged-on user.\r\n\r\nWhat causes the vulnerability?\r\nAn unchecked buffer in the .NET Framework 2.0 JIT Compiler service within the .NET Framework.\r\n\r\nWhat might an attacker use the vulnerability to do?\r\nAn attacker who successfully exploited this vulnerability could make changes to the system with the permissions of the logged-on user. If a user is logged on with administrative user rights, an attacker could take complete control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.\r\n\r\nHow could an attacker exploit the vulnerability?\r\nAn attacker could host a specially crafted Web site that is designed to exploit this vulnerability through Internet Explorer and then persuade a user to view the Web site. This can also include Web sites that accept user-provided content or advertisements, Web sites that host user-provided content or advertisements, and compromised Web sites. These Web sites could contain specially crafted content that could exploit this vulnerability. In all cases, however, an attacker would have no way to force users to visit these Web sites. Instead, an attacker would have to persuade users to visit the Web site, typically by getting them to click a link in an e-mail message or in an Instant Messenger request that takes users to the attacker's Web site. It could also be possible to display specially crafted Web content by using banner advertisements or by using other methods to deliver Web content to affected systems.\r\n\r\nWhat systems are primarily at risk from the vulnerability?\r\nThis vulnerability requires that a user is logged on and visits a Web site for any malicious action to occur. Therefore, any systems where Internet Explorer is used frequently, such as workstations or terminal servers, are at the most risk from this vulnerability.\r\n\r\nI am running Internet Explorer for Windows Server 2003. Does this mitigate this vulnerability? \r\nYes. By default, Internet Explorer for Windows Server 2003 runs in a restricted mode that is known as Enhanced Security Configuration. Enhanced Security Configuration is a group of preconfigured settings in Internet Explorer that can reduce the likelihood of a user or administrator downloading and running malicious Web content on a server. This is a mitigating factor for Web sites that you have not added to the Internet Explorer Trusted sites zone. See also Managing Internet Explorer Enhanced Security Configuration.\r\n\r\nWhat does the update do?\r\nThe update removes the vulnerability by modifying the way that the .NET Framework 2.0 JIT Compiler validates the length of a message before it passes the message to the allocated buffer.\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\t\r\nAcknowledgments\r\n\r\nMicrosoft thanks the following for working with us to help protect customers:\r\n\u2022\t\r\n\r\nDinis Cruz of OWASP for reporting the .NET PE Loader Vulnerability (CVE-2007-0041).\r\n\u2022\t\r\n\r\nPaul Craig of Security Assessment for reporting the ASP.NET Null Byte Termination Vulnerability (CVE-2007-0042).\r\n\u2022\t\r\n\r\nJeroen Frijters of Sumatra for reporting the .NET JIT Compiler Vulnerability (CVE-2007-0043).\r\n\u2022\t\r\n\r\nFerruh T. Mavituna of Portcullis Computer Security Ltd. for originally reporting the .NET Request Filtering Bypass Vulnerability (CVE-2006-7192).\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\nTop of sectionTop of section\r\nRevisions: \r\n\u2022\t\r\n\r\nV1.0 (July 10, 2007): Bulletin published.", "edition": 1, "modified": "2007-07-10T00:00:00", "published": "2007-07-10T00:00:00", "id": "SECURITYVULNS:DOC:17445", "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:17445", "title": "Microsoft Security Bulletin MS07-040 - Critical Vulnerabilities in .NET Framework Could Allow Remote Code Execution (931212)", "type": "securityvulns", "cvss": {"score": 9.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}], "mskb": [{"lastseen": "2021-01-01T22:36:09", "bulletinFamily": "microsoft", "cvelist": ["CVE-2007-0042", "CVE-2007-0043", "CVE-2007-0041"], "description": "<html><body><p>Resolves three privately reported vulnerabilities. Two of these vulnerabilities could allow remote code execution on client systems that have the .NET Framework installed. One could allow information disclosure on Web servers that are running ASP.NET.</p><h2>INTRODUCTION</h2><div class=\"kb-summary-section section\">Microsoft has released security bulletin MS07-040. This security bulletin contains all the relevant information about the corresponding security update. This information includes file manifest information and deployment options. To view the complete security bulletin, visit one of the following Microsoft Web sites:<br/><br/><ul class=\"sbody-free_list\"><li>Home users:<div class=\"indent\"><a href=\"http://www.microsoft.com/protect/computer/updates/bulletins/200707.mspx\" id=\"kb-link-1\" target=\"_self\">http://www.microsoft.com/protect/computer/updates/bulletins/200707.mspx</a></div><span class=\"text-base\">Skip the details</span>: Download the updates for your home computer or laptop from the Microsoft Update Web site now:<br/><div class=\"indent\"><a href=\"http://update.microsoft.com/microsoftupdate/\" id=\"kb-link-2\" target=\"_self\">http://update.microsoft.com/microsoftupdate/</a></div></li><li>IT professionals:<div class=\"indent\"><a href=\"http://www.microsoft.com/technet/security/bulletin/ms07-040.mspx\" id=\"kb-link-3\" target=\"_self\">http://www.microsoft.com/technet/security/bulletin/MS07-040.mspx</a></div></li></ul></div><h2>More Information</h2><div class=\"kb-moreinformation-section section\"><h3 class=\"sbody-h3\">Known issues with this security update</h3>The following table lists the known issues with this security update. Help installing updates: <br/><a href=\"https://support.microsoft.com/ph/6527\" id=\"kb-link-4\" target=\"_self\">Support for Microsoft Update</a><br/><br/>Security solutions for IT professionals: <br/><a href=\"http://technet.microsoft.com/security/bb980617.aspx\" id=\"kb-link-5\" target=\"_self\">TechNet Security Troubleshooting and Support</a><br/><br/>Help protect your computer that is running Windows from viruses and malware:<br/><a href=\"https://support.microsoft.com/contactus/cu_sc_virsec_master\" id=\"kb-link-6\" target=\"_self\">Virus Solution and Security Center</a><br/><br/>Local support according to your country: <br/><a href=\"https://support.microsoft.com/common/international.aspx\" id=\"kb-link-7\" target=\"_self\">International Support</a><br/><br/><br/><br/>To use the table, look in the top two rows of the table. Locate the column of the appropriate Microsoft Knowledge Base article number for the update that corresponds to the .NET Framework version that you are using. The rows that contain an \"X\" correspond to a Knowledge Base article that describes a known issue for the .NET Framework version that you are using. Click the article numbers in the left column to view the article. <div class=\"table-responsive\"><table class=\"sbody-table table\"><tr class=\"sbody-tr\"><th class=\"sbody-th\"></th><th class=\"sbody-th\">KB930494<br/>.NET Framework 1.0 SP3</th><th class=\"sbody-th\">KB928367<br/>.NET Framework 1.0 SP3</th><th class=\"sbody-th\">KB928366<br/>.NET Framework 1.1 SP1</th><th class=\"sbody-th\">KB933854<br/>.NET Framework 1.1 SP1</th><th class=\"sbody-th\">KB929729<br/>.NET Framework 1.1 SP1</th><th class=\"sbody-th\">KB928365<br/>.NET Framework 2.0</th><th class=\"sbody-th\">KB929916<br/>.NET Framework 2.0</th></tr><tr class=\"sbody-tr\"><th class=\"sbody-th\"> Microsoft Knowledge Base article </th><th class=\"sbody-th\"> MCE and Tablet PC </th><th class=\"sbody-th\"> Vista/Windows Server 2003/Windows 2000/Windows XP </th><th class=\"sbody-th\"> Windows 2000/Windows XP/Windows Server 2003 x64 and IA-64 </th><th class=\"sbody-th\"> Windows Server 2003 x86 </th><th class=\"sbody-th\"> Vista </th><th class=\"sbody-th\">Windows Server 2003/Windows XP/Windows 2000 </th><th class=\"sbody-th\"> Vista </th></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/923100\" id=\"kb-link-8\">923100 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/923101\" id=\"kb-link-9\">923101 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/931846\" id=\"kb-link-10\">931846 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/934229\" id=\"kb-link-11\">934229 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/934711\" id=\"kb-link-12\">934711 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/934712\" id=\"kb-link-13\">934712 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/934793\" id=\"kb-link-14\">934793 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/936597\" id=\"kb-link-15\">936597 </a></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/939160\" id=\"kb-link-16\">939160 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/939949\" id=\"kb-link-17\">939949 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/940332\" id=\"kb-link-18\">940332 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/940521\" id=\"kb-link-19\">940521 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/940947\" id=\"kb-link-20\">940947 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/941386\" id=\"kb-link-21\">941386 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/941789\" id=\"kb-link-22\">941789 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/942086\" id=\"kb-link-23\">942086 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/943804\" id=\"kb-link-24\">943804 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/944746\" id=\"kb-link-25\">944746 </a></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\"><a href=\"https://support.microsoft.com/en-us/help/944925\" id=\"kb-link-26\">944925 </a></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\">X</td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td><td class=\"sbody-td\"></td></tr></table></div><h4 class=\"sbody-h4\">Microsoft Knowledge Base articles that describe the known issues with this security update</h4><span>For more information about the known issues that are referenced in this table, click the following article numbers to view the articles in the Microsoft Knowledge Base:<div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/923100\" id=\"kb-link-27\">923100 </a> When you try to install an update for the .NET Framework 1.0, 1.1, or 2.0, you may receive Windows Update error code \"0x643\" or Windows Installer error code \"1603\"</div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/923101\" id=\"kb-link-28\">923101 </a> Error message when you try to install a security update for the .NET Framework 2.0 on a computer that is running Windows Server 2003 x64 Edition: \"Error 1324. The folder 'Program Files' contains an invalid character\" </div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/931846\" id=\"kb-link-29\">931846 </a> You may be unable to execute SQL Server 2005 Integration Services packages that contain script tasks or script components </div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/934229\" id=\"kb-link-30\">934229 </a> The \"Add Link to Site\" page stops responding, and the link is not added when you try to add a new link to the Site Directory in a SharePoint Portal Server 2003 site</div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/934711\" id=\"kb-link-31\">934711 </a> Error message when you restart the computer after you uninstall a security update for the .NET Framework 1.1: \"This application has requested the Runtime to terminate in an unusual way\" </div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/934712\" id=\"kb-link-32\">934712 </a> Warning message when you try to install a .NET Framework 1.0 Service Pack 3 or .NET Framework 1.1 Service Pack 1 security update on a Windows Vista-based computer: \"An unidentified program wants to access your computer\"</div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/934793\" id=\"kb-link-33\">934793 </a> Description of the SharePoint Server 2007 hotfix package: April 12, 2007 </div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/936597\" id=\"kb-link-34\">936597 </a> The application or control does not run when you try to run .NET Framework 1.0 HREF tags to point to a managed executable application or to a control </div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/939160\" id=\"kb-link-35\">939160 </a>The file version is rolled back to the version that was installed by the last service pack when you remove some security updates for the .NET Framework 1.1 or for the .NET Framework 1.0 </div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/939949\" id=\"kb-link-36\">939949 </a> Error message when you run an application or try to access a Web site on a computer that has a particular .NET Framework 2.0 software update installed: \"Culture name 'Culture' is not supported\" </div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/940332\" id=\"kb-link-37\">940332 </a> Error message when you install an update for the .NET Framework 1.1 or for the .NET Framework 1.0: \"The upgrade patch cannot be installed by the Windows Installer service\"</div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/940521\" id=\"kb-link-38\">940521 </a> The behavior of the UTF8Encoding class, the UnicodeEncoding class, and the UTF32Encoding class changes after you install the security update for the .NET Framework 2.0 that is described in security bulletin MS07-040</div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/940947\" id=\"kb-link-39\">940947 </a> Error message after you install security update 931212 (MS07-040) in Windows 2000 with Service Pack 4: \"Error 127: the specified procedure could not be found\"</div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/941386\" id=\"kb-link-40\">941386 </a> FIX: Error message when you run an ASP.NET 2.0 Web application that is built on the .NET Framework 2.0 after you install the MS07-040 security update: \"Type 'System.Web.HttpHeaderCollection' is not marked as serializable\"</div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/941789\" id=\"kb-link-41\">941789 </a> You receive error messages after you install security update 931212 (MS07-040) on a Windows SharePoint Services 3.0 Web front-end server or on a SharePoint Server 2007 Web front-end server</div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/942086\" id=\"kb-link-42\">942086 </a> FIX: Error message when you run an ASP.NET 2.0 Web application that is built on the .NET Framework 2.0: \"The constructor to deserialize an object of type '<custom object>' was not found\"</div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/943804\" id=\"kb-link-43\">943804 </a> FIX: Certain Unicode characters returned by the Application.ExecutablePath property in the .NET Framework 2.0 are displayed as \"?\"</div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/944746\" id=\"kb-link-44\">944746 </a>FIX: Event ID: 1008 occurs after you apply security update MS07-040 on a computer that has the .NET Framework 1.0 installed<br/></div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/944925\" id=\"kb-link-45\">944925 </a>FIX: You may receive an exception error message when you serialize an ObjRef object between the client computer and the server computer after you install the MS07-040 update on only the client computer<br/></div></span><h3 class=\"sbody-h3\">Microsoft Knowledge Base articles that describe the individual packages for this security update</h3><span>For more information about the individual packages for this security update, click the following article numbers to view the articles in the Microsoft Knowledge Base:<br/><br/><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/930494\" id=\"kb-link-46\">930494 </a>Description of the security update for the .NET Framework 1.0 Service Pack 3 for Windows XP Media Center and Windows XP Tablet PC: July 10, 2007<br/><br/></div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/928367\" id=\"kb-link-47\">928367 </a> Description of the security update for the .NET Framework 1.0 Service Pack 3 for Windows Vista, Windows Server 2003, Windows XP, and Windows 2000: July 10, 2007<br/><br/></div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/928366\" id=\"kb-link-48\">928366 </a> Description of the security update for the .NET Framework 1.1 Service Pack 1 for Windows XP and Windows 2000: July 10, 2007<br/><br/></div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/933854\" id=\"kb-link-49\">933854 </a> Description of the security update for the .NET Framework 1.1 Service Pack 1 for Windows Server 2003: July 10, 2007<br/><br/></div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/929729\" id=\"kb-link-50\">929729 </a> Description of the security update for the .NET Framework 1.1 Service Pack 1 for Windows Vista: July 10, 2007<br/><br/></div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/928365\" id=\"kb-link-51\">928365 </a> Description of the security update for the .NET Framework 2.0 for Windows Server 2003, Windows XP, and Windows 2000: July 10, 2007<br/><br/></div></span><span><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/929916\" id=\"kb-link-52\">929916 </a> Description of the security update for the .NET Framework 2.0 for Windows Vista: July 10, 2007<br/><br/></div></span><h3 class=\"sbody-h3\">Additional information about this security update</h3> After you install this security update, the behavior of UTF8Encoding, UnicodeEncoding, and UTF32Encoding change to comply to the Unicode 5.0 requirements for Unicode encodings. Unauthorized and invalid bytes are not removed. Instead, they are replaced by the Unicode character U+FFFD, the Unicode replacement character. <br/><br/><span>For more information about this behavior, click the following article number to view the article in the Microsoft Knowledge Base:<br/><br/><div class=\"indent\"><a href=\"https://support.microsoft.com/en-us/help/940521\" id=\"kb-link-53\">940521 </a>The behavior of the UTF8Encoding class, the UnicodeEncoding class, and the UTF32Encoding class changes after you install the security update for the .NET Framework 2.0 that is described in security bulletin MS07-040<br/><br/></div></span><h3 class=\"sbody-h3\">Affected software</h3>This article applies to the following versions of the Microsoft .NET Framework when used with the corresponding Microsoft operating systems:<br/><br/><ul class=\"sbody-free_list\"><li>The .NET Framework 1.0 Service Pack 3 when used with:<br/><br/><ul class=\"sbody-free_list\"><li>Windows 2000 Service Pack 4</li><li>Windows XP Service Pack 2</li><li>Windows XP Service Pack 3</li><li>Windows XP Professional x64 Edition</li><li>Windows XP Professional x64 Edition Service Pack 2</li><li>Windows XP Tablet PC Edition 2005</li><li>Windows XP Media Center Edition 2005</li><li>Windows Server 2003 Service Pack 1</li><li>Windows Server 2003 Service Pack 2</li><li>Windows Server 2003 for Itanium-based Systems when used with:<br/><br/><ul class=\"sbody-free_list\"><li>Windows Server 2003 Service Pack 1</li><li>Windows Server 2003 Service Pack 2</li></ul></li><li>Windows Server 2003 x64 Edition</li><li>Windows Server 2003 x64 Edition Service Pack 2</li><li>Windows Vista</li><li>Windows Vista Service Pack 1</li><li>Windows Server 2008</li></ul></li><li>The .NET Framework 1.1 Service Pack 1 when used with:<br/><br/><ul class=\"sbody-free_list\"><li>Windows 2000 Service Pack 4</li><li>Windows XP Service Pack 2</li><li>Windows XP Service Pack 3</li><li>Windows XP Professional x64 Edition</li><li>Windows XP Professional x64 Edition Service Pack 2</li><li>Windows Server 2003 Service Pack 1</li><li>Windows Server 2003 Service Pack 2</li><li>Windows Server 2003 for Itanium-based Systems when used with:<br/><br/><ul class=\"sbody-free_list\"><li>Windows Server 2003 Service Pack 1</li><li>Windows Server 2003 Service Pack 2</li></ul></li><li>Windows Server 2003 x64 Edition</li><li>Windows Server 2003 x64 Edition Service Pack 2</li><li>Windows Vista</li><li>Windows Vista Service Pack 1</li><li>Windows Vista x64 Edition</li><li>Windows Vista x64 Edition Service Pack 1</li><li>Windows Server 2008</li><li>Windows Server 2008 x64 Edition </li><li>Windows Server 2008 for Itanium-based Systems</li></ul></li><li>The .NET Framework 2.0 when used with:<br/><br/><ul class=\"sbody-free_list\"><li>Windows 2000 Service Pack 4</li><li>Windows XP Service Pack 2</li><li>Windows XP Service Pack 3</li><li>Windows XP Professional x64 Edition</li><li>Windows XP Professional x64 Edition Service Pack 2</li><li>Windows Server 2003 Service Pack 1</li><li>Windows Server 2003 Service Pack 2</li><li>Windows Server 2003 for Itanium-based Systems when used with:<br/><br/><ul class=\"sbody-free_list\"><li>Windows Server 2003 Service Pack 1</li><li>Windows Server 2003 Service Pack 2</li></ul></li><li>Windows Server 2003 x64 Edition</li><li>Windows Server 2003 x64 Edition Service Pack 2</li><li>Windows Vista</li><li>Windows Vista x64 Edition</li></ul></li></ul></div></body></html>", "edition": 2, "modified": "2018-04-24T19:15:57", "id": "KB931212", "href": "https://support.microsoft.com/en-us/help/931212/", "published": "2018-04-24T19:15:57", "title": "MS07-040: Vulnerabilities in the .NET Framework could allow remote code execution", "type": "mskb", "cvss": {"score": 9.3, "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C"}}], "nessus": [{"lastseen": "2020-05-16T04:23:28", "description": "The remote web server is running a version of the ASP.NET framework\nthat contains multiple vulnerabilities :\n\n - A PE Loader vulnerability could allow an attacker to\n execute arbitrary code with the privilege of the\n logged-on user.\n\n - A ASP.NET NULL byte termination vulnerability could\n allow an attacker to retrieve contents from the web\n server.\n\n - A JIT compiler vulnerability could allow an attacker to\n execute arbitrary code with the privilege of the\n logged-on user.", "edition": 21, "published": "2007-07-11T00:00:00", "title": "MS07-040: Vulnerabilities in .NET Framework Could Allow Remote Code Execution (931212) (uncredentialed check)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-0042", "CVE-2006-7192", "CVE-2007-0043", "CVE-2007-0041"], "modified": "2007-07-11T00:00:00", "cpe": ["cpe:/o:microsoft:windows", "cpe:/a:microsoft:.net_framework"], "id": "SMB_KB931212.NASL", "href": "https://www.tenable.com/plugins/nessus/25700", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(25700);\n script_version(\"1.29\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2020/05/15\");\n\n script_cve_id(\"CVE-2006-7192\", \"CVE-2007-0041\", \"CVE-2007-0042\", \"CVE-2007-0043\");\n script_bugtraq_id(20753, 24778, 24791, 24811);\n script_xref(name:\"IAVA\", value:\"2007-A-0037-S\");\n script_xref(name:\"MSFT\", value:\"MS07-040\");\n script_xref(name:\"MSKB\", value:\"928365\");\n script_xref(name:\"MSKB\", value:\"928367\");\n script_xref(name:\"MSKB\", value:\"929729\");\n\n script_name(english:\"MS07-040: Vulnerabilities in .NET Framework Could Allow Remote Code Execution (931212) (uncredentialed check)\");\n script_summary(english:\"Determines the version of the .NET framework by looking at the IIS headers\");\n\n script_set_attribute(\n attribute:\"synopsis\",\n value:\"The remote .Net Framework is vulnerable to a code execution attack.\"\n );\n script_set_attribute(attribute:\"description\", value:\n\"The remote web server is running a version of the ASP.NET framework\nthat contains multiple vulnerabilities :\n\n - A PE Loader vulnerability could allow an attacker to\n execute arbitrary code with the privilege of the\n logged-on user.\n\n - A ASP.NET NULL byte termination vulnerability could\n allow an attacker to retrieve contents from the web\n server.\n\n - A JIT compiler vulnerability could allow an attacker to\n execute arbitrary code with the privilege of the\n logged-on user.\" );\n # https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2007/ms07-040\n script_set_attribute(attribute:\"see_also\", value:\"https://www.nessus.org/u?14274f59\");\n script_set_attribute(attribute:\"solution\", value:\n\"Microsoft has released a set of patches for .NET Framework 1.0, 1.1 and\n2.0.\" );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C\");\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:\"exploited_by_malware\", value:\"true\");\n script_cwe_id(119, 200);\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2007/04/05\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/07/10\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/07/11\");\n\n script_set_attribute(attribute:\"plugin_type\", value: \"remote\");\n script_set_attribute(attribute:\"stig_severity\", value:\"II\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:microsoft:windows\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/a:microsoft:.net_framework\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2007-2020 Tenable Network Security, Inc.\");\n script_family(english:\"Windows\");\n\n script_dependencies(\"dotnet_framework_version.nasl\");\n script_require_ports(\"Services/www/ASP.Net\");\n exit(0);\n}\n\n#\ninclude(\"global_settings.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"http.inc\");\n\nport = get_http_port(default:80);\n\nkb = get_kb_item(\"www/\" + port + \"/Microsoft_.NET_Framework_Version\");\nif ( ! kb ) exit(0);\n\nv = split(kb, sep:'.', keep:FALSE);\nfor ( i = 0 ; i < max_index(v) ; i ++ ) v[i] = int(v[i]);\n\nif ( (v[0] == 1 && v[1] == 0 && v[2] < 3705) ||\n (v[0] == 1 && v[1] == 0 && v[2] == 3705 && v[3] < 6060) || # 1.0SP3\n\n (v[0] == 1 && v[1] == 1 && v[2] < 4322) ||\n (v[0] == 1 && v[1] == 1 && v[2] == 4322 && v[3] < 2407) || # 1.1 SP1\n\n (v[0] == 2 && v[1] == 0 && v[2] < 50727 ) ||\n (v[0] == 2 && v[1] == 0 && v[2] == 50727 && v[3] < 832 ) ) security_hole(port);\n", "cvss": {"score": 9.3, "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C"}}, {"lastseen": "2020-05-16T04:23:30", "description": "The remote host is running a version of the ASP.NET framework that\ncontains multiple vulnerabilities :\n\n - A PE Loader vulnerability could allow an attacker to\n execute arbitrary code with the privileges of the\n logged-on user.\n\n - An ASP.NET NULL byte termination vulnerability could\n allow an attacker to retrieve the content of the web\n server.\n\n - A JIT compiler vulnerability could allow an attacker to\n execute arbitrary code with the privileges of the\n logged-on user.", "edition": 21, "published": "2007-07-10T00:00:00", "title": "MS07-040: Vulnerabilities in .NET Framework Could Allow Remote Code Execution (931212)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2007-0042", "CVE-2006-7192", "CVE-2007-0043", "CVE-2007-0041"], "modified": "2007-07-10T00:00:00", "cpe": ["cpe:/o:microsoft:windows", "cpe:/a:microsoft:.net_framework"], "id": "SMB_NT_MS07-040.NASL", "href": "https://www.tenable.com/plugins/nessus/25691", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(25691);\n script_version(\"1.35\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2020/05/15\");\n\n script_cve_id(\n \"CVE-2006-7192\",\n \"CVE-2007-0041\",\n \"CVE-2007-0042\",\n \"CVE-2007-0043\"\n );\n script_bugtraq_id(20753, 24778, 24791, 24811);\n script_xref(name:\"IAVA\", value:\"2007-A-0037-S\");\n script_xref(name:\"MSFT\", value:\"MS07-040\");\n script_xref(name:\"MSKB\", value:\"928365\");\n script_xref(name:\"MSKB\", value:\"928367\");\n script_xref(name:\"MSKB\", value:\"929729\");\n \n script_xref(name:\"EDB-ID\", value:\"30281\");\n\n script_name(english:\"MS07-040: Vulnerabilities in .NET Framework Could Allow Remote Code Execution (931212)\");\n script_summary(english:\"Determines the version of the ASP.Net DLLs\");\n\n script_set_attribute(attribute:\"synopsis\", value:\"The remote .Net Framework is vulnerable to code execution attack.\");\n script_set_attribute(attribute:\"description\", value:\n\"The remote host is running a version of the ASP.NET framework that\ncontains multiple vulnerabilities :\n\n - A PE Loader vulnerability could allow an attacker to\n execute arbitrary code with the privileges of the\n logged-on user.\n\n - An ASP.NET NULL byte termination vulnerability could\n allow an attacker to retrieve the content of the web\n server.\n\n - A JIT compiler vulnerability could allow an attacker to\n execute arbitrary code with the privileges of the\n logged-on user.\");\n # https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2007/ms07-040\n script_set_attribute(attribute:\"see_also\", value:\"https://www.nessus.org/u?14274f59\");\n script_set_attribute(attribute:\"solution\", value:\n\"Microsoft has released a set of patches for .NET Framework 1.0, 1.1\nand 2.0.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C\");\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:\"exploited_by_malware\", value:\"true\");\n script_cwe_id(119, 200);\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2007/04/05\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/07/10\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/07/10\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:microsoft:windows\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/a:microsoft:.net_framework\");\n script_set_attribute(attribute:\"stig_severity\", value:\"II\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(english:\"This script is Copyright (C) 2007-2020 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Windows : Microsoft Bulletins\");\n\n script_dependencies(\"smb_hotfixes.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 exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"smb_func.inc\");\ninclude(\"smb_hotfixes.inc\");\ninclude(\"smb_hotfixes_fcheck.inc\");\ninclude(\"misc_func.inc\");\n\n\n\nget_kb_item_or_exit(\"SMB/MS_Bulletin_Checks/Possible\");\n\nbulletin = 'MS07-040';\nkbs = make_list(\"928365\", \"928367\", \"929729\");\nif (get_kb_item(\"Host/patch_management_checks\")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);\nrootfile = hotfix_get_systemroot();\nif(!rootfile) exit(0);\n\nshare = ereg_replace(pattern:\"^([A-Za-z]):.*\", replace:\"\\1$\", string:rootfile);\ndll10 = ereg_replace(pattern:\"^[A-Za-z]:(.*)\", replace:\"\\1\\Microsoft.Net\\Framework\\v1.1.4322\\System.web.dll\", string:rootfile);\ndll11 = ereg_replace(pattern:\"^[A-Za-z]:(.*)\", replace:\"\\1\\Microsoft.Net\\Framework\\v1.0.3705\\System.web.dll\", string:rootfile);\ndll20 = ereg_replace(pattern:\"^[A-Za-z]:(.*)\", replace:\"\\1\\Microsoft.Net\\Framework\\v2.0.50727\\System.web.dll\", string:rootfile);\n\nlogin\t= kb_smb_login();\npass \t= kb_smb_password();\ndomain \t= kb_smb_domain();\nport = kb_smb_transport();\n\nif(! smb_session_init()) audit(AUDIT_FN_FAIL, \"smb_session_init\");\n\nr = NetUseAdd(login:login, password:pass, domain:domain, share:share);\nif ( r != 1 )\n{\n NetUseDel();\n audit(AUDIT_SHARE_FAIL,share);\n}\n\n\nhandle = CreateFile (file:dll20, desired_access:GENERIC_READ, file_attributes:FILE_ATTRIBUTE_NORMAL, share_mode:FILE_SHARE_READ, create_disposition:OPEN_EXISTING);\ndll = dll20;\n\nif ( isnull(handle) )\n{\n handle = CreateFile (file:dll11, desired_access:GENERIC_READ, file_attributes:FILE_ATTRIBUTE_NORMAL, share_mode:FILE_SHARE_READ, create_disposition:OPEN_EXISTING);\n dll = dll11;\n\n if ( isnull(handle) )\n {\n handle = CreateFile (file:dll10, desired_access:GENERIC_READ, file_attributes:FILE_ATTRIBUTE_NORMAL, share_mode:FILE_SHARE_READ, create_disposition:OPEN_EXISTING);\n dll = dll10;\n }\n}\n\n\n\nif( ! isnull(handle) )\n{\n v = GetFileVersion(handle:handle);\n CloseFile(handle:handle);\n if ( ! isnull(v) )\n {\n # 1.0 SP 3\n if (\n (v[0] == 1 && v[1] == 0 && v[2] < 3705) ||\n (v[0] == 1 && v[1] == 0 && v[2] == 3705 && v[3] < 6060)\n )\n {\n hotfix_add_report('\\nPath : '+share-'$'+':'+dll+\n '\\nVersion : '+join(v, sep:'.')+\n '\\nShould be : 1.0.3705.606\\n',\n bulletin:bulletin,\n kb:'928367');\n set_kb_item(name:\"SMB/Missing/MS07-040\", value:TRUE);\n hotfix_security_hole();\n }\n else if (\n (v[0] == 1 && v[1] == 1 && v[2] < 4322) ||\n (v[0] == 1 && v[1] == 1 && v[2] == 4322 && v[3] < 2407)\n )\n {\n hotfix_add_report('\\nPath : '+share-'$'+':'+dll+\n '\\nVersion : '+join(v, sep:'.')+\n '\\nShould be : 1.1.4322.2407\\n',\n bulletin:bulletin,\n kb:'929729');\n set_kb_item(name:\"SMB/Missing/MS07-040\", value:TRUE);\n hotfix_security_hole();\n }\n # 2.0\n else if(\n (v[0] == 2 && v[1] == 0 && v[2] < 50727 ) ||\n (v[0] == 2 && v[1] == 0 && v[2] == 50727 && v[3] < 832)\n )\n {\n hotfix_add_report('\\nPath : '+share-'$'+':'+dll+\n '\\nVersion : '+join(v, sep:'.')+\n '\\nShould be : 2.0.50727.832\\n',\n bulletin:bulletin,\n kb:'928365');\n set_kb_item(name:\"SMB/Missing/MS07-040\", value:TRUE);\n hotfix_security_hole();\n }\n }\n}\n\nNetUseDel();\n", "cvss": {"score": 9.3, "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C"}}]}