This module exploits an unsafe Javascript API implemented in PDF-XChange Viewer. This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader. 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 app.launchURL method. The issue results from the lack of proper validation of a user-supplied stringbefore using it to execute a system call. An attacker can leverage this vulnerability to execute code under the context of the current process.The launchURL() function allows an attacker to execute local files on the file system and bypass the security dialog.