Foxit Reader JavaScript API Arbitrary File Creation or Overwrite Vulnerability

BID:46763

Info

Foxit Reader JavaScript API Arbitrary File Creation or Overwrite Vulnerability

Bugtraq ID: 46763
Class: Unknown
CVE:
Remote: Yes
Local: No
Published: Mar 07 2011 12:00AM
Updated: Mar 15 2011 02:47PM
Credit: Chris Evans (scarybeasts)
Vulnerable: Foxit Reader 4.1.1
Foxit Reader 3.1.1 Build 0928
Foxit Reader 4.1.1.0805
Foxit Reader 4.1
Foxit Reader 4.0
Foxit Foxit Reader 3.2.1 0401
Foxit Foxit Reader 3.2 0303
Foxit Foxit Reader 3.0.2009 .1301
Foxit Foxit Reader 4.3.1.0118
Foxit Foxit Reader 4.2.0.0928
Foxit Foxit Reader 4.1.1.805
Foxit Foxit Reader 4.1.1.0218
Foxit Foxit Reader 3.3.1.0518
Foxit Foxit Reader 3.2
Foxit Foxit Reader 3.1.4.1125
Foxit Foxit Reader 3.0 Build 1817
Foxit Foxit Reader 3.0 Build 1506
Foxit Foxit Reader 3.0
Foxit Foxit Reader 2.3 Build 3902
Foxit Foxit Reader 2.3 build 2923
Foxit Foxit Reader 2.3 build 2825
Foxit Foxit Reader 2.3
Foxit Foxit Reader 2.2
Foxit Foxit 2.0
Not Vulnerable: Foxit Foxit Reader 4.3.1.0218

Discussion

Foxit Reader JavaScript API Arbitrary File Creation or Overwrite Vulnerability

Foxit Reader is prone to a vulnerability that allows attackers to write or overwrite arbitrary files on a vulnerable computer.

An attacker can exploit this issue to create or overwrite arbitrary files on the computer running the affected application. This may aid in further attacks.

Versions prior to Foxit Reader 4.3.1.0218 are vulnerable.

Exploit / POC

Foxit Reader JavaScript API Arbitrary File Creation or Overwrite Vulnerability

The following exampel PDF is available:

%PDF 1 0 obj<</Pages 1 0 R /OpenAction 2 0 R>> 2 0 obj<</S /JavaScript /JS (createDataObject\('c:/pwn','pwn'\))>> trailer<</Root 1 0 R>>

The following Metasploit exploit module is available:

Solution / Fix

Foxit Reader JavaScript API Arbitrary File Creation or Overwrite Vulnerability

Solution:
Updates are available. Please see the references for more information.

References

Foxit Reader JavaScript API Arbitrary File Creation or Overwrite Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report