Vulnerability Discovered In Microsoft Windows Libraries - InformationWeek

InformationWeek is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Software // Enterprise Applications

Vulnerability Discovered In Microsoft Windows Libraries

The U.S.-CERT is warning about a buffer overflow vulnerability in the MFC42 and MFC71 libraries offered natively in Windows.

The U.S.-CERT is warning users of a vulnerability in Microsoft's Windows libraries that could let a hacker run malicious code on compromised computers.

The security organization posted an online advisory about the buffer overflow vulnerability in the MFC42 and MFC71 libraries offered natively in Windows.

"Specifically, the vulnerability exists due to the "FindFile" function failing to properly validate the length of user supplied input," U.S.-CERT researchers warned. "By passing an overly long argument to the "FindFile" function, an attacker may be able to cause a buffer overflow and execute arbitrary code on an affected system."

Jonathan Sarba, a researcher with the GoodFellas Security Research Team, discovered the flaw. He noted in an online posting that any application that uses the libraries and allows users to manipulate the arguments being passed to the API may be affected.

"The FindFile method allocates memory for the buffer," wrote Sarba. "The buffer then is used to store the contents of the first argument of the function without checking if the argument actually fits in the allocated buffer. This data is in turn used to start a search. Both the unicode and ascii versions of the library use a very similar function and have the same bug, the only real difference is the size of the allocated buffer. The unicode version allocates 592 bytes, and the ascii version, 320 bytes."

The Goodfellas Security site said there is no known workaround for the vulnerability.

In an e-mail response, Christopher Budd, security program manager for Microsoft, told InformationWeek that the company is investigating reports of a possible vulnerability in Microsoft Windows.

"We're currently unaware of any attacks trying to use the claimed vulnerability or of customer impact," he added. "We will take steps to determine how customers can protect themselves should we confirm the vulnerability. Once we're done investigating, we will take appropriate action to help protect customers. This may include providing a security update through the monthly release process, an out-of-cycle update or additional guidance to help customers protect themselves."

Secunia, a Danish research firm, noted in an advisory that the vulnerability is confirmed on a fully-patched Windows XP SP2 including mfc42.dll version 6.2.4131.0 and mfc42u.dll version 6.2.8071.0.

For a workaround, according to Secunia, users would need to restrict access to applications allowing user-controlled input to be passed to the vulnerable function. And applications using the vulnerable library should check the length of the user input before passing it to the affected function.

We welcome your comments on this topic on our social media channels, or [contact us directly] with questions about the site.
Comment  | 
Print  | 
More Insights
2021 Outlook: Tackling Cloud Transformation Choices
Joao-Pierre S. Ruth, Senior Writer,  1/4/2021
Enterprise IT Leaders Face Two Paths to AI
Jessica Davis, Senior Editor, Enterprise Apps,  12/23/2020
10 IT Trends to Watch for in 2021
Cynthia Harvey, Freelance Journalist, InformationWeek,  12/22/2020
White Papers
Register for InformationWeek Newsletters
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you.
Flash Poll