Rapid7 Vulnerability & Exploit Database

Adobe Reader for Android addJavascriptInterface Exploit

Back to Search

Adobe Reader for Android addJavascriptInterface Exploit

Disclosed
04/13/2014
Created
05/30/2018

Description

Adobe Reader versions less than 11.2.0 exposes insecure native interfaces to untrusted javascript in a PDF. This module embeds the browser exploit from android/webview_addjavascriptinterface into a PDF to get a command shell on vulnerable versions of Reader.

Author(s)

  • Yorick Koster
  • joev <joev@metasploit.com>

Platform

Android

Development

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/android/fileformat/adobe_reader_pdf_js_interface
msf exploit(adobe_reader_pdf_js_interface) > show targets
    ...targets...
msf exploit(adobe_reader_pdf_js_interface) > set TARGET < target-id >
msf exploit(adobe_reader_pdf_js_interface) > show options
    ...show and set options...
msf exploit(adobe_reader_pdf_js_interface) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;