Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

WordPress Plugin Google Document Embedder Arbitrary File Disclosure

Disclosed
Jan 3, 2013
Created
May 30, 2018

Description

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.

Author

Charlie Eriksen

Platform

PHP

Architectures

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
...show and set options...
msf exploit(wp_google_document_embedder_exec) > 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.