Exploit database

Vulnerability

CVE-2011-10030

Foxit PDF Reader < 4.3.1.0218 JavaScript File Write

Vulnerability details

Score
8.4
Severity
high

CVSS 4.0 · VulnCheck

Vector string

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

Foxit PDF Reader < 4.3.1.0218 exposes a JavaScript API function, createDataObject(), that allows untrusted PDF content to write arbitrary files anywhere on disk. By embedding a malicious PDF that calls this API, an attacker can drop executables or scripts into privileged folders, leading to code execution the next time the system boots or the user logs in.

CVE Program

Exploit source choices

2 sources
Foxit PDF Reader 4.2 Javascript File Write
MSF-windows--fileformat--foxit_reader_filewriteMetasploitWindows / remote

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.

2011-03-05foxit_reader_filewrite.rb