Home > Security Tips > Web Security Advisor > ANI cursor flaw offers lessons in Vista security
Security Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WEB SECURITY ADVISOR

ANI cursor flaw offers lessons in Vista security


Michael Cobb
05.10.2007
Rating: -3.00- (out of 5)


Enterprise IT tips and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Microsoft's recent Windows animated cursor (ANI) vulnerability has elicited a strong reaction from the press, the security industry and Microsoft itself. More specifically, the flaw has caused many to question the security credentials of the new Windows Vista operating system and criticize Microsoft's handling of the patch process. The ANI flaw highlighted how challenging it can be for Microsoft to manage software security, despite its progress in recent years.

The ANI flaw -- officially known in the Common Vulnerabilities and Exposures dictionary as the "Windows Animated Cursor Remote Code Execution Vulnerability" (CVE-2007-0038) -- is caused by a buffer overflow error in a system file called user32.dll. It enables attackers to take advantage of the way that Windows handles Resource Interchange File Format (RIFF)-based animated cursors and icon files (.ani, .cur, and .ico). These files are used to replace the default cursor image with cartoon-like alternatives. By deploying a malformed version of one of these files, an attacker can cause a stack-based buffer overflow, leading to memory corruption. After the memory is corrupted, the attacker can execute arbitrary code and take control of the victim's computer. Attackers also have the option to force persistent reboots and cause a denial of service.

For more information:

Even though there are other Windows vulnerabilities to worry about, the ANI flaw is still on some bloggers' minds. 

Should you wait for Windows Vista SP1 before making an operating system upgrade? Michael Cobb explains.

The browser has become a favorite target for attackers. Find out whether our Web browser security expectations are too high. 
So why the brouhaha? Well, the flaw affects several operating systems, from Windows 2000 all the way up through Vista. Microsoft touts Vista as the most secure version of Windows yet, and that the ANI flaw is an operating system-level vulnerability is a tough blow for the software giant. This means that any application relying on the operating system to handle animated cursor files could be an attack vector. Although Internet Explorer has been the main target, other browsers such as Firefox are also vulnerable, as are some email clients. The vulnerability is especially dangerous because the exploit occurs silently and victims can be attacked merely by visiting a Web page or opening an email designed to take advantage of the flaw.

Microsoft first learned of the ANI cursor problem from a private security research firm in December 2006, and many commentators and industry experts have criticized how long it took the company to release the patch. Before criticizing the software giant, however, it's important to realize that patch engineering is a long, complex process. During the second half of 2006, it took Microsoft an average of 21 days to address a publicly disclosed vulnerability and release a patch, according to Symantec Corp.

This ANI flaw was not made public until March 28, and the appropriate fix was released on April 3rd, six days later. The patch was put out a week ahead of Microsoft's monthly Patch Tuesday software update. The security update didn't just patch the animated cursor vulnerability, either; it addressed seven other problems, ranging from a WMF denial-of-service bug to three elevation-of-privilege flaws. Microsoft's response demonstrates the efforts it will go to once it feels its customers are in danger, which it clearly did once news of the flaw was made public.

Perhaps the bigger issue is whether the ANI flaw is just one of many security shortcomings in the OS. Regardless, Vista isn't doomed, and Microsoft's Security Development Lifecycle hasn't failed. Vista will prove to be more secure than its predecessors, and this single vulnerability hasn't halted Microsoft's drive for better security.

As this is such a dangerous flaw, systems that haven't yet been patched should be shored up as soon as possible. The ANI patch does have some compatibility issues with systems running Realtek's audio software, but there are workarounds posted on Microsoft's site. I would also recommend some security awareness briefings or reminders about safe Internet usage. Users should be reminded not to open emails from unknown senders or follow links to sites embedded in emails or Web advertisements. These topics should of course be covered in your acceptable Internet and email usage policies.

About the author:
Michael Cobb, CISSP-ISSAP is the founder and managing director of Cobweb Applications Ltd., a consultancy that offers IT training and support in data security and analysis. He co-authored the book IIS Security and has written numerous technical articles for leading IT publications. Mike is the guest instructor for several SearchSecurity.com Security Schools and, as a SearchSecurity.com site expert, answers user questions on application security and platform security.

Rate this Tip
To rate tips, you must be a member of SearchSecurity.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Web Security Advisor
PCI compliance and Web applications: Code review or firewalls?
Worst practices: Security incidents to avoid
Web scanning and reporting best practices
Social networking Web site threats manageable with good enterprise policy
Enterprise security in 2008: Building trust into the application development process
PCI DSS Section 6: A plan for tackling application security
Making the case for Web application vulnerability scanners
Preparing for uniform resource identifier (URI) exploits
How to avoid dangling pointers: Tiny programming errors leave serious security vulnerabilities
Java security: Is it getting worse?

Windows Vista Security
Microsoft to issue critical fixes for Windows XP, Windows Server 2003
Microsoft WIL: How to take control of data integrity levels
Microsoft PatchGuard: Locking down the kernel, or locking out security?
Microsoft investigates new Windows zero-day flaw
Researchers warily watch for Microsoft GDI exploits
Microsoft eyes less obtrusive security
Inside MSRC: Microsoft gives guidance on security updates
Microsoft releases April trove of patches
Microsoft plans security fixes for Windows, IE, Office
Free support doesn't lead to new love for Vista SP1

Patch Management
Oracle fixes 41 flaws in April CPU
Researchers warily watch for Microsoft GDI exploits
Oracle preps CPU for 41 flaws
Microsoft releases April trove of patches
Worst practices: Encryption conniptions
Misconfiguration issues could have contributed to Hannaford breach
Misconfigured networks create huge security risks
Researchers trying to exploit latest Microsoft flaws
Microsoft to release critical updates for Windows Vista, IE, Office
Oracle patches serious holes with latest CPU

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
BotHunter  (SearchSecurity.com)
trusted computing  (SearchSecurity.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineWebcastsWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts