Vulnerability & Exploit Database

Back to search

WordPress Plugin Google Document Embedder Arbitrary File Disclosure

This module exploits an arbitrary file disclosure flaw in the WordPress blogging software plugin known as Google Document Embedder. The vulnerability allows for database credential disclosure via the /libs/pdf.php script. The Google Document Embedder plug-in versions 2.4.6 and below are vulnerable. This exploit only works when the MySQL server is exposed on an accessible IP and WordPress has filesystem write access. Please note: The admin password may get changed if the exploit does not run to the end.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Charlie Eriksen



  • Automatic


  • php


  • php



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/unix/webapp/wp_google_document_embedder_exec msf exploit(wp_google_document_embedder_exec) > show targets ...targets... msf exploit(wp_google_document_embedder_exec) > set TARGET <target-id> msf exploit(wp_google_document_embedder_exec) > show options and set options... msf exploit(wp_google_document_embedder_exec) > exploit