Microsoft Visual Studio .rc file buffer overflow

visualstudio-rc-bo (31665) The risk level is classified as HighHigh Risk

Description:

Microsoft Visual Studio is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the RCDLL.DLL module. By creating a specially-crafted .rc resource file with an overly long TYPELIB MOVEABLE PURE filename field, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash, if the attacker could persuade the victim to open, compile, or run the malicious .rc file.

Platforms Affected:

  • Microsoft, Visual Studio 6.0 SP6

Remedy:

No remedy available as of July 4, 2009.

Consequences:

Gain Access

References:

  • BugTraq Mailing List, Mon Jan 22 2007 - 11:35:06 CST , Microsoft Visual C++ (.RC) resource files buffer overflow vulnerability at http://archives.neohapsis.com/archives/bugtraq/2007-01/0486.html.
  • BID-22170: Microsoft Visual C++ Resource File Buffer Overflow Vulnerability
  • CVE-2007-0468: Stack-based buffer overflow in rcdll.dll in msdev.exe in Visual C++ (MSVC) in Microsoft Visual Studio 6.0 SP6 allows user-assisted remote attackers to execute arbitrary code via a long file path in the 1 TYPELIB MOVEABLE PURE option in an RC file.
  • SA23856: Microsoft Visual Studio ".rc" File Handling Buffer Overflow
  • VUPEN/ADV-2007-0296: Microsoft Visual Studio Resource File Handling Client-Side Buffer Overflow Vulnerability

Reported:

Jan 22, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page