Panasonic FPWIN Pro ReleaseBuffer Integer Overflow Out-Of-Bounds Write Remote Code Execution Vulnerability

ID ZDI-16-335
Type zdi
Reporter Steven Seeley of Source Incite
Modified 2016-11-09T00:00:00


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Panasonic FPWIN Pro. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within processing of a project file. A specially-crafted project file will lead to a write beyond the end of a heap buffer in the ReleaseBuffer method of the CString object due to a confusion between signed and unsigned integers in the GetBlockFromStream method of the CSCString object. An attacker can leverage this vulnerability to attain code execution under the context of the current process.