{"vuid":"VU#290961","idnumber":"290961","name":"Microsoft Windows GDI+ ICO InfoHeader Height division by zero vulnerability","keywords":["Microsoft","Windows","GDI+","DoS","denial of service","Integer division by zero","malformed ICO files"],"overview":"Microsoft Windows GDI+ fails to properly handle ICO files, which could allow a remote, unauthenticated attacker to cause a denial-of-service condition.","clean_desc":"Microsoft Windows Graphics Device Interface (GDI+) is an application programming interface (API) that provides programmers the ability to display information on screens and printers. GDI+ includes the ability to process ICO (icon) image files. There is an integer division by zero vulnerability in the way the ICO parsing component of GDI+ (Gdiplus.dll) handles ICO files with a Height value of zero in the InfoHeader section of the ICO file. By introducing a specially crafted ICO file to the vulnerable component, a remote attacker could trigger an integer division by zero denial-of-service condition. Windows Explorer has been shown to be vulnerable, however any application that uses the GDI+ library may be vulnerable.","impact":"A remote, unauthenticated attacker may be able to cause a denial-of-service condition on a vulnerable system by introducing a specially crafted ICO file. The affected application would crash with a \"division by zero\" error. In the case of Windows Explorer, simply having the file on the desktop or any other location that is displayed by Explorer is enough to trigger the vulnerability.","resolution":"We are currently unaware of a practical solution to this problem.","workarounds":"Do not open untrusted files Do not open unfamiliar or unexpected files, particularly those hosted on web sites or delivered as email attachments. It may be possible for a malformed ICO file to be embedded in an executable or other file. Please see Cyber Security Tip ST04-010. Do not follow unsolicited links In order to convince users to visit their sites, attackers often use URL encoding, IP address variations, long URLs, intentional misspellings, and other techniques to create misleading links. Do not click on unsolicited links received in email, instant messages, web forums, or internet relay chat (IRC) channels. Type URLs directly into the browser to avoid these misleading links. While these are generally good security practices, following these behaviors will not prevent exploitation of this vulnerability in all cases, particularly if a trusted site has been compromised or allows cross-site scripting.","sysaffected":"","thanks":"Thanks to Dennis Rand of \nCSIS Security Group\n for reporting this vulnerability.","author":"This document was written by Will Dormann.","public":["http://www.csis.dk/dk/forside/GdiPlus.pdf","http://msdn2.microsoft.com/en-us/library/ms536380.aspx","http://msdn2.microsoft.com/en-us/library/ms997538.aspx"],"cveids":["CVE-2007-2237"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2007-04-18T15:23:22Z","publicdate":"2007-06-06T00:00:00Z","datefirstpublished":"2007-06-06T13:37:16Z","dateupdated":"2007-06-06T14:18:18Z","revision":16,"vrda_d1_directreport":"1","vrda_d1_population":"4","vrda_d1_impact":"3","cam_widelyknown":"20","cam_exploitation":"0","cam_internetinfrastructure":"8","cam_population":"20","cam_impact":"3","cam_easeofexploitation":"16","cam_attackeraccessrequired":"11","cam_scorecurrent":"5.544","cam_scorecurrentwidelyknown":"5.544","cam_scorecurrentwidelyknownexploited":"9.504","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":5.544,"vulnote":null}