module

Foxit PDF Reader 4.2 Javascript File Write

Disclosed
Mar 5, 2011
Created
May 30, 2018

Description

This module exploits an unsafe Javascript API implemented in Foxit PDF Reader
version 4.2. The createDataObject() Javascript API function allows for writing
arbitrary files to the file system. This issue was fixed in version 4.3.1.0218.

Note: This exploit uses the All Users directory currently, which required
administrator privileges to write to. This means an administrative user has to
open the file to be successful. Kind of lame but thats how it goes sometimes in
the world of file write bugs.

Authors

bannedit [email protected]
Chris Evans

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/windows/fileformat/foxit_reader_filewrite
msf exploit(foxit_reader_filewrite) > show targets
...targets...
msf exploit(foxit_reader_filewrite) > set TARGET < target-id >
msf exploit(foxit_reader_filewrite) > show options
...show and set options...
msf exploit(foxit_reader_filewrite) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.